-
Iustin Pop authored
Currently, the choice between masterd and conf/queryd is made statically, based on whether a query is converted or not and whether split queries are enabled. This makes it hard to test and develop these new queries, so this patch adds an override for the socket. The choice for going with two hardcoded strings and arbitrary socket fallback is done so that it's easy to use this in virtual clusters as well. Additionally, the patch improves the error message on failed connects when we use arbitrary sockets; before, it always "blamed" confd for non-master sockets. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
055d6ac0
ganeti(7) Ganeti | Version @GANETI_VERSION@
Name
ganeti - cluster-based virtualization management
Synopsis
# gnt-cluster init cluster1.example.com
# gnt-node add node2.example.com
# gnt-instance add -n node2.example.com \
> -o debootstrap --disk 0:size=30g \
> -t plain instance1.example.com
DESCRIPTION
The Ganeti software manages physical nodes and virtual instances of a cluster based on a virtualization software. The current version (2.3) supports Xen 3.x and KVM (72 or above) as hypervisors, and LXC as an experimental hypervisor.
Quick start
First you must install the software on all the cluster nodes, either from sources or (if available) from a package. The next step is to create the initial cluster configuration, using gnt-cluster init.
Then you can add other nodes, or start creating instances.
Cluster architecture
In Ganeti 2.0, the architecture of the cluster is a little more complicated than in 1.2. The cluster is coordinated by a master daemon (ganeti-masterd(8)), running on the master node. Each node runs (as before) a node daemon, and the master has the RAPI daemon running too.
Node roles
Each node can be in one of the following states: