Testing the recovery RDQM queue manager

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

  1. Disable the network connection between the main node and the recovery node.
  2. On the recovery node, make the queue manager the primary:
    
    rdqmdr -m QMname -p
    Where QMname is the name of the queue manager.
  3. Start the queue manager:
    
    strmqm QMname
    
  4. Connect applications to the queue manager and test that they work as expected.
  5. End the queue manager:
    
    endmqm QMname
    
  6. Delete the queue manager:
    
    dltmqm QMname
    
  7. Restore the network connection between the main and recovery appliances.
  8. On the main node, run the following command to retrieve the crtmqm command that you used when you first configured disaster recovery.
    rdqmdr -d -m QMname
  9. 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.