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

Registering and Configuring Sun Cluster Support for Oracle Parallel Server/Real Application Clusters

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:

Overview of the RAC Framework Resource Group

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:

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.


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


Determining Whether to Use scsetup or scrgadm

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.


Note –

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.


How to Register and Configure Sun Cluster Support for Oracle Parallel Server/Real Application Clusters for a Cluster

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.

  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 Parallel Server/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 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.

    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
    
    • 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
      
      -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

Where to Go From Here

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.

How to Register and Configure Sun Cluster Support for Oracle Parallel Server/Real Application Clusters for Selected Nodes

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:

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.

  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 Parallel Server/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 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.

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

Where to Go From Here

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.