You can test that the recovery instance of a queue manager in an RDQM disaster recovery
configuration is operating correctly without disrupting the main site.
About this task
You test the recovery queue manager by disabling the interface between main and recovery nodes.
You make the secondary queue manager into the primary and can then test the stand-alone queue
manager. After testing is complete, you restore the interface and delete the test queue manager. You
then re-create the queue manager as the secondary queue manager in the disaster recovery
configuration.
Procedure
-
Disable the network connection between the main node and the recovery node.
-
On the recovery node, make the queue manager the primary:
rdqmdr -m QMname -p
Where
QMname is the name of
the queue manager.
-
Start the queue manager:
-
Connect applications to the queue manager and test that they work as expected.
-
End the queue manager:
-
Delete the queue manager:
-
Restore the network connection between the main and recovery appliances.
-
On the main node, run the following command to retrieve the crtmqm command
that you used when you first configured disaster recovery.
- Run the resulting crtmqm command on the recovery node to recreate the
secondary queue manager. The primary queue manager on the main node synchronizes its data with the
secondary queue manager to bring it up to date.