Repairing the cluster manager domain
If a failure situation occurs with a Db2® pureScale® instance which requires the cluster manager domain to be re-created, use the db2cm command to re-create it.
Before you begin
The Db2
instance must be stopped before performing this task; all nodes in the cluster must be reachable and
have root passwordless
SSH (or db2locssh
) configured between
them.
About this task
Using the db2cm command re-creates the domain with the same topology and configuration as the existing domain including the quorum device if it exists.
Restrictions
Procedure
Results
Example
A DBA with System Administrator authority needs to re-create a cluster manager domain, MYDOMAIN,
in Db2 instance
myinst1.
export DB2INSTANCE=myinst1
db2cm -repair -domain MYDOMAIN
As
the domain is torn down and re-created, db2cm issues informational messages about
the progress and the successful completion of the
operation: Deleting the domain 'MYDOMAIN' from the cluster ...
Deleting the domain 'MYDOMAIN' from the cluster was successful.
Creating domain 'MYDOMAIN' in the cluster ...
Creating domain 'MYDOMAIN' in the cluster was successful.
The resource model for the instance 'myinst1' has been re-created.
The cluster manager domain has been successfully repaired.