Removing maintenance level updates for RDQM
There are different procedures for removing maintenance level updates to a high availability (HA) configuration, a disaster recovery (DR) configuration, or a combined DR/HA configuration.
About this task
For RDQM HA configurations, complete the steps on each node in the HA group in turn. Processing can then continue on other the other nodes in the group while the update is in progress.
Procedure
-
To remove maintenance level updates for HA RDQM:
-
Log in as root, or with sufficient authority to run the following commands.
You can do this by adding sudo before the commands, or by changing to the root user in the shell with the su command. For more information, see Exploring the differences between sudo and su commands in Linux®.
-
Suspend the HA group on the node, by entering the following command:
rdqmadm -s -
Remove the Fix Pack using the procedure for removing maintenance level updates on Linux using RPM, see Reverting to the previous maintenance level on Linux using RPM. For example, to remove the 9.2.0.1
Fix Pack:
rpm -qa | grep MQSeries.*-U9201-9.2.0-1.x86_64 | xargs yum -y remove -
Resume the node:
rdqmadm -r
Proceed to the next node in the HA group and repeat the procedure. -
Log in as root, or with sufficient authority to run the following commands.
-
To remove maintenance level updates for DR RDQM:
-
Remove maintenance level updates to the DR secondary node:
- Log in as root, or with sufficient authority to run the following commands.
- Remove the Fix Pack using the procedure for removing maintenance level updates on Linux using RPM, see Reverting to the previous maintenance level on Linux using RPM. For example, to remove the 9.2.0.1
Fix
Pack:
rpm -qa | grep MQSeries.*-U9201-9.2.0-1.x86_64 | xargs yum -y remove
-
On the DR primary node, complete 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.
-
Remove maintenance level updates to the DR primary node:
- Log in as root, or with sufficient authority to run the following commands.
- Remove the Fix Pack using the procedure for removing maintenance level updates on Linux using RPM, see Reverting to the previous maintenance level on Linux using RPM. For example, to remove the 9.2.0.1
Fix
Pack:
rpm -qa | grep MQSeries.*-U9201-9.2.0-1.x86_64 | xargs yum -y remove
-
On the DR primary node, complete one of the following steps:
- Start the DR queue managers, or
- Perform a managed failover of the DR queue managers to the DR primary node.
-
Remove maintenance level updates to the DR secondary node:
-
To remove maintenance level updates for DR/HA RDQM
-
Remove maintenance from the HA group on your recovery site. Complete the following steps on
each node in the group in turn:
- Log in as root, or with sufficient authority to run the following commands.
- Suspend the HA group on the node, by entering the following
command:
rdqmadm -s - Remove the Fix Pack using the procedure for removing maintenance level updates on Linux using RPM, see Reverting to the previous maintenance level on Linux using RPM. For example, to remove the 9.2.0.1
Fix
Pack:
rpm -qa | grep MQSeries.*-U9201-9.2.0-1.x86_64 | xargs yum -y remove - Resume the node:
rdqmadm -r
-
Remove maintenance from the HA group on your main site. Complete the following steps on each
node in the group in turn.
- Log in as root, or with sufficient authority to run the following commands.
- Suspend the HA group on the node, by entering the following
command:
rdqmadm -s - Remove the Fix Pack using the procedure for removing maintenance level updates on Linux using RPM, see Reverting to the previous maintenance level on Linux using RPM. For example, to remove the 9.2.0.1
Fix
Pack:
rpm -qa | grep MQSeries.*-U9201-9.2.0-1.x86_64 | xargs yum -y remove - Resume the node:
rdqmadm -r
-
Remove maintenance from the HA group on your recovery site. Complete the following steps on
each node in the group in turn: