Sun Cluster Data Service for Oracle RAC Guide for Solaris OS

ProcedureHow to Take Offline Resource Groups for Oracle RAC Database Components and Restart the Components

This task involves taking offline resource groups for Oracle RAC database components and restarting the components on each cluster node individually.

This sequence of operations avoids downtime by ensuring that the Oracle RAC database components remain online on other cluster nodes.

Perform this task on each cluster node individually.

Before You Begin

Ensure that you have upgraded resources in the RAC framework resource group. For more information, see Upgrading Resources in the RAC Framework Resource Group.

  1. Become superuser on the cluster node.

  2. If you configured Oracle listener resources in separate resource groups, take offline the resource groups from the node.

    If you configured Oracle listener resources in the same resource group as the Oracle RAC server resource, omit this step.

    For each resource group that you are taking offline, type the following command:


    # clresourcegroup offline -n node rac-listener-rg
    
    -n node

    Specifies the node from which you are taking the resource group offline. This node is the node where you are performing this task.

    rac-listener-rg

    Specifies the resource group for Oracle listener resources that you are taking offline.

    When the resource group is taken offline, the Oracle listener is stopped on the node. The Oracle listeners on other nodes are unaffected.

  3. Take offline the resource group for the RAC server from the node.


    # clresourcegroup offline -n node rac-server-rg
    
    -n node

    Specifies the node from which you are taking the resource group offline. This node is the node where you are performing this task.

    rac-server-rg

    Specifies the resource group for the Oracle RAC server resource that you are taking offline.

    When the resource group is taken offline, the Oracle RAC server is stopped on the node. The Oracle RAC servers on other nodes are unaffected.

    If you configured Oracle listener resources in the same resource group as the Oracle RAC server resource, the listeners are also stopped on the node. The Oracle listeners on other nodes are unaffected.

  4. Use Oracle utilities to restart the Oracle RAC server and Oracle listener on the node.

Next Steps

Go to How to Modify the Configuration of Sun Cluster Resources for Oracle 9i RAC Database Instances.