Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Services Planning and Administration Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Bringing Resource Groups Online

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.

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

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |