|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Cluster Data Services Planning and Administration Guide Oracle Solaris Cluster 4.0|
To enable resources to begin providing HA services, you must perform the following operations:
Bring resource groups online
Enable the resources in their resource groups
Enable the resource monitors
Make the resource groups managed
You can perform these tasks individually or by using a single command.
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.
Perform this task from any cluster node.
# clresourcegroup online rg-list
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.
# clresourcegroup online -emM rg-list
Specifies a comma-separated list of the names of the resource groups to bring online. The resource groups must exist. The list can contain one resource group name or more than one resource group name.
Note - 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.
The output from this command indicates on which nodes each resource group is online.
# clresourcegroup status
Example 2-11 Bringing Online a Resource Group
This example shows how to bring online the resource group resource-group-1 and verify its status. All resources in this resource and their fault monitors are also enabled.
# clresourcegroup online -emM resource-group-1 # clresourcegroup status
If you brought resource groups online without enabling their resources and fault monitors, enable the fault monitors of any resources that you require to be enabled. For more information, see How to Enable a Resource Fault Monitor.
The clresourcegroup(1CL) man page.