Sun Cluster Data Services Planning and Administration Guide for Solaris OS

ProcedureHow to Bring Online Resource Groups

Perform this task from any cluster node.

  1. On a cluster member, become superuser or assume a 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.

      You can omit the rg-list option. If you omit this option, all resource groups are brought online.

    • 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 -emM 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.

      You can omit the rg-list option. If you omit this option, all resource groups are brought online.


    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 -emM 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.