Moving resource groups by using the clRGmove command
You can use the clRGmove command to move a resource group to another node, or to take a resource group online or offline. You can run the clRGmove command by using SMIT or from the command line.
If you use clRGmove with resource groups that have the Never Fallback fallback policy, the resource group remains on that node until you move it elsewhere.
Moving parent-child dependent resource groups
- If the parent resource groups are offline due to your request made through the clRGmove command, PowerHA® SystemMirror® rejects manual attempts to bring the child resource groups that depend on these resource groups online. The error message lists the parent resource groups that must be brought online first.
- If you have a parent and a child resource group online, and would like to move the parent resource group to another node or take it offline, PowerHA SystemMirror prevents you from doing so before a child resource group is taken offline.
Moving start after dependent resource groups
In
this type of dependency, the target resource group must be online
on any node in the cluster before a source (dependent) resource group
can be activated on a node. The following rules apply to resource
groups with a start after dependency:
- If the target resource groups are offline due to your request made through the clRGmove command, PowerHA SystemMirror rejects manual attempts to bring the source resource groups that depend on these resource groups online. The error message lists the target resource groups that must be brought online first.
Moving stop after dependent resource groups
In
this type of dependency, the target resource group must be offline
on any node in the cluster before a source (dependent) resource group
can be brought offline on a node. The following rules apply to resource
groups with a stop after dependency:
- If you have a target and a source resource group online, and would like to move the source resource group to another node or take it offline, PowerHA SystemMirror prevents you from doing so before a target resource group is taken offline.
Moving location-dependent resource groups
- If you move a same-site dependent resource group to the other site, the entire set of resource groups in the dependency is moved to the other site.
- If you move a same-node dependent resource group to another node, the entire set of resource groups in the dependency is moved.
- You cannot move a resource group to any node that hosts an online resource group that is part of a different-node dependency. You must first take offline the resource group that is included in the different node dependency on the selected node.