[Linux-cluster] qdiskd vote not represented by cman

danwest danwest at comcast.net
Thu Oct 5 19:35:14 UTC 2006


Shouldn’t we expect to see the qdisk votes reported in “Total_votes”
from cman (see cman_tool below).  If we have four nodes with 1 vote each
and a qdisk configured with 1 vote (see cluster.conf snippet below)
shouldn’t we see a total vote count of 5?  With the qdisk config shown
below I would expect to be able to sustain a loss of 2 out of 4 nodes
and still have quorum but in fact the loss of 2 nodes dissolves quorum
every time, effectively locking the cluster.

 

Thanks,

 Dan

 

Node4:~ # cman_tool status

Protocol version: 5.0.1

Config version: 28

Cluster name: testcluster

Cluster ID: 26387

Cluster Member: Yes

Membership state: Cluster-Member

Nodes: 4

Expected_votes: 4

Total_votes: 4

Quorum: 3

Active subsystems: 8

Node name: node4

Node addresses: X.X.X.X

 

<clusternodes>

                <clusternode name="node1" votes="1" nodeid="1">

                        <fence>

                                <method name="single">

                                        <device name="blade_enclosure"
blade="1"/>

                                </method>

                        </fence>

                </clusternode>

                <clusternode name="node2" votes="1" nodeid="2">

                        <fence>

                                <method name="single">

                                        <device name="blade_enclosure"
blade="2"/>

                                </method>

                        </fence>

                </clusternode>

                <clusternode name="node3" votes="1" nodeid="3">

                        <fence>

                                <method name="single">

                                        <device name="blade_enclosure"
blade="3"/>

                                </method>

                        </fence>

                </clusternode>

                <clusternode name="node4" votes="1" nodeid="4">

                        <fence>

                                <method name="single">

                                        <device name="blade_enclosure"
blade="4"/>

                                </method>

                        </fence>

                </clusternode>

        </clusternodes>

        <cman expected_votes="4">

        </cman>

       <quorumd interval="1" tko="15" votes="1"
device="/dev/disk/by-name/360060480000190020528565454444341"

          status_file="/var/log/qdisk_status" log_level="7">

                <heuristic program="ping X.X.X.X -c1 -t1" score="1"
interval="2"/>

                <heuristic program="[ -d / ]" score="2" interval="2"/>

      </quorumd>

 

 




More information about the Linux-cluster mailing list