Uninstalling RDQM (replicated data queue managers)

We can uninstall RDQM by using the supplied uninstallation scripts.


Before you uninstall HA RDQM, you must first suspend the HA group, or remove it from the node altogether.

Attention: If you are uninstalling the RDQM support in order to revert to an earlier level, ensure that the installation media for the earlier level is available before proceeding. An uninstallation script is supplied in the root directory of the installation image, you must run the script as root:

    uninstallRDQMsupport
    By default, uninstalls the MQSeries Runtime, Server, Samples, Client and RDQM RPM packages along with the DRBD and Pacemaker RPM packages. We can edit the script, if required. If we do not ant to uninstall IBM MQ when the script is run comment out the line:
    yum -y remove $MQ_DEPENDENCIES $RDQM_PACKAGES $ADDITIONAL_MQ_PACKAGES

A script for undoing the firewall configuration is supplied in the IBM MQ samples directory, you must run the script as root:

    MQ_INSTALLATION_PATH/samp/rdqm/firewalld/unconfigure.sh

    Removes firewallD service rules for DRBD, Pacemaker and IBM MQ.


Procedure

  • To uninstall HA RDQM support, on each node:
    1. Suspend or delete the HA group. To suspend the HA group on the node, enter the following command:
      rdqmadm -s
      To delete the HA group from the node, enter the following command:
      rdqmadm -u
    2. Run the script MQ_INSTALLATION_PATH/samp/rdqm/firewalld/unconfigure.sh to undo the firewall configuration.
    3. Run the script uninstallRDQMsupport to uninstall IBM MQ, RDQM support, DRBD, and Pacemaker.
  • To uninstall DR RDMQ support:
    1. Back up the queue manager running on the primary node, see Backing up and restoring IBM queue manager data.
    2. Delete the queue manager on both the primary and secondary nodes, see Delete a DR RDQM.
    3. Run the script uninstallRDQMsupport to uninstall IBM MQ, RDQM support, DRBD, and Pacemaker.