2007/8/31, Patrick Caulfield <pcaulfie@xxxxxxxxxx
>:
Claudio Tassini wrote:
> Hi all,
>
> this could sound quite obvious but I really can't find a reference guide
> to cluster.conf parameters. What is the exact meaning of the
> expected_votes cman attribute ? Is it the total number of votes on
> which cman calculates the quorum needing of a member or is it the actual
> number of votes needed by a member to boot?
expected_votes is the total number of votes in a fully functional cluster.
Quorum is calculated from this as (half the number of expected_votes)+1. when
the cluster has fewer than quorum votes then services will stall.
> I'll try to explain: 4-nodes cluster. 1 vote per node. 1 quorum disk
> with 3 votes. expected_votes set to 7 as read in the cluster faq. The
> faq says that every single node should be able to remain in the cluster
> as long as it can reach the quorum, with a total vote count of 4 (3 for
> the quorum, 1 for the node itself), which is claimed to be enough with
> an expected_votes of 7. This is why I'm quite confused... if
> expected_votes is 7, doesn't this mean that the "1 node+qdisk" vote
> count should be 7 to prevent quorum being dissolved?
So, in your system expected_votes is 7, quorum is 4. so any 1 node + the quorum
disk will be a valid cluster. Which sounds sensible :)
Patrick
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
--
Claudio Tassini
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster