Go to main content

Planning and Administering Data Services for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: November 2019
 
 

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.


Note -  You can also use the Oracle Solaris Cluster Manager browser interface to bring a resource group online on the current list of primary nodes. You can also bring the resource to a managed state for the entire cluster. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration.

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 14  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(8CL) man page.