[Linux-cluster] cman_tool leave does not reduce expected votes.

Yasuhiro Fujii ml at eyes-works.com
Thu Jun 11 01:40:17 UTC 2009


Hi.

I'm testing 3nodes CentOS5.3 cluster.

When 3 nodes joined and one node leaved from cluster,but expected votes
did not reduce.
So when 2 nodes leaved(cman_tool leave),only one node status chaneged to
activity blocked.

How to Activity blocked

3 nodes joined. This is normal.

Version: 6.1.0
Config Version: 1
Cluster Name: cl
Cluster Id: 28318
Cluster Member: Yes
Cluster Generation: 292
Membership state: Cluster-Member
Nodes: 3
Expected votes: 3
Total votes: 3
Quorum: 2

1 node cman_tool leave

Version: 6.1.0
Config Version: 1
Cluster Name: cl
Cluster Id: 28318
Cluster Member: Yes
Cluster Generation: 296
Membership state: Cluster-Member
Nodes: 2
Expected votes: 3
Total votes: 2
Quorum: 2

2 nodes cman_tool leave

Version: 6.1.0
Config Version: 1
Cluster Name: cl
Cluster Id: 28318
Cluster Member: Yes
Cluster Generation: 300
Membership state: Cluster-Member
Nodes: 1
Expected votes: 3
Total votes: 1
Quorum: 2 Activity blocked

I tested cman_tool leave and cman_tool leave remove,but expected votes
did no reduced.

I think a node cman_tool leave is used, expected votes must be reduced 
avoiding to activity blocked.

I know cman_tool expected -e 1 avoids this activity blocked,but
cman_tool leave (remove) should reduce expected votes automatically.

--
cman-2.0.98-1.el5_3.1
openais-0.80.3-22.el5_3.4

-- /etc/cluster/cluster.conf --
<?xml version="1.0"?>
<cluster alias="cl" config_version="1" name="cl">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="cv1" nodeid="1" votes="1"/>
                <clusternode name="cv2" nodeid="2" votes="1"/>
                <clusternode name="cv3" nodeid="3" votes="1"/>
        </clusternodes>
        <cman/>
        <fencedevices/>
        <rm/>
</cluster>




More information about the Linux-cluster mailing list