Oracle® Solaris Cluster Data Service for Oracle Real Application Clusters Guide

Exit Print View

Updated: July 2014, E39656–01
 
 

How to Enable Oracle Solaris Cluster and Oracle Grid Infrastructure to Interoperate

    When you perform this task, the clsetup utility creates the following resources for interoperation with Oracle Grid Infrastructure:

  • An Oracle Solaris Cluster resource to act as a proxy for the Support for Oracle RAC database

  • An Oracle Solaris Cluster resource to represent the Oracle Grid Infrastructure framework

  • One of the following storage choices:

    • Oracle Grid Infrastructure resources to represent scalable device groups and scalable file-system mount points

    • Oracle Grid Infrastructure resources to represent Oracle ASM disk groups

Before You Begin

Ensure that the following prerequisites are met:

To determine whether the Oracle database is running, use the Oracle Database srvctl command as follows:

$ srvctl status database -d db-name

db-name specifies the name of the Oracle database.

    Ensure that you have the following information:

  • The full path to the Oracle Grid Infrastructure home directory

  • The full path to the Oracle Database home directory

  • The names of all Oracle Solaris Cluster storage resources for Oracle files that you are using

  1. On one node of the cluster, assume the root role.
  2. Start the clsetup utility.
    # clsetup

    The clsetup main menu is displayed.

  3. Choose the menu item, Data Services.

    The Data Services menu is displayed.

  4. Choose the menu item, Oracle Real Application Clusters.

    The clsetup utility displays information about Support for Oracle RAC.

  5. Press Return to continue.

    The clsetup utility prompts you to select whether you are performing the initial configuration of Support for Oracle RAC or administering an existing configuration.

  6. Choose the menu item, Support for Oracle RAC Create Configuration.

    The clsetup utility prompts you to select the Support for Oracle RAC cluster location. This location can be the global cluster or a zone cluster.

  7. Type the option number for the location of the Support for Oracle RAC cluster and press Return.
    • If you select the global cluster option, the clsetup utility displays the list of components of Support for Oracle RAC to configure. Skip to Step 11.
    • If you select the zone cluster option, the clsetup utility prompts you to select the required zone cluster. Proceed to Step 10.
  8. Type the option number for the required zone cluster and press Return.

    The clsetup utility displays the list of components of Support for Oracle RAC to configure.

  9. Choose the menu item, Resources for Oracle Real Application Clusters Database Instances.

    The clsetup utility displays a list of names of Support for Oracle RAC databases that are configured on the cluster.

  10. Specify the name of the Support for Oracle RAC database that you are configuring.
    • If the name is listed, type the number that corresponds to the name that you are selecting and press Return.

      The clsetup utility displays a list of Oracle Database home directories that exist on the cluster.

    • If the name is not listed, specify the name explicitly:
      1. Type e and press Return.

        The clsetup utility prompts you for the name of the Support for Oracle RACdatabase that you are configuring.

      2. Type the name of the Support for Oracle RAC database that you are configuring and press Return.

        The clsetup utility displays a list of Oracle home directories that exist on the cluster.

  11. Specify the Oracle Database home directory for your installation of the Support for Oracle RAC software.
    • If the directory is listed, type the number that corresponds to the directory that you are selecting and press Return.

      The clsetup utility displays a list of Oracle Database system identifiers that are configured on the cluster. The utility also prompts you to specify the system identifier for the first node in the list of nodes where Support for Oracle RAC is to run.

    • If the directory is not listed, specify the directory explicitly:
      1. Type e and press Return.

        The clsetup utility prompts you for the Oracle Database home directory.

      2. Type the full path to the Oracle Database home directory and press Return.

        The clsetup utility displays a list of Oracle system identifiers that are configured on the cluster. The utility also prompts you to specify the system identifier for the first node in the list of nodes where Support for Oracle RAC is to run.

  12. Type a comma-separated or space-separated list of the numbers that correspond to the storage resources that you are using, and press Return.
    • If you choose Oracle ASM, the clsetup utility displays the names of the Oracle ASM disk group resources.
    • If you choose Other, the clsetup utility displays available scalable device group and scalable mount point resources.
  13. Type the option number for the storage resources to use.

    The clsetup utility displays the names of the Oracle Solaris Cluster objects that the utility will create.

  14. If you require a different name for any Oracle Solaris Cluster objects, change the name.
    1. Type the option number for the name to change 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 Oracle Solaris Cluster objects that the utility will create.

  15. To confirm your selection of Oracle Solaris Cluster object names, press Return.

    The clsetup utility displays information about the Oracle Solaris Cluster configuration that the utility will create.

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

  17. Press Return to continue.

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

  18. (Optional) Type q and press Return repeatedly until you quit the clsetup utility.

Resource Configuration

The following table lists the default configuration of Oracle Solaris Cluster resources that the clsetup utility creates when you complete this task.

Resource Type, Resource Name, and Resource Group
Dependencies
Description
Resource type: SUNW.crs_framework
Resource name: crs_framework-rs
Resource group: rac-framework-rg
Strong dependency on the Support for Oracle RAC framework resource.
Offline-restart dependencies on all scalable device-group resources for Oracle files, if any.
If you are using a shared file system without a volume manager, this resource has an offline-restart dependency on all scalable file-system mount-point resources for Oracle files.
If you are not using a shared file system or a volume manager, this resource has no offline-restart dependencies on any other resources.
Oracle Grid Infrastructure framework resource.
Resource type: SUNW.scalable_rac_server_proxy
Resource name: rac_server_proxy-rs
Resource group: rac_server_proxy-rg
Strong dependency on the Support for Oracle RAC framework resource.
Offline-restart dependency on the Oracle Grid Infrastructure framework resource.
Proxy resource for the Support for Oracle RAC database server.

Note -  For detailed information for the resource configuration for zone clusters, see the figures in Appendix A, Sample Configurations of This Data Service.

The clsetup utility also creates an Oracle Grid Infrastructure resource for each Oracle Solaris Cluster resource for scalable device groups and scalable file-system mount points on which Oracle components depend.

The name of each Oracle Grid Infrastructure resource that the clsetup utility creates is as follows:

sun.node.sc-rs

    The replaceable items in this name are as follows:

  • node specifies the name of the node where the Oracle Grid Infrastructure resource is to run.

  • sc-rs specifies the name of the Oracle Solaris Cluster resource that the Oracle Grid Infrastructure resource represents. This resource is created when the task in Registering and Configuring Storage Resources for Oracle Database Files is performed.

The Oracle Grid Infrastructure resource for the database instance on node depends on the Oracle Grid Infrastructure resource that the clsetup utility creates for that node. Oracle Grid Infrastructure resources for database instances are created during the installation and configuration of Support for Oracle RAC.

The name of the Oracle Grid Infrastructure resource for the database instance on a node is as follows:

ora.dbname.db

The dbname portion of the name specifies the database name of the database instance that the Oracle Grid Infrastructure resource represents.

Next Steps

Go to Verifying the Installation and Configuration of Support for Oracle RAC.