Moving resource groups
The Resource Group Management utility (clRGmove) allows you to perform maintenance on a node without losing access to the node's resources. You are not required to synchronize cluster resources or stop cluster services.
The Resource Group Management utility provides improved cluster management by allowing you to:
- Bring a resource group online or offline.
- Move a resource group to a new location. This location can be a node in the same site or a node in the other site.
If you have requested PowerHA® SystemMirror® to move, activate, or stop a particular resource group, then no additional operations on any additional groups will run until this operation is completed.
Specific considerations related to moving a resource group are:
- PowerHA SystemMirror attempts to recover resource groups in the ERROR state upon node_up events. However, if you moved a group to Node A, the group remains on Node A (even in the error state).
- When node B joins the cluster, it does not acquire any resource groups that are currently in the ERROR state on node A. To recover such resource groups, manually bring them online or move them to other nodes.
Note: When you request PowerHA SystemMirror to move a resource
group, it uses the clRGmove utility, which moves resource groups
by calling an rg_move event. It is important to distinguish
between an rg_move event that is triggered automatically by PowerHA SystemMirror, and an rg_move event
that occurs when you explicitly request PowerHA SystemMirror to manage resource
groups for you. To track and identify the causes of operations performed
on the resource groups in the cluster, look for the command output
in SMIT and for the information in the hacmp.out file.
Before attempting to explicitly move a resource group from one node to another, or to take a resource group online or offline, ensure that:
- Cluster Services is running on the node that releases the resource group and on the node that acquires it.
- The cluster is stable. If the cluster is not stable, the operation that you request with the resource group terminates and you receive an error message.
To move a resource group, complete the following steps:
- From the command line, enter
smit cspoc. - In SMIT, select Resource Group and Applications and press Enter.
- Depending on where you want to move the resource group, select
one of the following options:
- Move Resource Group to Another Node
- Move Resource Group to Another Site
- Select the resource that you want to move from the list and press Enter.
- Complete all required fields and press Enter.