root / INSTALL @ a8a76bc2
History | View | Annotate | Download (1.7 kB)
1 |
Documentation |
---|---|
2 |
============= |
3 |
|
4 |
Please note that a more detailed installation procedure is described in the |
5 |
doc/install.html file. A glossary of terms can be found in the doc/admin.html |
6 |
file. |
7 |
|
8 |
|
9 |
Software Requirements |
10 |
===================== |
11 |
|
12 |
Before installing, please verify that you have the following programs: |
13 |
- Xen virtualization (version 3.0.x or 3.1) |
14 |
http://xen.xensource.com/ |
15 |
- DRBD (kernel module and userspace utils), version 8.0.7+ |
16 |
http://www.drbd.org/ |
17 |
- LVM2 |
18 |
http://sourceware.org/lvm2/ |
19 |
- OpenSSL |
20 |
http://www.openssl.org/ |
21 |
- OpenSSH |
22 |
http://www.openssh.com/portable.html |
23 |
- bridge utilities |
24 |
http://bridge.sourceforge.net/ |
25 |
- iproute2 |
26 |
http://developer.osdl.org/dev/iproute2 |
27 |
- arping (part of iputils package) |
28 |
ftp://ftp.inr.ac.ru/ip-routing/iputils-current.tar.gz |
29 |
- Python 2.4 |
30 |
http://www.python.org |
31 |
- Python OpenSSL bindings |
32 |
http://pyopenssl.sourceforge.net/ |
33 |
- simplejson Python module |
34 |
http://www.undefined.org/python/#simplejson |
35 |
- pyparsing Python module |
36 |
http://pyparsing.wikispaces.com/ |
37 |
|
38 |
For building from source, you also need tar, gzip or bzip2 and make. |
39 |
|
40 |
|
41 |
Installation of the software |
42 |
============================ |
43 |
|
44 |
To install, simply do ``./configure --localstatedir=/var --sysconfdir=/etc && \ |
45 |
make && make install`` |
46 |
|
47 |
This will install the software under /usr/local. You then need to copy |
48 |
ganeti.init to /etc/init.d/ganeti and integrate it into your boot sequence |
49 |
(``chkconfig``, ``update-rc.d``, etc.). |
50 |
|
51 |
|
52 |
Cluster initialisation |
53 |
====================== |
54 |
|
55 |
Before initialising the cluster, on each node you need to create the following |
56 |
directories: |
57 |
|
58 |
- /etc/ganeti |
59 |
- /var/lib/ganeti, /var/log/ganeti |
60 |
- /srv/ganeti, /srv/ganeti/os, /srv/ganeti/export |
61 |
|
62 |
After this, use ``gnt-cluster init``. |