How can I check which cluster node is the master of the quorum disk on Red Hat Enterprise Linux 6?

Solution Unverified - Updated

Environment

  • Red Hat Enterprise Linux Server 6 (with the High Availability or Resilient Storage Add Ons)

Red Hat Enterprise Linux 5 can be found here: How can I check which cluster node is the master of the quorum disk on Red Hat Enterprise Linux 5?

Issue

  • I want to check periodically the status of the Quorum Disk Roles.
  • How can I check the Master Role of the quorum disk?
  • How to know which node has the qdisk master role in RHEL6 cluster?

Resolution

There are various approaches to determining the quorum disk master. The following are listed in order of decreasing ease of use:

  • In a master_wins quorum disk configuration, check the output of cman_tool status. The quorum disk daemon, qdiskd will only report its vote on the master node. (This approach does not apply to non-master_wins configurations.).
    Note: With older packages (versions before clusterlib-3.0.12.1-73.el6 and cman-3.0.12.1-73.el6) using some configurations this may be reported incorrectly. Please check Solution 888123 for more information.

      # cman_tool status |grep votes
    
    • example from the master node:

        # cman_tool status |grep votes
        Expected votes: 3
        Quorum device votes: 1 <----
        Total votes: 3
        Node votes: 1
      
    • example from the non-master node:

        # cman_tool status |grep votes
        Expected votes: 3
        Quorum device votes: 0 <----
        Total votes: 2
        Node votes: 1
      
SBR
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.