Registering and configuring Sun Cluster Support for Oracle Parallel Server/Real Application Clusters enables this support to be managed by using Sun Cluster commands.
You can register and configure Sun Cluster Support for Oracle Parallel Server/Real Application Clusters for the following entities:
A cluster. For more information, see How to Register and Configure Sun Cluster Support for Oracle Parallel Server/Real Application Clusters for a Cluster.
Selected nodes in a cluster. For more information, see How to Register and Configure Sun Cluster Support for Oracle Parallel Server/Real Application Clusters for Selected Nodes.
The Real Application Clusters (RAC) framework resource group enables Oracle Parallel Server/Real Application Clusters to be managed by using Sun Cluster commands. This resource group contains an instance of the following single-instance resource types:
SUNW.rac_framework, which represents the framework that enables Oracle Parallel Server/Real Application Clusters to be managed by using Sun Cluster commands
SUNW.rac_udlm, which represents the UNIX Distributed Lock Manager (Oracle UDLM) component of Sun Cluster Support for Oracle Parallel Server/Real Application Clusters
In addition, the RAC framework resource group contains an instance of a single-instance resource type that represents the storage management scheme that you are using.
VxVM with the cluster feature is represented by the SUNW.rac_cvm resource type.
Hardware RAID support is represented by the SUNW.rac_hwraid resource type.
The cluster file system is not represented by a resource type.
The resource types that are defined for the RAC framework resource group do not enable the Resource Group Manager (RGM) to manage instances of Oracle Parallel Server/Real Application Clusters.
The procedures that follow explain how to configure resources for Sun Cluster Support for Oracle Parallel Server/Real Application Clusters by using the scsetup(1M) utility. The scsetup utility enables you to configure resources for Sun Cluster Support for Oracle Parallel Server/Real Application Clusters interactively, thereby reducing the possibility for configuration errors that might result from command syntax errors or omissions. The scsetup utility ensures that all required resources are created on the basis of the software that is installed on your cluster nodes.
For instructions about how to configure resources for Sun Cluster Support for Oracle Parallel Server/Real Application Clusters by using the scrgadm(1M) utility, see Creating, Modifying, and Removing the RAC Framework Resource Group by Using the scrgadm Utility.
When you register and configure Sun Cluster Support for Oracle Parallel Server/Real Application Clusters for a cluster, the RAC framework resource group is created.
Before you perform this procedure, ensure that the required Sun Cluster Support for Oracle Parallel Server/Real Application Clusters software packages are installed on each node. The packages that are required depend on the storage management scheme that you are using. For more information, see Installing Sun Cluster Support for Oracle Parallel Server/Real Application Clusters Packages.
Become superuser.
From one node only, create the RAC framework resource group.
The following instructions explain how to perform this operation by using the scsetup utility. For information about how to perform this operation by using the scrgadm utility, see How to Create the RAC Framework Resource Group by Using the scrgadm Utility.
Start the scsetup utility.
# scsetup |
The scsetup main menu is displayed.
Type the number that corresponds to the option for data services.
The Data Services menu is displayed.
Type the number that corresponds to the option for configuring Sun Cluster Support for Oracle Parallel Server/Real Application Clusters.
The Sun Cluster Support for Oracle RAC menu is displayed.
Type the number that corresponds to the option for creating the RAC framework resource group.
The scsetup utility displays a list of the cluster nodes on which the Sun Cluster Support for Oracle Parallel Server/Real Application Clusters packages are installed. The scsetup utility also asks you to confirm that the RAC framework resource group should be created on these nodes.
To confirm that the scsetup utility should create the RAC framework resource group on the listed nodes, type y.
The scsetup utility creates the RAC framework resource group and the resources that this resource group contains on the listed nodes.
If the value of a resource property is changed from its default value, the scsetup utility sets the property to the changed value for the resource that the scsetup utility creates.
Determine if the RAC framework resource group and its resources are online.
Use the scstat(1M) utility for this purpose. The resource group to verify is named rac-framework-rg. The scsetup utility automatically assigns this name when you create the resource group.
# scstat -g |
If the RAC framework resource group and its resources are online, no further action is required.
If the RAC framework resource group and its resources are not online, bring them online.
# scswitch -Z -g rac-framework-rg |
Enables the resource and monitor, moves the resource group to the MANAGED state, and brings the resource group online
Specifies that the resource group to be moved to the MANAGED state and brought online is rac-framework-rg
See your Oracle Parallel Server/Real Application Clusters installation documentation for information about how to install the Oracle RDBMS software and create your Oracle database.
When you register and configure Sun Cluster Support for Oracle Parallel Server/Real Application Clusters for selected nodes, the nodes are added to the RAC framework resource group.
Perform this procedure in the following situations:
You are adding nodes to a cluster and you want to run Sun Cluster Support for Oracle Parallel Server/Real Application Clusters on the nodes.
You want to run Sun Cluster Support for Oracle Parallel Server/Real Application Clusters on only a subset of nodes in a cluster.
Before you perform this procedure, ensure that the required Sun Cluster Support for Oracle Parallel Server/Real Application Clusters software packages are installed on each node. The packages that are required depend on the storage management scheme that you are using. For more information, see Installing Sun Cluster Support for Oracle Parallel Server/Real Application Clusters Packages.
Become superuser.
Add the nodes to the RAC framework resource group.
The following instructions explain how to perform this operation by using the scsetup utility. For information about how to perform this operation by using the scrgadm utility, see How to Add Nodes to the RAC Framework Resource Group by Using the scrgadm Utility.
Start the scsetup utility.
# scsetup |
Type the number that corresponds to the option for data services.
The Data Services menu is displayed.
Type the number that corresponds to the option for configuring Sun Cluster Support for Oracle Parallel Server/Real Application Clusters.
The Sun Cluster Support for Oracle RAC menu is displayed.
Type the number that corresponds to the option for adding a node to the RAC framework resource group.
The scsetup utility responds as follows:
The list of nodes that you can add to the RAC framework resource group is displayed. This list contains the cluster nodes on which the Sun Cluster Support for Oracle Parallel Server/Real Application Clusters packages are installed, but on which the RAC framework resource group does not exist.
The scsetup utility prompts you for the list of nodes that you are adding.
Type a comma-separated list of the nodes that you are adding to the RAC framework resource group.
Bring the RAC framework resource group and its resources online.
# scswitch -Z -g rac-framework-rg |
Enables the resource and monitor, moves the resource group to the MANAGED state, and brings the resource group online
Specifies that the resource group to be moved to the MANAGED state and brought online is rac-framework-rg
See your Oracle Parallel Server/Real Application Clusters installation documentation for information about how to install the Oracle RDBMS software and create your Oracle database.