Viewing DR/HA RDQM and HA group status
You can view the HA status and DR role of DR/HA replicated data queue managers (RDQMs).
About this task
You use the rdqmstatus command to view the status of individual RDQMs or get an overview of the status of all the RDQMs known to the HA group.
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.
rdqmstatus -m qmgr
command in a
combined HA/DR configuration.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 nodes in either of the
HA groups.
Procedure
Example
Example of normal status on a node that is the DR primary and HA primary:
Node: main-alice
Queue manager status: Running
CPU: 0.00%
Memory: 123MB
Queue manager file system: 51MB used, 1.0GB allocated [5%]
HA role: Primary
HA status: Normal
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: None
HA floating IP address: None
DR role: Primary
DR status: Normal
DR port: 3000
DR local IP address: 192.168.1.1
DR remote IP address list: 192.168.2.1,192.168.2.2,192.168.2.3
DR current remote IP address: 192.168.2.1
Node: main-bob
HA status: Normal
Node: main-charlie
HA status: Normal
Node: main-bob
Queue manager status: Running elsewhere
HA role: Secondary
HA status: Normal
HA control: Enabled
HA current location: main-alice
HA preferred location: main-alice
HA blocked location: None
HA floating IP interface: None
HA floating IP address: None
DR role: Primary
DR status: See main-alice
DR port: 3000
DR local IP address: 192.168.1.2
DR remote IP address list: 192.168.2.1,192.168.2.2,192.168.2.3
DR current remote IP address: See main-alice
Node: main-alice
HA status: Normal
Node: main-charlie
HA status: Normal
Node: dr-alice
Queue manager status: Ended immediately
HA role: Primary
HA status: Normal
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: None
HA floating IP address: None
DR role: Secondary
DR status: Normal
DR port: 3000
DR local IP address: 192.168.2.1
DR remote IP address list: 192.168.1.1,192.168.1.2,192.168.1.3
DR current remote IP address: 192.168.1.1
Node: dr-bob
HA status: Normal
Node: dr-charlie
HA status: Normal
Node: dr-bob
Queue manager status: Ended immediately
HA role: Secondary
HA status: Normal
HA control: Enabled
HA current location: dr-alice
HA preferred location: dr-alice
HA blocked location: None
HA floating IP interface: None
HA floating IP address: None
DR role: Secondary
DR status: See dr-alice
DR port: 3000
DR local IP address: 192.168.2.2
DR remote IP address list: 192.168.1.1,192.168.1.2,192.168.1.3
DR current remote IP address: See dr-alice
Node: dr-alice
HA status: Normal
Node: dr-charlie
HA status: Normal
Node: main-alice
Queue manager status: Running
CPU: 0.00%
Memory: 123MB
Queue manager file system: 51MB used, 1.0GB allocated [5%]
HA role: Primary
HA status: Normal
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: None
HA floating IP address: None
DR role: Primary
DR status: Normal
DR port: 3000
DR local IP address: 192.168.1.1
DR remote IP address list: 192.168.2.1,192.168.2.2,192.168.2.3
DR current remote IP address: 192.168.2.1
DR synchronization progress: 11.0%
DR estimated time to completion: 2018-09-06 14:55:05
Node: main-bob
HA status: Normal
Node: main-charlie
HA status: Normal
Node: main-alice
Queue manager status: Running
CPU: 0.00%
Memory: 123MB
Queue manager file system: 51MB used, 1.0GB allocated [5%]
HA role: Primary
HA status: Normal
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: None
HA floating IP address: None
DR role: Primary
DR status: Partitioned
DR port: 3000
DR local IP address: 192.168.1.1
DR remote IP address list: 192.168.2.1,192.168.2.2,192.168.2.3
DR current remote IP address: 192.168.2.1
DR out of sync data: 372KB
Node: main-bob
HA status: Normal
Node: main-charlie
HA status: Normal
Node: main-alice
Queue manager status: Running
CPU: 0.00%
Memory: 123MB
Queue manager file system: 51MB used, 1.0GB allocated [5%]
HA role: Primary
HA status: Normal
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: None
HA floating IP address: None
DR role: Primary
DR status: Remote unavailable
DR port: 3000
DR local IP address: 192.168.1.1
DR remote IP address list: 192.168.2.1,192.168.2.2,192.168.2.3
DR current remote IP address: Unknown
DR out of sync data: 372KB
DR last in sync: 2020-02-02 20:22:02
Node: main-bob
HA status: Normal
Node: main-charlie
HA status: Normal
Node: main-alice
Queue manager status: Running
CPU: 0.00%
Memory: 123MB
Queue manager file system: 51MB used, 1.0GB allocated [5%]
HA role: Primary
HA status: Normal
HA control: Enabled
HA current location: This node
HA preferred location: This node
HA blocked location: None
HA floating IP interface: None
HA floating IP address: None
DR role: Primary
DR status: Normal
DR port: 3000
DR local IP address: 192.168.1.1
DR remote IP address list: 192.168.2.1,192.168.2.2,192.168.2.3
DR current remote IP address: 192.168.2.1
Node: main-bob
HA status: Inconsistent
HA out of sync data: 15932KB
HA last in sync: 2020-02-02 20:22:02
Node: main-charlie
HA status: Normal
Node: main-alice
OS kernel version: 5.14.0-362.18.1
DRBD OS kernel version: 5.14.0-284.11.1
DRBD version: 9.2.7+ptf.14
DRBD kernel module status: Loaded
Queue manager name: QM1
Queue manager status: Running
HA current location: This node
HA preferred location: This node
HA blocked location: None
DR role: Primary
Node: main-alice
OS kernel version: 5.14.0-362.18.1
DRBD OS kernel version: 5.14.0-70.13.1
DRBD version: 9.2.7+ptf.14
DRBD kernel module status: Partially loaded
Queue manager name: QM1
Queue manager status: Running elsewhere
HA status: Unknown
HA current location: main-bob
HA preferred location: This node
HA blocked location: None
DR role: Primary
DR status: Unknown