Removing a Pacemaker-managed automated HADR cluster

You can remove an entire Pacemaker-managed HADR Db2 cluster, using the Db2 Cluster Manager (db2cm) utility.

Procedure

  1. As the root user, remove the Pacemaker-managed HADR cluster:
    ./sqllib/bin/db2cm -delete -cluster
  2. As the root user, verify that the cluster is removed:
    ./sqllib/bin/crm status

Examples

The following example shows the command syntax and output from verifying that the cluster no longer exists:
[root@ignited1 ~]# crm status
ERROR: status: crm_mon (rc=102): Error: cluster is not available on this node