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

Solution Unverified - Updated -

Issue

  • In a 2 node cluster both nodes fenced each other causing a reboot, even though we have a qdisk with master_wins enabled.
  • I have a quorum device without any heuristics in a two node cluster, and so I expect master_wins to be automatically enabled, however both nodes are showing that they have a quorum device vote in cman_tool status output:
[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_wins configuration

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_wins to be enabled
    • There are no <heuristics> specified in /etc/cluster/cluster.conf
    • The <quorumd> tag does not specify master_wins="1", but rather is left blank with the expectation that it will be auto-enabled
    • The <quorumd> tag specifies a votes="<count>" attribute

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.