Statistics
| Branch: | Tag: | Revision:

root / INSTALL @ bd028152

History | View | Annotate | Download (1.8 kB)

1
Documentation
2
=============
3

    
4
Please note that a more detailed installation procedure is described in the
5
doc/install.html file. A glossary of terms can be found in the doc/admin.html
6
file.
7

    
8

    
9
Software Requirements
10
=====================
11

    
12
Before installing, please verify that you have the following programs:
13
  - Xen virtualization (version 3.0.x or 3.1)
14
    http://xen.xensource.com/
15
  - DRBD (kernel module and userspace utils), version 8.0.7+
16
    http://www.drbd.org/
17
  - LVM2
18
    http://sourceware.org/lvm2/
19
  - OpenSSL
20
    http://www.openssl.org/
21
  - OpenSSH
22
    http://www.openssh.com/portable.html
23
  - bridge utilities
24
    http://bridge.sourceforge.net/
25
  - iproute2
26
    http://developer.osdl.org/dev/iproute2
27
  - arping (part of iputils package)
28
    ftp://ftp.inr.ac.ru/ip-routing/iputils-current.tar.gz
29
  - Python 2.4
30
    http://www.python.org
31
  - Python Twisted library (the core is enough)
32
    http://twistedmatrix.com/
33
  - Python OpenSSL bindings
34
    http://pyopenssl.sourceforge.net/
35
  - simplejson Python module
36
    http://www.undefined.org/python/#simplejson
37
  - pyparsing Python module
38
    http://pyparsing.wikispaces.com/
39

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

    
42
For building from source, you also need tar, gzip or bzip2 and make.
43

    
44

    
45
Installation of the software
46
============================
47

    
48
To install, simply do ``./configure --localstatedir=/var --sysconfdir=/etc && \
49
make && make install``
50

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

    
55

    
56
Cluster initialisation
57
======================
58

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

    
62
  - /etc/ganeti
63
  - /srv/ganeti, /srv/ganeti/os, /srv/ganeti/export
64

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