Sun Cluster Data Service for Oracle Real Application Clusters Guide for Solaris OS

How to Add Nodes to the RAC Framework Resource Group by Using the scrgadm Utility

This procedure assumes that a RAC framework resource group has already been created for the cluster.

  1. On one node of the cluster, become superuser.

  2. For the RAC framework resource group, specify a node list that contains the following nodes:

    • The nodes on which Sun Cluster Support for Oracle Real Application Clusters is already enabled.

    • The nodes that you are adding to the RAC framework resource group.


    # scrgadm -c -g resource-group \
      -y nodelist=nodelist \
      -y maximum_primaries=num-in-list \
      -y desired_primaries=num-in-list 
    
    -g resource-group

    Specifies the name of the RAC framework resource group to which you are adding nodes. If this resource group was created by using the scsetup utility, the name of the resource group is rac-framework-rg.

    -y nodelist=nodelist

    Specifies a comma-separated list of cluster nodes on which Sun Cluster Support for Oracle Real Application Clusters is already enabled and the nodes that you are adding to the RAC framework resource group. The Sun Cluster Support for Oracle Real Application Clusters software packages must be installed on each node in this list.

    -y maximum_primaries=num-in-list

    Specifies the number of nodes on which Sun Cluster Support for Oracle Real Application Clusters is to be enabled. This number must equal the number of nodes in nodelist.

    -y desired_primaries=num-in-list

    Specifies the number of nodes on which Sun Cluster Support for Oracle Real Application Clusters is to be enabled. This number must equal the number of nodes in nodelist.

  3. Bring the RAC framework resource group and its resources online.


    # scswitch -Z -g resource-group
    
    -Z

    Enables the resource and monitor, moves the resource group to the MANAGED state, and brings the resource group online.

    -g resource-group

    Specifies the name of the RAC framework resource group that is to be moved to the MANAGED state and brought online. If this resource group was created by using the scsetup utility, the name of the resource group is rac-framework-rg.