How can I check which cluster node is the master of the quorum disk on Red Hat Enterprise Linux 6?
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,qdiskdwill only report its vote on the master node. (This approach does not apply to non-master_winsconfigurations.).
Note: With older packages (versions beforeclusterlib-3.0.12.1-73.el6andcman-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
-
-
Quorum disk roles are written to
/var/log/messagesfile every time a change occurs in quorum disk membership. Check/var/log/messages:# grep qdisk.*master /var/log/messages*-
example from the master node:
qdiskd[1920]: <info> Assuming master role -
example from a non-master node:
qdiskd[1918]: <info> Node 1 is the master
-
-
Refer to the following to capture additional logging information from the
qdiskddaemon.
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.