Skip to content
Snippets Groups Projects
INSTALL 1.09 KiB
Newer Older
Software Requirements
=====================
Iustin Pop's avatar
Iustin Pop committed

Before installing, please verify that you have the following programs:
  - 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
  - fping
    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

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.).

Iustin Pop's avatar
Iustin Pop committed
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``.