Both nodes in a two-node cluster race to fence each other even though they are using a quorum device without a heuristic which should enable master_wins in RHEL 6
Issue
- In a 2 node cluster both nodes fenced each other causing a reboot, even though we have a qdisk with
master_winsenabled. - I have a quorum device without any heuristics in a two node cluster, and so I expect
master_winsto be automatically enabled, however both nodes are showing that they have a quorum device vote incman_tool statusoutput:
[root@node1 ~]# cman_tool status
[...]
Expected votes: 3
Quorum device votes: 1
Total votes: 3
Node votes: 1
[...]
[root@node2 ~]# cman_tool status
[...]
Expected votes: 3
Quorum device votes: 1
Total votes: 3
Node votes: 1
[...]
- Both nodes in the cluster raced to fence each other even though I'm using a
master_winsconfiguration
Environment
- Red Hat Enterprise Linux (RHEL) 6 with the High Availability Add On
- A cluster consisting of exactly two nodes
- Cluster utilizing a quorum device (
<quorumd>in/etc/cluster/cluster.conf)- The intended configuration is for
master_winsto be enabled - There are no
<heuristics>specified in/etc/cluster/cluster.conf - The
<quorumd>tag does not specifymaster_wins="1", but rather is left blank with the expectation that it will be auto-enabled - The
<quorumd>tag specifies avotes="<count>"attribute
- The intended configuration is for
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
