Moving resource groups by using the command line
You can use the clRGmove command to move resource groups.
The clRGmove utility lets you manually control the location and the state of resource groups by calling the rg_move event. With this command, you can bring a specified resource group offline or online, or move a resource group to a different node. This utility provides the command line interface to the Resource Group Migration functionality, which can be accessed through SMIT. You can also use this command from the command line, or include it in the pre-event and post-event scripts.
For a resource groups that do not have the Online On All Available Nodes startup policy (non-concurrent resource groups), you can complete the following tasks:
- Take the resource group offline from an online node
- Bring the resource group online to a specific node
- Move the resource group from its current hosting node to a new location.
For a resource groups that have the Online On All Available Nodes startup policy (concurrent resource groups), you can complete the following tasks:
- Take the resource group offline from all nodes in the group's nodelist
- Take the resource group offline from one node in the group's nodelist
- Bring the resource group online on all nodes in the group's nodelist
- Bring the resource group online on one node in the group's nodelist.