On Wed, Aug 5, 2009 at 10:22 AM, Alain.Moulle<[email protected]> wrote:
> Hello,
>
> I'm a little bit confusing about quorum configuration :
>  there is the have-quorum parameter which is normally
>  managed by the cluster itself.
>    On my configuration, its value is "0"
> But the Pacemaker documentation says :
>    "have-quorum : If false, this may mean that the cluster cannot start
> resources
>    or fence other nodes. "

0 == false

>
> So I guess it is quite mandatory to set have-quorum to "1" , isn't it ?

You can't set it, its a property of the cluster.
Any value you set will be overwritten by the actual quorum state the
cluster has.

>
> So I tried :
> crm_attribute --attr-name have-quorum --attr-value true
> The have-quorum is always "0" in the cib.xml "<cib ..." record
> but in the "<cluster_property_set ..." record , the is a new
> nv-pair :
> <nvpair id="cib-bootstrap-options-have-quorum" name="have-quorum"
> value="true"/>
> so I guess it overloads the <cib ... value for have-quorum ?

No.

> But anyway, what is the best choice for have-quorum for a cluster of
> let's say between 2 and 8 nodes  ?

There is only one way to get quorum, have more than half of the nodes online.
You can look at the no-quorum-policy option though, that affects what
the cluster does when it doesn't have quorum.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to