Original Message:
Sent: Wed February 12, 2025 06:31 AM
From: John Hawkins
Subject: DRROLE(Unknown) - no such documented state
The DR status is saying "this is where the data on the DR site is being replicated from" - correct? Under what circumstances would that not be true - can a DR replica mirror from HA secondary? - I don't see why not but how would this happen - Would this be a deliberate act or automatic that only occurred when the HA primary couldn't reach the DR secondary but could reach it's local HA nodes?
Also - another question is this: I have two QM - QM1 in Dublin#Node1 and QM2 in Paris#Node1.
I assume it would make sense to replicate QM1@Dublin#Node1 to Paris#Node2 and set the HA primary for QM1@Paris to be Node2 and not Paris#Node1 (where QM2 is running in HA). Thus, when QM1@Dublin DRs to Paris it is being started on Paris#Node2 i.e. not Paris#Node1 where QM2 is already running.
Thus in Paris I should be seeing QM1#Node2 as HA primary (running elsewhere) and DR secondary (while it's still in Dublin). When QM1 switches over to Paris#Node2 - QM1 DR status will switch to Primary on Paris#Node2, running.
thus I end up with QM2@Paris#Node1 and QM1@Paris#Node2 all living in harmony.
------------------------------
John Hawkins
Integration Consultant
------------------------------
Original Message:
Sent: Tue February 11, 2025 04:58 AM
From: Alex Chatt
Subject: DRROLE(Unknown) - no such documented state
Hey John,
Just to clear up the HA primary, DR primary status. Having both as primary on one node is expected. It reflects that the node is within the primary site (and its data is being replicated to the DR recovery site), and that the node is the current HA primary, which is replicating its data to the other two HA nodes within its site. You would expect to see this status for the node that is running the queue manager as it is the node where the DRBD device is mounted and writes can be performed.
The first diagram in https://www.ibm.com/docs/en/ibm-mq/9.4?topic=configurations-rdqm-disaster-recovery-high-availability hopefully provides some clarity on this topology. Within this diagram, Node 1 in the Dublin site would be both the HA and DR primary, while Node 1 in the paris site would be the HA primary but the DR secondary. If a DR failover occurred, Node 1 on the Paris site would now become the HA and DR primary and the queue manager would start there.
------------------------------
Alex Chatt
Original Message:
Sent: Mon February 10, 2025 10:37 AM
From: John Hawkins
Subject: DRROLE(Unknown) - no such documented state
I'm taking that this means that, should the DR QM restart over here, then there will be two QM on the same machine. I think this is bad config and the DR primary should be set to one of the other three nodes to spread the load across the nodes should that situation occur - there is only one QM in each region - so two nodes are always free.
------------------------------
John Hawkins
Integration Consultant
Original Message:
Sent: Mon February 10, 2025 07:34 AM
From: Francois Brandelik
Subject: DRROLE(Unknown) - no such documented state
Hi Morag,
Is it expected that on rdqmstatus, both the HA and DR roles show as primary on the same server??
(See John's post)
------------------------------
Francois Brandelik
Original Message:
Sent: Sun February 09, 2025 12:37 AM
From: Morag Hughson
Subject: DRROLE(Unknown) - no such documented state
Hi John,
I think you get one or two extra fields back on rdqmstatus if you run it as root. DR Type might be one of those.
Have you run rqdmstatus on some of the other nodes too, specifically the 3 DR nodes?
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com
Original Message:
Sent: Fri February 07, 2025 04:22 AM
From: John Hawkins
Subject: DRROLE(Unknown) - no such documented state
Thanks Morag, RDQM Status is showing fine:
Node: node1.domain.com
Queue manager status: Running
CPU: 0.20%
Memory: 440MB
Queue manager file system: 2075MB used, 73.7GB allocated [3%]
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: 7001
DR local IP address: 1.2.3.4
DR remote IP address list: 1.2.3.5, 1.2.3.6, 1.2.3.7
DR current remote IP address: 1.2.3.5
Node: node2.domain.com
HA status: Normal
Node: node3.domain.com
HA status: Normal
rdqm.ini (obfuscated IP)
Node:
HA_Replication=1.2.3.4 (this node)
# HA_Primary=
# HA_Alternate=
# DR_Replication=
Node:
HA_Replication=1.2.3.9
# HA_Primary=
# HA_Alternate=
# DR_Replication=
Node:
HA_Replication=1.2.3.10
# HA_Primary=
# HA_Alternate=
# DR_Replication=
#DRGroup:
# Name=
# DR_Replication=
# DR_Replication=
# DR_Replication=
I've also just realised that it's not showing the DR Type either - is that in a file somewhere I can check it manually??
dspmq still shows unknown status - ah well !
thanks Morag :-)
------------------------------
John Hawkins
Integration Consultant
Original Message:
Sent: Thu February 06, 2025 09:17 PM
From: Morag Hughson
Subject: DRROLE(Unknown) - no such documented state
Hi John,
If this is an RDQM HA/DR queue manager then if you don't specify the DR_Replication interface then the HA_Replication interface is used locally for what the DR_Replication address would have been used for.
Your rdqm.ini file should have contents something like this for an RDQM HA/DR Queue Manager.
Node: Name=gemlnxa1 HA_Replication=192.168.1.120Node: Name=gemlnxa2 HA_Replication=192.168.1.121Node: Name=gemlnxa3 HA_Replication=192.168.1.122DRGroup: Name=MQGem DR_Replication=192.168.1.130 DR_Replication=192.168.1.131 DR_Replication=192.168.1.132
Perhaps you can show us what yours looks like?
What do you see when you issue a command like the following?
rqdmstatus -m MQG1
You've got 6 machines involved here, so it might be worth issuing this command on each of them to understand what is setup correctly and what isn't.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com