When you register and configure the RAC framework resource group for a cluster, the RAC framework resource group is created.
Perform this procedure during your initial setup of Sun Cluster Support for Oracle RAC. Perform this procedure from one node only.
This procedure provides the long forms of the Sun Cluster maintenance commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix A, Sun Cluster Object-Oriented Commands, in Sun Cluster Data Services Planning and Administration Guide for Solaris OS.
The following instructions explain how to perform this operation by using the clsetup utility.
Ensure that the following prerequisites are met:
All preinstallation tasks for Oracle RAC are completed.
The Sun Cluster nodes are prepared.
The data services packages are installed.
All storage management software that you intend to use is installed and configured on all nodes where Oracle RAC is to run.
Ensure that you have the following information:
The names of the nodes where you require Sun Cluster Support for Oracle RAC to run.
The list of storage management schemes that you are using for Oracle files.
Become superuser on any cluster node.
Start the clsetup utility.
# clsetup |
The clsetup main menu is displayed.
Type the number that corresponds to the option for data services and press Return.
The Data Services menu is displayed.
Type the number that corresponds to the option for configuring Sun Cluster Support for Oracle RAC and press Return.
The clsetup utility displays information about Sun Cluster Support for Oracle RAC.
Press Return to continue.
The clsetup utility prompts you to select whether you are performing the initial configuration of Sun Cluster Support for Oracle RAC or administering an existing configuration.
The clsetup utility currently allows ongoing administration of RAC framework running only in the global cluster. For ongoing administration of framework configured in the zone cluster, you need to run the Sun Cluster CLIs.
Type the number that corresponds to the option for performing the initial configuration of Sun Cluster Support for Oracle RAC and press Return.
The clsetup utility displays a list of components of Oracle RAC to configure.
Type the number that corresponds to the option for the RAC framework resource group and press Return.
The clsetup utility prompts you to select the Oracle RAC clusters location. This location can be global cluster or zone cluster.
Type the number that corresponds to the option for the location of the Oracle RAC clusters and press Return.
Type the number that corresponds to the option for the required zone cluster and press Return.
The clsetup utility displays a list of components of Oracle RAC to configure.
Type the number that corresponds to the option for the component of Oracle RAC and press Return.
The clsetup utility displays the list of prerequisites for performing this task.
Verify that the prerequisites are met, and press Return.
The clsetup utility displays a list of the cluster nodes on which the Sun Cluster Support for Oracle RAC packages are installed.
Select the nodes where you require Sun Cluster Support for Oracle RAC to run.
To accept the default selection of all listed nodes in an arbitrary order, type a and press Return.
To select a subset of the listed nodes, type a comma-separated or space-separated list of the numbers that correspond to the nodes and press Return.
Ensure that the nodes are listed in the order in which the nodes are to appear in the RAC framework resource group's node list.
To select all nodes in a particular order, type a comma-separated or space-separated ordered list of the numbers that correspond to the nodes and press Return.
Ensure that the nodes are listed in the order in which the nodes are to appear in the RAC framework resource group's node list.
To confirm your selection of nodes, type d and press Return.
The clsetup utility displays a list of storage management schemes for Oracle files.
Type the numbers that correspond to the storage management schemes that you are using for Oracle files and press Return.
To confirm your selection of storage management schemes, type d and press Return.
The clsetup utility displays the names of the Sun Cluster objects that the utility will create.
If you require a different name for any Sun Cluster objects, change each name as follows.
Type the number that corresponds to the name that you are changing and press Return.
The clsetup utility displays a screen where you can specify the new name.
At the New Value prompt, type the new name and press Return.
The clsetup utility returns you to the list of the names of the Sun Cluster objects that the utility will create.
To confirm your selection of Sun Cluster object names, type d and press Return.
The clsetup utility displays information about the Sun Cluster configuration that the utility will create.
To create the configuration, type c and Press Return.
The clsetup utility displays a progress message to indicate that the utility is running commands to create the configuration. When configuration is complete, the clsetup utility displays the commands that the utility ran to create the configuration.
Press Return to continue.
The clsetup utility returns you to the list of options for configuring Sun Cluster Support for Oracle RAC.
(Optional) Type q and press Return repeatedly until you quit the clsetup utility.
If you prefer, you can leave the clsetup utility running while you perform other required tasks before using the utility again. If you choose to quit clsetup, the utility recognizes your existing RAC framework resource group when you restart the utility.
Determine if the RAC framework resource group and its resources are online.
Use the clresourcegroup(1CL) utility for this purpose. By default, the clsetup utility assigns the name rac-framework-rg to the RAC framework resource group.
If the RAC framework resource group and its resources are not online, bring them online.
The following table lists the default resource configuration that the clsetup utility creates when you complete this task.
For a zone cluster, the framework resources are created based on the storage management scheme you select. For detailed information for the resource configuration for zone clusters, see the figures in Appendix A, Sample Configurations of This Data Service.
The next step depends on the volume manager that you are using, as shown in the following table.
Volume Manager |
Next Step |
---|---|
Solaris Volume Manager for Sun Cluster | |
VxVM with the cluster feature |
How to Create a VxVM Shared-Disk Group for the Oracle RAC Database |
None |
Registering and Configuring Storage Resources for Oracle Files |