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

Registering and Configuring the RAC Framework Resource Group

Registering and configuring the RAC framework resource group enables Sun Cluster Support for Oracle Real Application Clusters to be managed by using Sun Cluster commands.

You can register and configure the RAC framework resource group for the following entities:

Overview of the RAC Framework Resource Group

The RAC framework resource group enables Oracle Real Application Clusters to be managed by using Sun Cluster commands. This resource group contains an instance of the following single-instance resource types:

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 for the Oracle Real Application Clusters database.

If you are using the Sun StorEdge QFS shared file system, an additional resource is required to represent the metadata server for the Sun StorEdge QFS shared file system. This resource is not contained in the RAC framework resource group. For information about this resource, see the following documentation:


Note –

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 Real Application Clusters.


Determining Whether to Use scsetup or scrgadm

The procedures that follow explain how to configure resources for the RAC framework resource group by using the scsetup(1M) utility. The scsetup utility enables you to configure resources for the RAC framework resource group interactively. Configuring these resources interactively reduces 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.


Note –

For instructions about how to configure resources for the RAC framework resource group by using the scrgadm(1M) utility, see Appendix B, Creating, Modifying, and Removing the RAC Framework Resource Group by Using the scrgadm Utility.


ProcedureHow to Register and Configure the RAC Framework Resource Group for a Cluster

When you register and configure the RAC framework resource group for a cluster, the RAC framework resource group is created.

Perform this procedure if you require Sun Cluster Support for Oracle Real Application Clusters to run on all nodes in a cluster.

Before you perform this procedure, ensure that the required Sun Cluster Support for Oracle 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 the Oracle Real Application Clusters database. For more information, see Installing Sun Cluster Support for Oracle Real Application Clusters Packages.

Steps
  1. Become superuser.

  2. From one node only, create the RAC framework resource group.


    Note –

    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.


    1. Start the scsetup utility.


      # scsetup
      

      The scsetup main menu is displayed.

    2. Type the number that corresponds to the option for data services.

      The Data Services menu is displayed.

    3. Type the number that corresponds to the option for configuring Sun Cluster Support for Oracle Real Application Clusters.

      The Sun Cluster Support for Oracle RAC menu is displayed.

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

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


      Note –

      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.


  3. 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
    
  4. If the RAC framework resource group and its resources are not online, bring them online.


    # scswitch -Z -g rac-framework-rg
    
    -Z

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

    -g rac-framework-rg

    Specifies that the resource group to be moved to the MANAGED state and brought online is rac-framework-rg

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 

Creating a Multi-Owner Disk Set in Solaris Volume Manager for Sun Cluster for the Oracle Real Application Clusters Database

VxVM with the cluster feature 

SPARC: Creating a VxVM Shared-Disk Group for the Oracle Real Application Clusters Database

None 

Installing Oracle Real Application Clusters Software

ProcedureHow to Register and Configure the RAC Framework Resource Group for Selected Nodes

When you register and configure the RAC framework resource group for selected nodes, the nodes are added to the RAC framework resource group.

Perform this procedure in the following situations:

Before You Begin

Ensure that the required Sun Cluster Support for Oracle Real Application Clusters software packages are installed on each node for which you are registering and configuring the RAC framework resource group. The packages that are required depend on the storage management scheme that you are using for the Oracle Real Application Clusters database. For more information, see Installing Sun Cluster Support for Oracle Real Application Clusters Packages.

Steps
  1. Become superuser.

  2. Add the nodes to the RAC framework resource group.


    Note –

    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.


    1. Start the scsetup utility.


      # scsetup
      
    2. Type the number that corresponds to the option for data services.

      The Data Services menu is displayed.

    3. Type the number that corresponds to the option for configuring Sun Cluster Support for Oracle Real Application Clusters.

      The Sun Cluster Support for Oracle RAC menu is displayed.

    4. 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 Real Application Clusters packages are installed, but on which the RAC framework resource group does not yet exist.

      • The scsetup utility prompts you for the list of nodes that you are adding.

    5. Type a comma-separated list of the nodes that you are adding to the RAC framework resource group.

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


    # scswitch -Z -g rac-framework-rg
    
    -Z

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

    -g rac-framework-rg

    Specifies that the resource group to be moved to the MANAGED state and brought online is rac-framework-rg

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 

Creating a Multi-Owner Disk Set in Solaris Volume Manager for Sun Cluster for the Oracle Real Application Clusters Database

VxVM with the cluster feature 

SPARC: Creating a VxVM Shared-Disk Group for the Oracle Real Application Clusters Database

None 

Installing Oracle Real Application Clusters Software