The tasks in this section are alternatives for the resource-configuration steps in the following tasks:
How to Register and Configure the RAC Framework Resource Group for Selected Nodes
How to Remove Sun Cluster Support for Oracle Real Application Clusters From Selected Nodes
This procedure assumes that a RAC framework resource group has already been created for the cluster.
On one node of the cluster, become superuser.
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 |
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.
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.
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.
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.
Bring the RAC framework resource group and its resources online.
# scswitch -Z -g resource-group |
Enables the resource and monitor, moves the resource group to the MANAGED state, and brings the resource group online.
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.
On one node of the cluster, become superuser.
Boot in noncluster mode the nodes from which you are removing Sun Cluster Support for Oracle Real Application Clusters.
For the RAC framework resource group, specify a node list that contains only the nodes that are to remain in the RAC framework resource group.
This node list must not include the nodes that you are removing.
# scrgadm -c -g resource-group \ -y nodelist=nodelist \ -y maximum_primaries=num-in-list \ -y desired_primaries=num-in-list |
Specifies the name of the RAC framework resource group from which you are removing nodes. If this resource group was created by using the scsetup utility, the name of the resource group is rac-framework-rg.
Specifies a comma-separated list of cluster nodes that are to remain in the RAC framework resource group. This node list must not include the nodes that you are removing.
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.
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.
After you have removed nodes from the RAC framework resource group, you can optionally uninstall the Sun Cluster Support for Oracle Real Application Clusters software packages from the nodes that you removed. For more information, see How to Remove Sun Cluster Support for Oracle Real Application Clusters From Selected Nodes.