159 |
159 |
otherwise python imports will not work. Therefore, do not change the
|
160 |
160 |
or rename the checkout path.
|
161 |
161 |
|
|
162 |
|
162 |
163 |
5. Database installation:
|
163 |
164 |
A database supported by the Django ORM layer must be installed on nodes
|
164 |
165 |
of type DB. The choices are: SQLIte, MySQL, PostgreSQL.
|
... | ... | |
306 |
307 |
9. Installation of the Ganeti monitoring daemon, /ganeti/snf-ganeti-eventd:
|
307 |
308 |
The Ganeti monitoring daemon must run on GANETI-MASTER.
|
308 |
309 |
The Ganeti monitoring daemon has no dependency on Django.
|
309 |
|
|
|
310 |
|
310 |
311 |
Override all relevant settings in settings.d/99-snf-ganeti-eventd.conf,
|
311 |
312 |
GANETI_* variables.
|
312 |
313 |
Then, make sure PYTHONPATH contains the parent of the Django project,
|
... | ... | |
363 |
364 |
Download and install vncauthproxy from its own repository,
|
364 |
365 |
at https://code.grnet.gr/git/vncauthproxy (known good commit: 1c241b27b81).
|
365 |
366 |
|
|
367 |
Download and install a specific repository commit:
|
|
368 |
|
|
369 |
$ bin/pip install -e git+https://code.grnet.gr/git/vncauthproxy@INSERT_COMMIT_HERE#egg=vncauthproxy
|
|
370 |
|
366 |
371 |
Create /var/log/vncauthproxy and set its permissions appropriately.
|
367 |
372 |
|
|
373 |
Alternatively, you can build Debian packages. To do so,
|
|
374 |
checkout the "debian" branch of the vncauthproxy repository
|
|
375 |
(known good commit:39f9b7047c):
|
|
376 |
|
|
377 |
$ git checkout debian
|
|
378 |
|
|
379 |
Then build debian package, and install as root:
|
|
380 |
|
|
381 |
$ dpkg-buildpackage -b -uc -us
|
|
382 |
# dpkg -i ../vncauthproxy_1.0-1_all.deb
|
|
383 |
|
368 |
384 |
|
369 |
385 |
13. Installation of the customized Ganeti Instance Image for image deployment:
|
370 |
386 |
For Synnefo to be able to launch VMs from specified Images, you need
|