root / INSTALL @ bd785ecd
History | View | Annotate | Download (1.1 kB)
1 |
Software Requirements |
---|---|
2 |
===================== |
3 |
|
4 |
Before installing, please verify that you have the following programs: |
5 |
- LVM2 |
6 |
http://sourceware.org/lvm2/ |
7 |
- OpenSSH |
8 |
http://www.openssh.com/portable.html |
9 |
- DRBD (kernel module and userspace utils) |
10 |
http://www.drbd.org/ |
11 |
- fping |
12 |
http://fping.sourceforge.net/ |
13 |
- Python Twisted library (the core is enough) |
14 |
http://twistedmatrix.com/ |
15 |
- Python OpenSSL bindings |
16 |
http://pyopenssl.sourceforge.net/ |
17 |
|
18 |
For testing, you also need the YAML module for Python, http://pyyaml.org/. |
19 |
|
20 |
|
21 |
Installation of the software |
22 |
============================ |
23 |
|
24 |
To install, simply do ./configure && make && make install |
25 |
|
26 |
This will install the software under /usr/local. You then need to copy |
27 |
ganeti.init to /etc/init.d and integrate it into your boot sequence |
28 |
(``chkconfig``, ``update-rc.d``, etc.). |
29 |
|
30 |
|
31 |
Cluster initialisation |
32 |
====================== |
33 |
|
34 |
Before initialising the cluster, on each node you need to create the following |
35 |
directories: |
36 |
|
37 |
- /etc/ganeti |
38 |
- /var/log/ganeti |
39 |
- /var/lib/ganeti |
40 |
- /srv/ganeti and /srv/ganeti/os |
41 |
|
42 |
After this, use ``gnt-cluster init``. |