Sun Cluster Data Service for Oracle RAC Guide for Solaris OS

ProcedureHow to Register and Configure the RAC Framework Resource Group by Using clsetup

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.


Note –

The following instructions explain how to perform this operation by using the clsetup utility.


Before You Begin

Ensure that the following prerequisites are met:

Ensure that you have the following information:

  1. Become superuser on any cluster node.

  2. Start the clsetup utility.


    # clsetup
    

    The clsetup main menu is displayed.

  3. Type the number that corresponds to the option for data services and press Return.

    The Data Services menu is displayed.

  4. 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.

  5. 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.

  6. 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.

  7. Type the number that corresponds to the option for the RAC framework resource group and press Return.

    The clsetup utility displays the list of prerequisites for performing this task.

  8. 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.

  9. 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.

  10. To confirm your selection of nodes, type d and press Return.

    The clsetup utility displays a list of storage management schemes for Oracle files.

  11. Type the numbers that correspond to the storage management schemes that you are using for Oracle files and press Return.

  12. 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.

  13. If you require a different name for any Sun Cluster objects, change each name as follows.

    1. 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.

    2. 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.

  14. 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.

  15. 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.

  16. Press Return to continue.

    The clsetup utility returns you to the list of options for configuring Sun Cluster Support for Oracle RAC.

  17. (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.

  18. 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.


    # clresourcegroup status rac-framework-rg
    
  19. If the RAC framework resource group and its resources are not online, bring them online.


    # clresourcegroup online rac-framework-rg
    
Resource Configuration

The following table lists the default resource configuration that the clsetup utility creates when you complete this task.

Resource Name, Resource Type, and Resource Group 

Dependencies 

Description 

Resource type: SUW.rac_framework

Resource name: rac-framework-rs

Resource group: rac-framework-rg

None. 

RAC framework resource. 

SPARC:

Resource type: SUNW.rac_udlm

Resource name: rac-udlm-rs

Resource group: rac-framework-rg

Strong dependency on the RAC framework resource. 

Oracle UDLM resource. 

Resource type: SUNW.rac_svm

Resource name: rac-svm-rs

Resource group: rac-framework-rg

Strong dependency on the RAC framework resource. 

Solaris Volume Manager for Sun Cluster resource. Created only if Solaris Volume Manager for Sun Cluster was selected. 

Resource type: SUNW.rac_cvm

Resource name: rac-cvm-rs

Resource group: rac-framework-rg

Strong dependency on the RAC framework resource. 

VxVM resource. Created only if VxVM was selected. 

Next Steps

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 

How to Create a Multi-Owner Disk Set in Solaris Volume Manager for Sun Cluster for the Oracle RAC Database

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