Oracle® Solaris Cluster Data Services Planning and Administration Guide

Exit Print View

Updated: September 2014, E39648–02
 
 

How to Bring Resource Groups Online

Perform this task from any cluster node.

  1. On a cluster member, assume the root role that provides solaris.cluster.admin RBAC authorization.
  2. Type the command to bring online the resource groups.
    • If you have intentionally disabled a resource or a fault monitor that must remain disabled, type the following command:
      # clresourcegroup online rg-list
      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.

    • If you require the resources and their fault monitors to be enabled when the resource groups are brought online, type the following command:
      # clresourcegroup online -em rg-list
      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.
  3. Verify that each resource group that you specified in Step 2 is online.

    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 -eM resource-group-1
# clresourcegroup status

Next Steps

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.

See also

The clresourcegroup(1CL) man page.