Hi John,
> I am aware that a two-node cluster is not optimal but it is only for my
> test cluster and I would like to force ganeti to start on both nodes no
> matter if the other second node is not available.
the whole point is: I'm pretty sure, you want luxid and wconfd to run only
on one node, the master node. Having two entities believing they are authoritative
for the the job queue (luxid) or the configuration (wconfd) is a good way
to corrupt your data.
> As far as I understand
> for that purpose I will need to modify the /etc/default/ganeti file to pass
> the right parameter but right now I am confused to the following a) which
> daemon requires a special parameter (--no-voting?) and b) which parameter
> should I pass it?
It's not that easy, as you don't know in advance which node will be the
surviving one of the next failure. The --no-voting option bascially tells
the daemon that you verified manually that this node is the only one
that is part of the cluster and that the other one is gone (e.g., because
you powered it off).
The way you usually operate a two-node cluster is that you leave the default
options and as long as both nodes are healthy, everything is fine.
If the non-master node dies, you go to the master node and offline
the other node. If the master dies, you go to the other node and
do a 'gnt-cluster master-failover --no-voting' and then you offline
the other node. Instead of offlining you could also remove the node
form the cluster, which has the advantage that you have a one-node
cluster then (and on a one-node cluster, your the node's own vote
is a majority).
Should the surviving node be rebooted in the time where your cluster
is degraded to a two-node cluster with only one node live, you start
the central daemons (wconfd, luxid) manually with --no-voting --yes-do-it.