root / INSTALL @ 1005b0c1
History | View | Annotate | Download (1.6 kB)
1 |
Software Requirements |
---|---|
2 |
===================== |
3 |
|
4 |
Before installing, please verify that you have the following programs: |
5 |
- Xen virtualization (version 3.0.x or 3.1) |
6 |
http://xen.xensource.com/ |
7 |
- DRBD (kernel module and userspace utils) |
8 |
http://www.drbd.org/ |
9 |
- LVM2 |
10 |
http://sourceware.org/lvm2/ |
11 |
- OpenSSL |
12 |
http://www.openssl.org/ |
13 |
- OpenSSH |
14 |
http://www.openssh.com/portable.html |
15 |
- bridge utilities |
16 |
http://bridge.sourceforge.net/ |
17 |
- fping |
18 |
http://fping.sourceforge.net/ |
19 |
- iproute2 |
20 |
http://developer.osdl.org/dev/iproute2 |
21 |
- arping (part of iputils package) |
22 |
ftp://ftp.inr.ac.ru/ip-routing/iputils-current.tar.gz |
23 |
- mdadm (Linux Software Raid tools) |
24 |
http://www.kernel.org/pub/linux/utils/raid/mdadm/ |
25 |
- Python 2.4 |
26 |
http://www.python.org |
27 |
- Python Twisted library (the core is enough) |
28 |
http://twistedmatrix.com/ |
29 |
- Python OpenSSL bindings |
30 |
http://pyopenssl.sourceforge.net/ |
31 |
|
32 |
For testing, you also need the YAML module for Python (http://pyyaml.org/). |
33 |
|
34 |
|
35 |
Installation of the software |
36 |
============================ |
37 |
|
38 |
To install, simply do ``./configure --localstatedir=/var && make && make install`` |
39 |
|
40 |
This will install the software under /usr/local. You then need to copy |
41 |
ganeti.init to /etc/init.d/ganeti and integrate it into your boot sequence |
42 |
(``chkconfig``, ``update-rc.d``, etc.). |
43 |
|
44 |
More details about the installation process are in the docs/installing.pdf file. |
45 |
|
46 |
|
47 |
Cluster initialisation |
48 |
====================== |
49 |
|
50 |
Before initialising the cluster, on each node you need to create the following |
51 |
directories: |
52 |
|
53 |
- /etc/ganeti |
54 |
- /srv/ganeti, /srv/ganeti/os, /srv/ganeti/export |
55 |
|
56 |
After this, use ``gnt-cluster init``. |