![]()
Uninstalling RDQM (replicated data queue managers) and upgrading
How to uninstall RDQM in preparation for upgrading IBM MQ and RDQM.
About this task
There are different procedures for uninstalling and then upgrading a high availability (HA) configuration, a disaster recovery (DR) configuration, or a combined DR/HA configuration.
For HA configurations, complete steps on each node in the HA group in turn. Processing can continue on other nodes while this is in progress.
For all configurations, if the upgrade is to a level of IBM MQ that is at a higher command level then, after a queue manager has been started at the higher level, it cannot run on a node that has not yet been upgraded. We should plan the sequence of upgrades accordingly.
Procedure
- Uninstall HA RDQM support and upgrade RDQM and IBM MQ.
- Suspend the HA group on the node, by entering the following command:
rdqmadm -s- Log in as root or switch to superuser using the su command.
- Uninstall IBM MQ (this step also uninstalls RDQM):
rpm -qa | grep MQSeries | xargs yum -y remove- Uninstall Pacemaker:
rpm -qa | grep linbit | xargs yum -y remove- Uninstall DRBD:
rpm -qa | grep drbd | xargs yum -y remove- Install the new level of IBM MQ and dependent software, see Installing RDQM (replicated data queue managers).
- Resume the HA group on the node by entering the following command:
rdqmadm -rWe can now proceed to the next node in the group.
- Uninstall DR RDQM and IBM MQ and upgrade RDQM and IBM MQ.
- Upgrade the DR secondary node:
- Log in as root or switch to superuser using the su command.
- Uninstall IBM MQ (this step also uninstalls RDQM):
rpm -qa | grep MQSeries | xargs yum -y remove- Uninstall Pacemaker:
rpm -qa | grep linbit | xargs yum -y remove- Uninstall DRBD:
rpm -qa | grep drbd | xargs yum -y remove- Install the new levels of IBM MQ and RDQM, see Installing RDQM (replicated data queue managers).
- On the DR primary node, do one of the following steps:
- End the DR queue managers, or
- Perform a managed failover of the DR queue managers to the DR secondary node.
- Upgrade the DR primary node:
- Log in as root or switch to superuser using the su command.
- Uninstall IBM MQ (this step also uninstalls RDQM):
rpm -qa | grep MQSeries | xargs yum -y remove- Uninstall Pacemaker:
rpm -qa | grep linbit | xargs yum -y remove- Uninstall DRBD:
rpm -qa | grep drbd | xargs yum -y remove- Install the new levels of IBM MQ and RDQM, see Installing RDQM (replicated data queue managers).
- On the DR primary node, do one of the following steps:
- Start the DR queue managers (if you previously ended them), or
- Perform a managed failover of the DR queue managers back to the DR primary node.
- Uninstall DR/HA RDQM and IBM MQ and upgrade RDQM and IBM MQ.
- 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.
- Log in as root or switch to superuser using the su command.
- Suspend the HA group on the node, by entering the following command:
rdqmadm -s- Install the new level of IBM MQ and dependent software, see Installing RDQM (replicated data queue managers).
- Resume the HA group on the node by entering the following command:
rdqmadm -rWe can now proceed to the next node in the group.
- 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.
- Upgrade the HA group on your main site. Complete the following steps on each node in the group in turn.
- Log in as root or switch to superuser using the su command.
- Suspend the HA group on the node, by entering the following command:
rdqmadm -s- Uninstall IBM MQ (this step also uninstalls RDQM):
rpm -qa | grep MQSeries | xargs yum -y remove- Uninstall Pacemaker:
rpm -qa | grep linbit | xargs yum -y remove- Uninstall DRBD:
rpm -qa | grep drbd | xargs yum -y remove- Install the new level of IBM MQ and dependent software, see Installing RDQM (replicated data queue managers).
- Resume the HA group on the node by entering the following command:
rdqmadm -rWe can now proceed to the next node in the group.
- 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:
Installing RDQM (replicated data queue managers)
Related information