Repairing the cluster manager resource model

If start of the Db2® pureScale® instance fails with an inconsistent resources error, you must repair the cluster manager resource model and re-issue the db2start command.

Before you begin

The Db2 instance must be completely stopped before running this command.

About this task

This task shows you how to repair the cluster manager resource model after it has been detected that there are inconsistencies between the db2nodes.cfg file and the cluster manager (usually when db2start fails). These inconsistencies occur if any of these situations have occurred:
  • The db2nodes.cfg file was manually edited
  • The resource model was manually edited
  • An attempt to add or drop a node failed

The db2cm command is used to remove and re-create the resource model by using information stored in an internal file.

To perform this operation, you must be a user in the Cluster Administrator group.

Procedure

To repair the cluster manager resource model, issue this command from an online host:
db2cm -repair -resources 

Results

If the cluster resource model cannot be repaired, contact an IBM Service Representative for more information about how to recover from this problem.