Statistics
| Branch: | Tag: | Revision:

root / INSTALL @ ff9efc03

History | View | Annotate | Download (1.7 kB)

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