Migrating DR RDQMs
Follow this sequence of steps to upgrade the primary and recovery nodes in a disaster recover replicated data queue manager (DR RDQM) configuration.
About this task
The suggested sequence for upgrading your nodes is to upgrade your recovery node, then run your DR queue managers there while you then upgrade your primary node. When both nodes are upgraded you can restore the original primary and recovery roles.
If we do not require to run your DR queue managers during the upgrade procedure, then we can omit the steps for failing over to the recovery node. We can just stop your DR queue managers and restart them after we have upgraded both nodes.
If you are also running HA RDQMs on either of the nodes, you should deal with these queue managers at the same time by following the instructions in Migrating HA RDQMs.
Procedure
- To upgrade while continuing to run your DR queue managers:
- Upgrade your recovery node:
- Run the uninstall script to uninstall IBM MQ and RDQM.
MQ_INSTALLATION_PATH/Advanced/RDQM/uninstallRDQMsupport- Accept the license for the new version by running the mqlicense script.
- Run the installation script from the /Advanced/RDQM directory of your installation media:
installRDQMsupport- If required, set this installation as the primary IBM MQ installation, using the setmqinst command. See setmqinst (set IBM MQ installation).
- Turn the DR queue managers into secondary instances on your primary node by entering the following commands for each queue manager:
- Stop the queue manager:
endmqm -r QMname- Make the queue manager into a secondary instance:
rdqmdr -m QMname -s- Run the queue managers on the recovery node by completing the following steps:
- Make each queue manager into a primary instance:
rdqmdr -m QMname -p- Start each queue manager:
strmqm qmname- Upgrade the primary node:
- Run the uninstall script to uninstall IBM MQ and RDQM.
MQ_INSTALLATION_PATH/Advanced/RDQM/uninstallRDQMsupport- Accept the license for the new version by running the mqlicense script.
- Run the installation script from the /Advanced/RDQM directory of your installation media:
installRDQMsupport- If required, set this installation as the primary IBM MQ installation, using the setmqinst command. See setmqinst (set IBM MQ installation).
- On the recovery node, make the queue managers into secondary instances once more:
rdqmdr -m QMname -s- On the primary node, make the queue managers into primary instances and start them:
rdqmdr -m QMname -p strmqm qmname- To upgrade while not running your DR queue managers:
- Upgrade your recovery node:
- Run the uninstall script to uninstall IBM MQ and RDQM.
MQ_INSTALLATION_PATH/Advanced/RDQM/uninstallRDQMsupport- Accept the license for the new version by running the mqlicense script.
- Run the installation script from the /Advanced/RDQM directory of your installation media:
installRDQMsupport- If required, set this installation as the primary IBM MQ installation, using the setmqinst command. See setmqinst (set IBM MQ installation).
- Stop each queue manager on your primary node:
endmqm QMname- Upgrade the primary node:
- Run the uninstall script to uninstall IBM MQ and RDQM.
MQ_INSTALLATION_PATH/Advanced/RDQM/uninstallRDQMsupport- Accept the license for the new version by running the mqlicense script.
- Run the installation script from the /Advanced/RDQM directory of your installation media:
installRDQMsupport- If required, set this installation as the primary IBM MQ installation, using the setmqinst command. See setmqinst (set IBM MQ installation).
- Start the queue managers on your primary node:
strmqm qmname