+

Search Tips | Advanced Search

Migrating DR/HA RDQMs

Follow these steps to upgrade all the RDQM nodes in both HA groups in a DR/HA configuration, and so migrate the replicated data queue managers (RDQMs).


About this task

The suggested sequence for upgrading your nodes is to upgrade the HA group at your recovery site, then run your DR/HA queue managers there while you upgrade the HA group at your main site. When both HA groups are upgraded we can restore the original main and recovery roles.


Procedure

Uninstall DR/HA RDQM and IBM MQ and upgrade RDQM and IBM MQ.
  1. Upgrade the HA group on your recovery site (presuming that the DR/HA RDQMs are running on the main site). Complete the following steps on each node in the group in turn.
    1. Log in as root or switch to superuser using the su command.
    2. Suspend the HA group on the node, by entering the following command:
      rdqmadm -s
    3. Install the new level of IBM MQ and dependent software, see Installing RDQM (replicated data queue managers).
    4. Resume the HA group on the node by entering the following command:
      rdqmadm -r
      We can now proceed to the next node in the group.

  2. On the HA group at the main site, either stop your queue managers, or perform a managed failover to the HA group that we have just upgraded on the recovery site.
  3. Upgrade the HA group on your main site. Complete the following steps on each node in the group in turn.
    1. Log in as root or switch to superuser using the su command.
    2. Suspend the HA group on the node, by entering the following command:
      rdqmadm -s
    3. Uninstall IBM MQ (this step also uninstalls RDQM):
      rpm -qa | grep MQSeries | xargs yum -y remove
    4. Uninstall Pacemaker:
      rpm -qa | grep linbit | xargs yum -y remove
    5. Uninstall DRBD:
      rpm -qa | grep drbd | xargs yum -y remove
    6. Install the new level of IBM MQ and dependent software, see Installing RDQM (replicated data queue managers).
    7. Resume the HA group on the node by entering the following command:
      rdqmadm -r
      We can now proceed to the next node in the group.

  4. We can now either start your queue managers (if you previously stopped them) or fail them back over to the main site from the recovery site.

Parent topic: Migrating replicated data queue managers


Related tasks

Last updated: 2020-10-04