Statistics
| Branch: | Tag: | Revision:

root / INSTALL @ a7a19281

History | View | Annotate | Download (1.6 kB)

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