Statistics
| Branch: | Tag: | Revision:

root / INSTALL @ a2cfdea2

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