root / README.deploy @ 07d2a738
History | View | Annotate | Download (1.7 kB)
1 |
DEPLOYMENT notes |
---|---|
2 |
================= |
3 |
|
4 |
- Service dependencies |
5 |
|
6 |
* ganeti-0mqd |
7 |
|
8 |
The Ganeti notification daemon must run on the Ganeti master node. |
9 |
|
10 |
Edit all relevant settings in settings.py, GANETI_0MQD_* variables. |
11 |
Then start the server on the Ganeti master. |
12 |
|
13 |
# ./ganeti/ganeti-0mqd.py |
14 |
|
15 |
FIXME: The server must be started from the project root directory. |
16 |
TBD: how to handle master migration. |
17 |
|
18 |
* db_controller |
19 |
|
20 |
db_controller receives notifications from 0mq and updates the DB. |
21 |
|
22 |
For now, db_controller must be run by hand: |
23 |
$ ./db/db_controller.py |
24 |
|
25 |
FIXME. Complete this part. |
26 |
|
27 |
* vncauthproxy |
28 |
|
29 |
To support OOB console access to the VMs over VNC, the vncauthproxy |
30 |
daemon must be running on every Django node. |
31 |
|
32 |
Download and install vncauthproxy from its own repository, |
33 |
at https://code.grnet.gr/git/vncauthproxy (known good commit: 48b1400e). |
34 |
|
35 |
Edit default settings on top of vncauthproxy.py. |
36 |
Set CTRL_SOCKET in util/vapclient.py to point to its control socket. |
37 |
|
38 |
FIXME: The CTRL_SOCKET setting will be moved to settings.py as |
39 |
VNCAUTHPROXY_CTRL_SOCKET. |
40 |
|
41 |
*rabbitmq |
42 |
RabbitMQ is used as a generic message broker for the system. It should |
43 |
be installed on two seperate physical machines (at the moment, |
44 |
performance is not an issue) in a high availability configuration as |
45 |
described here: |
46 |
|
47 |
http://www.rabbitmq.com/pacemaker.html |
48 |
|
49 |
After installation, create a user and set its permissions |
50 |
|
51 |
rabbitmqctl add_user okeanos 0k3@n0s |
52 |
rabbitmqctl set_permissions -p / okeanos "^okeanos-.*" ".*" ".*" |
53 |
|
54 |
(more TBD) |
55 |
|
56 |
- OS Specific instructions |
57 |
|
58 |
* Debian Squeeze |
59 |
|
60 |
TBD. |
61 |
|