JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Oracle Real Application Clusters Guide     Oracle Solaris Cluster
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

Oracle 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 Oracle 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 Version 9i, 10g Release 2, 11g, or 12c

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, 11g, or 12c by Using Oracle Solaris Cluster Maintenance Commands

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

How to Create an Oracle Grid Infrastructure Resource for Interoperation With Oracle Solaris Cluster

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

How to Create Oracle Solaris Cluster Resources in the Global Cluster for Interoperation With Oracle 10g, 11g, or 12c

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

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 Create an Oracle ASM Resource for Oracle Clusterware Interoperation With Oracle Solaris Cluster Software

Oracle Clusterware and Oracle Solaris Cluster need to interoperate between each other to ensure that dependencies between various file systems, global devices, or Oracle ASM disk groups are met. To achieve this, you create sun-prefixed Oracle Clusterware resources. Once created, the sun-prefixed Oracle Clusterware resources ensure an orderly startup of an Oracle ASM disk group and the Oracle RAC 10g release 2 or 11g release 1 database.


Note - Some steps in this procedure require you to use Oracle Clusterware commands. In these steps, the syntax of the command for Oracle 10g release 2 or 11g release 1 is provided.

If you are using Oracle 11g release 2 or 12c, use instead How to Create an Oracle Grid Infrastructure Resource for Interoperation With Oracle Solaris Cluster. If you are using a version of Oracle other than these releases, see your Oracle documentation for the correct command syntax.



Note - To create an Oracle ASM resource for Oracle Clusterware in a zone cluster, perform the steps in this procedure from that zone cluster.


  1. Become superuser.
  2. On each node where Support for Oracle RAC is to run, create the /var/cluster/ucmm/profile directory, if it does not already exist.
    # mkdir -p /var/cluster/ucmm/profile

    Profiles for Oracle Clusterware resources are created in this directory.

  3. Create a profile for the Oracle ASM disk-group resource for Oracle Clusterware.
    # Grid_home/bin/crs_profile \
    -create sun.node.asm-dg-rs \
    -t application -d "description" \
    -dir /var/cluster/ucmm/profile \
    -a /opt/SUNWscor/dsconfig/bin/scproxy_crs_action \
    -p restricted -h node -f -o ra=60,st=20
    asm-dg-rs

    Specifies the name of the Oracle ASM disk-group resource for Oracle Clusterware.

  4. Register the Oracle ASM disk-group resource for Oracle Clusterware for which you created a profile in Step 3.
    # Grid_home/bin/crs_register sun.node.asm-dg-rs \
    -dir /var/cluster/ucmm/profile
  5. Ensure that the Oracle Solaris Cluster resource, for which the Oracle ASM disk-group resource for Oracle Clusterware is a proxy, is online.
    1. Obtain the state of the Oracle Solaris Cluster resource.
      # clresource status asm-dg-rs
    2. If the state of the Oracle Solaris Cluster resource is not online, bring online the resource group that contains the Oracle Solaris Cluster resource.

      If the state of the Oracle Solaris Cluster resource is online, omit this step.

      # clresourcegroup online -emM asm-dg-rg
  6. Start the Oracle ASM disk-group resource for Oracle Clusterware that you registered in Step 4.
    # Grid_home/bin/crs_start sun.node.asm-dg-rs
  7. On each node where Support for Oracle RAC is to run, add a dependency for the Oracle ASM disk-group resource for Oracle Clusterware.

    Add the Oracle Clusterware with Oracle ASM disk-group resource that you registered in Step 4 to the list of resources that the dependent Oracle Clusterware with Oracle ASM disk-group resource requires.

    1. Obtain the name of the Oracle Clusterware RAC instance resource.
      # Grid_home/bin/srvctl config database -d db-name | grep node
    2. List the dependencies for the Oracle Clusterware RAC instance resource.
      # Grid_home/bin/crs_stat -p ora.db-name.instance.inst | grep REQUIRED_RESOURCES
    3. Add the name of the Oracle ASM disk-group resource for Oracle Clusterware to the list that you obtained in Step b.
      # Grid_home/bin/crs_register ora.db-name.instance.inst \
      -update -r "existing-list sun.node.asm-dg-rs"
  8. On each node where Support for Oracle RAC is to run, add a dependency for the Oracle ASM instance resource for Oracle Clusterware.

    Add the Oracle ASM instance resource as a depended-on resource that the Oracle ASM disk group requires.

    1. Obtain the name for the Oracle ASM instance resource for Oracle Clusterware.
      # Grid_home/bin/crs_stat -p | grep -i asm | grep node
    2. Add the Oracle ASM instance resource for Oracle Clusterwareas a depended-on resource to the Oracle ASM disk-group resource for Oracle Clusterware.
      # Grid_home/bin/crs_register -p sun.node.asm-dg-rs 
      -update -r crs-asm-instance