JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Oracle Real Application Clusters Guide
search filter icon
search icon

Document Information

Preface

1.  Installing Support for Oracle RAC

2.  Configuring Storage for Oracle Files

3.  Registering and Configuring the Resource Groups

4.  Enabling Oracle RAC to Run in a Cluster

5.  Administering Support for Oracle RAC

6.  Troubleshooting Support for Oracle RAC

7.  Modifying an Existing Configuration of Support for Oracle RAC

8.  Upgrading Support for Oracle RAC

A.  Sample Configurations of This Data Service

B.  Preset Actions for DBMS Errors and Logged Alerts

C.  Support for Oracle RAC Extension Properties

D.  Command-Line Alternatives

Setting Support for Oracle RAC Extension Properties

Registering and Configuring the Framework Resource Groups by Using Oracle Solaris Cluster Maintenance Commands

Overview of the Framework Resource Groups

RAC Framework Resource Group

Multiple-Owner Volume-Manager Framework Resource Group

How to Register and Configure the Framework Resource Groups in the Global Cluster by Using Oracle Solaris Cluster Maintenance Commands

How to Register and Configure the RAC Framework Resource Group in a Zone Cluster by Using Oracle Solaris Cluster Maintenance Commands

Registering and Configuring Oracle ASM Resource Groups (CLI)

How to Register and Configure Oracle ASM Resource Groups in the Global Cluster (CLI)

How to Register and Configure Oracle ASM Resource Groups in a Zone Cluster (CLI)

Creating Storage Management Resources by Using Oracle Solaris Cluster Maintenance Commands

Resources for Scalable Device Groups and Scalable File-System Mount Points

Resources for the Sun QFS Metadata Server

Configuration of Sun QFS Resource Groups With Oracle 9i and Oracle 10g Release 2 or 11g

Configuration of Sun QFS Resource Groups With Oracle 10g Release 1

How to Create a Resource for a Scalable Device Group in the Global Cluster

How to Create a Resource for a Scalable Device Group in a Zone Cluster

How to Register and Configure Resources for the Sun QFS Metadata Server in the Global Cluster

How to Register and Configure Resources for the Sun QFS Metadata Server for a Zone Cluster

How to Create a Resource for a File-System Mount Point in the Global Cluster

How to Create a Resource for a File-System Mount Point in Zone Cluster

Creating Resources for Interoperation With Oracle 10g or 11g by Using Oracle Solaris Cluster Maintenance Commands

How to Create Oracle Solaris Cluster Resources for Interoperation With Oracle 10g or 11g

How to Create Oracle Solaris Cluster Resources in a Zone Cluster for Interoperation With Oracle 10g or 11g

How to Create an Oracle Clusterware Resource for Interoperation With Sun Cluster

How to Create an Oracle Clusterware Oracle ASM Resource for Interoperation With Sun Cluster Software

Registering and Configuring Oracle Solaris Cluster Resources for Interoperation With Oracle 9i by Using Oracle Solaris Cluster Maintenance Commands

Oracle 9i RAC Server Resources

Oracle 9i Listener Resources

Logical Hostname Resources for Oracle 9i Listener Resources

How to Register and Configure Oracle Solaris Cluster Resources in a Global Cluster for Interoperation With Oracle 9i

How to Register and Configure Oracle Solaris Cluster Resources in a Zone Cluster for Interoperation With Oracle 9i

Index

How to Register and Configure the Framework Resource Groups in the Global Cluster by Using Oracle Solaris Cluster Maintenance Commands

Perform this procedure on only one node of the global cluster.

  1. Become superuser or assume a role that provides solaris.cluster.admin and solaris.cluster.modify RBAC authorizations.
  2. Create a scalable Oracle RAC resource group.

    Note - If you are performing the steps in this procedure to register and configure the RAC resource framework in a zone cluster and RAC support is not also required in the global cluster, you do not need to also create a RAC framework resource group in the global cluster. In that case, skip this step and proceed to Step 7.



    Tip - If you require Support for Oracle RAC to run on all cluster nodes, specify the -S option in the command that follows and omit the options -n, -p maximum_primaries, -p desired_primaries, and -p rg_mode.


    # clresourcegroup create -n nodelist \
      -p maximum_primaries=num-in-list \
      -p desired_primaries=num-in-list \
      [-p rg_description="description"] \
      -p rg_mode=Scalable rac-fmwk-rg
    -n nodelist=nodelist

    Specifies a comma-separated list of cluster nodes on which Support for Oracle RAC is to be enabled. The Support for Oracle RAC software packages must be installed on each node in this list.

    -p maximum_primaries=num-in-list

    Specifies the number of nodes on which Support for Oracle RAC is to be enabled. This number must equal the number of nodes in nodelist.

    -p desired_primaries=num-in-list

    Specifies the number of nodes on which Support for Oracle RAC is to be enabled. This number must equal the number of nodes in nodelist.

    -p rg_description="description"

    Specifies an optional brief description of the resource group. This description is displayed when you use Oracle Solaris Cluster maintenance commands to obtain information about the resource group.

    -p rg_mode=Scalable

    Specifies that the resource group is scalable.

    rac-fmwk-rg

    Specifies the name that you are assigning to the Oracle RAC resource group.

  3. Register the SUNW.rac_framework resource type.
    # clresourcetype register SUNW.rac_framework
  4. Add an instance of the SUNW.rac_framework resource type to the resource group that you created in Step 2.
    # clresource create -g rac-fmwk-rg -t SUNW.rac_framework rac-fmwk-rs
    -g rac-fmwk-rg

    Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 2.

    rac-fmwk-rs

    Specifies the name that you are assigning to the SUNW.rac_framework resource.

  5. SPARC: Register the SUNW.rac_udlm resource type.
    # clresourcetype register SUNW.rac_udlm
  6. SPARC: Add an instance of the SUNW.rac_udlm resource type to the resource group that you created in Step 2.

    Ensure that this instance depends on the SUNW.rac_framework resource that you created in Step 4.

    # clresource create -g resource-group \
     -t SUNW.rac_udlm \
     -p resource_dependencies=rac-fmwk-rs rac-udlm-rs
    -g rac-fmwk-rg

    Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 2.

    -p resource_dependencies=rac-fmwk-rs

    Specifies that this instance depends on the SUNW.rac_framework resource that you created in Step 4.

    rac-udlm-rs

    Specifies the name that you are assigning to the SUNW.rac_udlm resource.

  7. Create a scalable multiple-owner volume-manager framework resource group, if one does not already exist.

    If you do not intend to create a multiple-owner volume-manager framework resource group, skip to Step 10.

    # clresourcegroup create -n nodelist -S vucmm-fmwk-rg
    -n nodelist=nodelist

    Specifies the same node list that you configured for the scalable Oracle RAC resource group.

    vucmm-fmwk-rg

    Specifies the name that you are assigning to the multiple-owner volume-manager framework resource group.

  8. Register the SUNW.vucmm_framework resource type.

    If you did not create a multiple-owner volume-manager framework resource group, skip to Step 10.

    # clresourcetype register SUNW.vucmm_framework
  9. Add an instance of the SUNW.vucmm_framework resource type to the resource group that you created in Step 7.

    If you did not create a multiple-owner volume-manager framework resource group, skip to Step 10.

    # clresource create -g vucmm-fmwk-rg -t SUNW.vucmm_framework vucmm-fmwk-rs
    -g vucmm-fmwk-rg

    Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 7.

    vucmm-fmwk-rs

    Specifies the name that you are assigning to the SUNW.vucmm_framework resource.

  10. Register and add an instance of the resource type that represents the volume manager that you are using for Oracle files, if any.

    If you are not using a volume manager, omit this step.

    • If you are using Solaris Volume Manager for Sun Cluster, register and add the instance as follows:
      1. Register the resource type.
        # clresourcetype register svm-rt
        svm-rt

        Specifies the resource type you register.

        • If you are using a SUNW.vucmm_framework based resource group, register the SUNW.vucmm_svm resource type.

        • If you are using only a SUNW.rac_framework based resource group, register the SUNW.rac_svm resource type.

      2. Add an instance of the resource type to the resource group to contain the volume manager resource.

        Ensure that this instance depends on the framework resource that you created.

        # clresource create -g fmwk-rg \
          -t svm-rt \
          -p resource_dependencies=fmwk-rs svm-rs
        -g fmwk-rg

        Specifies the resource group to which you are adding the resource.

        • If you are using a SUNW.vucmm_framework based resource group, specify the resource group that you created in Step 7.

        • If you are using only a SUNW.rac_framework based resource group, specify the resource group that you created in Step 2.

        -p resource_dependencies=fmwk-rs

        Specifies that this instance depends on the framework resource that you created.

        • If you are using a SUNW.vucmm_framework based resource group, specify the resource group that you created in Step 9.

        • If you are using only a SUNW.rac_framework based resource group, specify the resource group that you created in Step 4.

        svm-rs

        Specifies the name that you are assigning to the SUNW.vucmm_svm or SUNW.rac_svm resource.

    • SPARC: If you are using VxVM with the cluster feature, register and add the instance as follows.
      1. Register the resource type.
        # clresourcetype register cvm-rt
        cvm-rt

        Specifies the resource type you register.

        • If you are using a SUNW.vucmm_framework based resource group, register the SUNW.vucmm_cvm resource type.

        • If you are using only a SUNW.rac_framework based resource group, register the SUNW.rac_cvm resource type.

      2. Add an instance of the resource type to the resource group that you created.

        Ensure that this instance depends on the framework resource that you created.

        # clresource create -g fmwk-rg \
          -t cvm-rt \
          -p resource_dependencies=fmwk-rs cvm-rs
        -g fmwk-rg

        Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created.

        • If you are using a SUNW.vucmm_framework based resource group, specify the resource group that you created in Step 7.

        • If you are using only a SUNW.rac_framework based resource group, specify the resource group that you created in Step 2.

        -p resource_dependencies=fmwk-rs

        Specifies that this instance depends on the framework resource that you created.

        • If you are using a SUNW.vucmm_framework based resource group, specify the resource group that you created in Step 9.

        • If you are using only a SUNW.rac_framework based resource group, specify the resource group that you created in Step 4.

        cvm-rs

        Specifies the name that you are assigning to the SUNW.vucmm_cvm or SUNW.rac_cvm resource.

  11. Bring online and in a managed state the RAC framework resource group, the multiple-owner volume-manager framework resource group if used, and their resources.
    # clresourcegroup online -emM rac-fmwk-rg [vucmm-fmwk-rg]
    rac-fmwk-rg

    Specifies that the RAC resource group that you created in Step 2 is to be moved to the MANAGED state and brought online.

    vucmm-fmwk-rg

    Specifies that the multiple-owner volume-manager framework resource group that you created in Step 7 is to be moved to the MANAGED state and brought online.