INSTALL 1.09 KB
Newer Older
1
2
Software Requirements
=====================
Iustin Pop's avatar
Iustin Pop committed
3
4

Before installing, please verify that you have the following programs:
5
6
7
8
9
10
  - LVM2
    http://sourceware.org/lvm2/
  - OpenSSH
    http://www.openssh.com/portable.html
  - DRBD (kernel module and userspace utils)
    http://www.drbd.org/
Iustin Pop's avatar
Iustin Pop committed
11
  - fping
12
13
14
15
16
17
18
19
20
21
22
    http://fping.sourceforge.net/
  - Python Twisted library (the core is enough)
    http://twistedmatrix.com/
  - Python OpenSSL bindings
    http://pyopenssl.sourceforge.net/

For testing, you also need the YAML module for Python, http://pyyaml.org/.


Installation of the software
============================
Iustin Pop's avatar
Iustin Pop committed
23
24
25
26
27
28
29

To install, simply do ./configure && make && make install

This will install the software under /usr/local. You then need to copy
ganeti.init to /etc/init.d and integrate it into your boot sequence
(``chkconfig``, ``update-rc.d``, etc.).

30

Iustin Pop's avatar
Iustin Pop committed
31
32
33
34
35
36
37
38
39
40
41
42
Cluster initialisation
======================

Before initialising the cluster, on each node you need to create the following
directories:

  - /etc/ganeti
  - /var/log/ganeti
  - /var/lib/ganeti
  - /srv/ganeti and /srv/ganeti/os

After this, use ``gnt-cluster init``.