Statistics
| Branch: | Tag: | Revision:

root / INSTALL @ 64381ad7

History | View | Annotate | Download (1.8 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 Twisted library (the core is enough)
32 bd785ecd Michael Hanselmann
    http://twistedmatrix.com/
33 bd785ecd Michael Hanselmann
  - Python OpenSSL bindings
34 bd785ecd Michael Hanselmann
    http://pyopenssl.sourceforge.net/
35 319856a9 Michael Hanselmann
  - simplejson Python module
36 319856a9 Michael Hanselmann
    http://www.undefined.org/python/#simplejson
37 a2cfdea2 Iustin Pop
  - pyparsing Python module
38 a2cfdea2 Iustin Pop
    http://pyparsing.wikispaces.com/
39 bd785ecd Michael Hanselmann
40 a7a19281 Iustin Pop
For testing, you also need the YAML module for Python (http://pyyaml.org/).
41 bd785ecd Michael Hanselmann
42 5cd0d9c0 Iustin Pop
For building from source, you also need tar, gzip or bzip2 and make.
43 5cd0d9c0 Iustin Pop
44 bd785ecd Michael Hanselmann
45 bd785ecd Michael Hanselmann
Installation of the software
46 bd785ecd Michael Hanselmann
============================
47 a8083063 Iustin Pop
48 bd205d0e Michael Hanselmann
To install, simply do ``./configure --localstatedir=/var --sysconfdir=/etc && \
49 bd205d0e Michael Hanselmann
make && make install``
50 a8083063 Iustin Pop
51 a8083063 Iustin Pop
This will install the software under /usr/local. You then need to copy
52 1005b0c1 Iustin Pop
ganeti.init to /etc/init.d/ganeti and integrate it into your boot sequence
53 a8083063 Iustin Pop
(``chkconfig``, ``update-rc.d``, etc.).
54 a8083063 Iustin Pop
55 bd785ecd Michael Hanselmann
56 a8083063 Iustin Pop
Cluster initialisation
57 a8083063 Iustin Pop
======================
58 a8083063 Iustin Pop
59 a8083063 Iustin Pop
Before initialising the cluster, on each node you need to create the following
60 a8083063 Iustin Pop
directories:
61 a8083063 Iustin Pop
62 a8083063 Iustin Pop
  - /etc/ganeti
63 1005b0c1 Iustin Pop
  - /srv/ganeti, /srv/ganeti/os, /srv/ganeti/export
64 a8083063 Iustin Pop
65 a8083063 Iustin Pop
After this, use ``gnt-cluster init``.