Cleaning up an IBM Reliable Scalable Cluster Technology peer domain

This topic will guide you through the required steps to manually clean up a Reliable Scalable Cluster Technology (RSCT) peer domain. Uninstalling Db2® Enterprise Server Edition with IBM® Db2 pureScale® Feature will normally handle the removal of RSCT. Follow these steps if an unexpected error occurs and a manual cleanup is required.

About this task

The db2idrop -g command should automatically remove the IBM Reliable Scalable Cluster Technology (RSCT) peer domain. The following manual steps are needed only when problems occur.

Procedure

  1. List all of the existing peer domains by running the lsrpdomain command.
    The output of this command should be similar to the following one:
    lsrpdomain

    If nothing is listed, there is no active peer domain. Only one RSCT peer domain can be active (online) at any given time, and any operations (stopping, removing, or adding a node) will only affect this online domain.

  2. List all of the nodes in this active peer domain by running the db2cluster -cm -list -host -state command.
    The output of this command should be similar to the following output:
    HOSTNAME			STATE
    -----------			------
    coralpib135			ONLINE
    coralpib136			ONLINE
  3. Remove the entire peer domain, including all nodes. The peer domain must be online for the following command to be successful. Run the db2cluster -cm -delete -domain db2domain command.
    The output of this command should be similar to the following output:
    Deleting the domain db2domain from the cluster ...
    Deleting the domain db2domain from the cluster was successful.
  4. To confirm that the peer domain has been removed appropriately, run the db2cluster -cm -list -domain command.