Sun Cluster 3.0 Data Services Installation and Configuration Guide

How to Bring a Resource Group Online

  1. Become superuser on a node in the cluster.

  2. Enable the resource and bring the resource group online.

    If the resource monitor has been previously disabled, it will be enabled also.


    # scswitch -Z -g resource-group-name
    
    -Z

    Brings a resource group online by first enabling its resources and their monitors.

    -g resource-group-name

    Specifies the name of the resource group to bring online. The group must be an existing resource group.

  3. Verify that the resource is online.

    Run the following command on any cluster node and look for the Resource Group State field to see if it is online on the nodes specified in the node list.


    # scstat -g
    

Example-Bring a Resource Group Online

This example shows how to bring a resource group (rg-1) online and verify its status.


# scswitch -Z -g rg-1
# scstat -g

Where to Go from Here

After a resource group has been brought online, it is configured and ready to use. In the event of resource or node failure, the RGM maintains availability of the resource group by automatically switching the resource group online on alternate nodes.