Perform this procedure from any cluster node.
Before You Begin
Ensure that the following conditions are met:
You have the following information:
The name of the resource group that you are switching over
The name of the node on which to switch over the resource group
The nodes where the resource group is to be brought online or to remain online are in the cluster.
# clresourcegroup switch [-n nodelist] resource-group
Specifies a comma-separated, ordered list of nodes that can master this resource group. This resource group is switched offline on all of the other nodes.
This list is optional. If you omit this list, the resource group is switched on all nodes in the resource group's node list.
Specifies the name of the resource group to switch.
# clresourcegroup status
The output from this command indicates the state of the resource and the resource group that has been switched over.
This example shows how to clear a Start_failed resource state that has occurred on the rscon resource in the resource-group-1 resource group. The command clears this condition by switching the resource group to the cluster node phys-schost-2.
To verify that the resource is in the Start_failed resource state on phys-schost-1, run the following command.
# clresource status === Cluster Resources === Resource Name Node Name Status Message -------------- ---------- ------- ------- rscon phys-schost-1 Faulted Faulted phys-schost-2 Offline Offline hastor phys-schost-1 Online Online phys-schost-2 Offline Offline
To perform the switch, run the following command.
# clresourcegroup switch -n phys-schost-2 resource-group-1
To verify that the resource group is switched to be online on phys-schost-2 and that the Start_failed resource status is cleared, run the following command.
# clresource status === Cluster Resources === Resource Name Node Name Status Message -------------- ---------- ------- ------- rscon phys-schost-1 Offline Offline phys-schost-2 Online Online hastor phys-schost-1 Online Online phys-schost-2 Offline Offline
The clresourcegroup(1CL) man page.