To enable resources to begin providing HA services, you must enable the resources in their resource groups, enable the resource monitors, make the resource groups managed, and bring online the resource groups. You can perform these tasks individually or by using the following procedure. See the scswitch(1M) man page for details.
Perform this procedure from any cluster node.
Become superuser on a cluster member.
Enable the resources, and bring online the resource groups.
# scswitch -Z -g rg-list
If the resource monitors were disabled, they are enabled also.
If you have intentionally disabled a resource a or a fault monitor that must remain disabled, specify the -z instead of the -Z option.
Brings resource groups online by first enabling their resources and fault monitors.
Specifies a comma-separated list of the names of the resource groups to bring online. The resource groups must exist. The list may contain one resource group name or more than one resource group name.
You can omit the -g rg-list option. If you omit this option, all resource groups are brought online.
If any resource group that you are bringing online declares a strong affinity for other resource groups, this operation might fail. For more information, see Distributing Online Resource Groups Among Cluster Nodes.
Verify that the resource is online.
Run the following command on any cluster node, and check the resource group state field to verify that each resource group is online on the nodes that are specified in the node list.
# scstat -g
This example shows how to bring a resource group (resource-group-1) online and verify its status.
# scswitch -Z -g resource-group-1 # scstat -g
After you bring a resource group online, it is configured and ready for use. If a resource or node fails, the RGM switches the resource group online on alternate nodes to maintain availability of the resource group.