Viewing RDQM and HA group status
You can view the status of the HA group and of individual replicated data queue managers (RDQMs).
About this task
You use the rdqmstatus command to view the status of individual RDQMs and of the HA group as a whole.
The summary status for a node also displays information about the DRBD kernel module that RDQM relies upon. When you upgrade RDQM, it is important to ensure that the correct version of the DRBD kernel module is installed for the version of RHEL kernel running on the system. The status displays the version of the OS kernel, the kernel version that the DRBD module was built for, the DRBD version, and the DRBD kernel module loaded status.
You must be a user in the mqm
and haclient
groups to run the
rdqmstatus command. You can run the command on any of the three nodes.
Procedure
Example
Node: mqhavm07.exampleco.com
Queue manager status: Running
CPU: 0.00
Memory: 123MB
Queue manager file system: 606MB used, 1.0GB allocated [60%]
HA role: Primary
HA status: Normal
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: eth4
HA floating IP address: 192.0.2.4
Node: mqhavm08.exampleco.com
HA status: Normal
Node: mqhavm09.exampleco.com
HA status: Normal
Node: mqhavm08.exampleco.com
Queue manager status: Running elsewhere
HA role: Secondary
HA status: Normal
HA control: Enabled
HA current location: mqhavm07.exampleco.com
HA preferred location: mqhavm07.exampleco.com
HA blocked location: None
HA floating IP interface: eth4
HA floating IP address: 192.0.2.4
Node: mqhavm07.exampleco.com
HA status: Normal
Node: mqhavm09.exampleco.com
HA status: Normal
Example of status on primary node when synchronization is in progress:
Node: mqhavm07.exampleco.com
Queue manager status: Running
CPU: 0.53
Memory: 124MB
Queue manager file system: 51MB used, 1.0GB allocated [5%]
HA role: Primary
HA status: Synchronization in progress
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: eth4
HA floating IP address: 192.0.2.4
Node: mqhavm08.exampleco.com
HA status: Synchronization in progress
HA synchronization progress: 11.0%
HA estimated time to completion: 2017-09-06 14:55:05
Node: mqhavm09.exampleco.com
HA status: Synchronization in progress
HA synchronization progress: 11.0%
HA estimated time to completion: 2017-09-06 14:55:06
Node: mqhavm07.exampleco.com
Queue manager status: Running
CPU: 0.53
Memory: 124MB
Queue manager file system: 51MB used, 1.0GB allocated [5%]
HA role: Primary
HA status: Mixed
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: eth4
HA floating IP address: 192.0.2.4
Node: mqhavm08.exampleco.com
HA status: Normal
Node: mqhavm09.exampleco.com
HA status: Inconsistent
HA out of sync data: 15932KB
HA last in sync: 2017-09-06 14:55:06
Node: mqhavm07.exampleco.com
Queue manager status: Running
CPU: 0.02
Memory: 124MB
Queue manager file system: 51MB used, 1.0GB allocated [5%]
HA role: Primary
HA status: Mixed
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: eth4
HA floating IP address: 192.0.2.4
Node: mqhavm08.exampleco.com
HA status: Normal
Node: mqhavm09.exampleco.com
HA status: Inconsistent
Node: mqhavm07.exampleco.com
Queue manager status: Running
CPU: 0.00%
Memory: 123MB
Queue manager file system: 606MB used, 1.0GB allocated [60%]
HA role: Primary
HA status: Normal
HA control: Enabled
HA current location: This node
HA preferred location: mqhavm08.exampleco.com
HA blocked location: mqhavm08.exampleco.com
HA floating IP interface: eth4
HA floating IP address: 192.0.2.4
Node: mqhavm08.exampleco.com
HA status: Normal
Node: mqhavm09.exampleco.com
HA status: Normal
Failed resource action: Start
Resource type: Filesystem
Failure node: mqhavm08.exampleco.com
Failure time: 2017-09-06 12:00:00
Failure reason: Couldn't find directory [/var/mqm/vols/qmname] to use as a mount point
Blocked location: mqhavm08.exampleco.com
This
status shows that Pacemaker was unable to start the filesystem on node mqhavm08.exampleco.com at
12:00:00. This failed resource action means that the queue manager is blocked from running on
mqhavm08.exampleco.com. After the underlying issue that caused the failed resource action is
resolved, run the rdqmclean command to clear the failed action so that Pacemaker
can retry the action (if required).Node: mqhavm07.exampleco.com
OS kernel version: 3.10.0-1160.15.2
DRBD OS kernel version: 3.10.0-1127
DRBD version: 9.1.1
DRBD kernel module status: Loaded
Queue manager name: RDQM7
Queue manager status: Running
HA current location: This node
HA preferred location: This node
HA blocked location: None
Unknown
. To resolve this
failure the DRBD kernel module must be updated with the version target for the running OS
kernel.Node: mqhavm57.exampleco.com
OS kernel version: 3.10.0-1160.15.2
DRBD OS kernel version: 3.10.0-957
DRBD version: 9.1.2+ptf.3
DRBD kernel module status: Partially loaded
Queue manager name: QM2
Queue manager status: Running elsewhere
HA status: Unknown
HA current location: mqhavm58.exampleco.com
HA preferred location: This node
HA blocked location: All nodes