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 Register and Configure Oracle ASM Resource Groups in the Global Cluster (CLI)

Before You Begin


Note - For 11g release 2 and 12c, Oracle ASM is only supported with hardware RAID. The use of Oracle ASM disk groups on devices that are managed by volume managers is not supported with version 11g release 2 or 12c.


  1. Register the Oracle ASM resource types for the data service.
    1. Register the scalable Oracle ASM instance proxy resource type.
      # clresourcetype register SUNW.scalable_asm_instance_proxy
    2. Register the Oracle ASM disk-group resource type.
      • For Oracle 10g and 11g release 1 only, use the SUNW.asm_diskgroup resource type.
        # clresourcetype register SUNW.asm_diskgroup
      • For Oracle 11g release 2 or 12c only, use the SUNW.scalable_asm_diskgroup_proxy resource type.
        # clresourcetype register SUNW.scalable_asm_diskgroup_proxy
  2. Create resource groups asm-inst-rg and asm-dg-rg.
    # clresourcegroup create -S asm-inst-rg asm-dg-rg
    asm-inst-rg

    Specifies the name of the ASM instance resource group.

    asm-dg-rg

    Specifies the name of the ASM disk-group resource group.

  3. Set a strong positive affinity on rac-fmwk-rg by asm-inst-rg.
    # clresourcegroup set -p rg_affinities=++rac-fmwk-rg asm-inst-rg
  4. Set a strong positive affinity on asm-inst-rg by asm-dg-rg.
    # clresourcegroup set -p rg_affinities=++asm-inst-rg asm-dg-rg
  5. If the Oracle ASM home is located on a PxFS-based cluster file system or a Sun QFS shared file system, create a storage resource and bring it online.
    • For a cluster file system, create a SUNW.HAStoragePlus resource.
      # clresourcetype register SUNW.HAStoragePlus
      
      # clresource create -g asm-inst-rg \
      -t SUNW.HAStoragePlus \
      -p FileSystemMountpoints=clusterfilesystem \
      asm-stor-rs
      # clresourcegroup online -eM asm-inst-rg
      -p FileSystemMountpoints=clusterfilesystem

      Sets the cluster file system.

      asm-stor-rs

      Specifies the name of the Oracle ASM storage resource that you are creating.

    • For a Sun QFS shared file system, create a SUNW.qfs resource.
      # clresourcetype register SUNW.qfs
      # clresourcegroup create qfs-rg
      
      # clresource create -g qfs-rg \
      -t SUNW.qfs \
      -p QFSFileSystem=qfs-mp \
      qfs-rs
      
      # clresourcegroup online -eM qfs-rg
      qfs-rg

      Specifies the name of the QFS resource group.

      -p QFSFileSystem=qfs-mp

      Sets the mount point of the QFS shared file system that is used for the Oracle ASM home.

      qfs-rs

      Specifies the name of the QFS resource.

  6. If you use a Sun QFS shared file system for the Oracle ASM home, create a scalable mount-point resource, set the resource dependency, and bring the resource group online.
    # clresourcetype register SUNW.ScalMountPoint
    # clresourcegroup create -S scal-mp-rg
    
    # clresource create -g scal-mp-rg \
    -t SUNW.ScalMountPoint \
    -p mountpointdir=qfs-mp \
    -p filesystemtype=s-qfs \
    -p targetfilesystem=qfs-fs \
    -p resource_dependencies_restart=qfs-rs \
    qfs-mp-rs
    
    # clresourcegroup online -eM scal-mp-rg
    -p mountpointdir=qfs-mp

    Sets the QFS mount point.

    -p targetfilesystem=qfs-fs

    Sets the QFS shared file system.

    scal-mp-rg

    Specifies the name of the scalable mount-point resource group.

  7. Create a SUNW.scalable_asm_instance_proxy resource and set the resource dependencies.
    • For a PxFS-based cluster file system or Oracle ACFS file system, perform the following commands:
      # clresource create -g asm-inst-rg \
      -t SUNW.scalable_asm_instance_proxy \
      -p ORACLE_HOME=oracle-asm-home \
      -p CRS_HOME=Grid_home \
      -p "ORACLE_SID{node1}"=asm-instance1 \
      -p "ORACLE_SID{node2}"=asm-instance2 \
      -p resource_dependencies_restart=asm-stor-rs \
      -p resource_dependencies_offline_restart=crs-fmwk-rs \
      -d asm-inst-rs
      -t SUNW.scalable_asm_instance_proxy

      Specifies the type of the resource to add.

      -p ORACLE_HOME=oracle-asm-home

      Sets the path to the Oracle ASM home directory.

      -p CRS_HOME=Grid_home

      Sets the path to the Oracle Clusterware home directory.

      -p ORACLE_SID=asm-instance

      Sets the Oracle ASM system identifier.

      -d asm-inst-rs

      Specifies the name of the Oracle ASM instance resource that you create.

    • For a QFS shared file system, perform the following commands:
      # clresource create -g asm-inst-rg \
      -t SUNW.scalable_asm_instance_proxy \
      -p ORACLE_HOME=oracle-asm-home \
      -p CRS_HOME=Grid_home \
      -p "ORACLE_SID{node1}"=asm-instance1 \
      -p "ORACLE_SID{node2}"=asm-instance2 \
      -p resource_dependencies_offline_restart=crs-fmwk-rs,qfs-mp-rs \
      -d asm-inst-rs
      qfs-mp-rs

      Specifies the name of the scalable mount-point resource.

    • For a local file system, perform the following commands:
      # clresource create -g asm-inst-rg \
      -t SUNW.scalable_asm_instance_proxy \
      -p ORACLE_HOME=oracle-asm-home \
      -p CRS_HOME=Grid_home \
      -p "ORACLE_SID{node1}"=asm-instance1 \
      -p "ORACLE_SID{node2}"=asm-instance2 \
      -p resource_dependencies_offline_restart=crs-fmwk-rs \
      -d asm-inst-rs
  8. Add an Oracle ASM disk-group resource type to the asm-dg-rg resource group.
    • For Oracle 10g and 11g release 1 only, use the SUNW.asm_diskgroup resource type.
      # clresource create -g asm-dg-rg \
      -t SUNW.asm_diskgroup \
      -p asm_diskgroups=dg[,dg…] \
      -p resource_dependencies_offline_restart=asm-inst-rs,asm-stor-rs \
      -d asm-dg-rs
      -t SUNW.asm_diskgroup

      Specifies the type of the resource to add.

      -p asm_diskgroups=dg

      Specifies the ASM disk group.

      -d asm-dg-rs

      Specifies the name of the resource that you are creating.

    • For Oracle 11g release 2 or 12c only, use the SUNW.scalable_asm_diskgroup_proxy resource type.
      # clresource create -g asm-dg-rg -t SUNW.scalable_asm_diskgroup_proxy \
      -p asm_diskgroups=dg[,dg…] \
      -p resource_dependencies_offline_restart=asm-inst-rs,asm-stor-rs \
      -d asm-dg-rs
  9. Bring online the asm-inst-rg resource group in a managed state on a cluster node.
    # clresourcegroup online -eM asm-inst-rg
  10. Bring online the asm-dg-rg resource group in a managed state on a cluster node.
    # clresourcegroup online -eM asm-dg-rg
  11. For an Oracle ACFS file system, create the Oracle ACFS proxy resource.
    1. Register the Oracle ACFS proxy resource type.
      # clresourcetype register SUNW.scalable_acfs_proxy
    2. Create the Oracle ACFS proxy resource group.

      Set a strong positive affinity on asm-dg-rg by acfs-rg.

      # clresourcegroup create -S -p rg_affinities=++asm-dg-rg acfs-rg
      acfs-rg

      Specifies the Oracle ACFS proxy resource group.

    3. Create a SUNW.scalable_acfs_proxy resource and set the resource dependencies.
      # clresource create -g asm-inst-rg \
      -t SUNW.scalable_acfs_proxy \
      -p ACFS_MOUNTPOINT=acfs-mount-path \
      -p resource_dependencies_offline_restart=asm-dg-rs \
      -d acfs-rs
      -t SUNW.scalable_acfs_proxy

      Specifies the type of the resource to add.

      -p ACFS_MOUNTPOINT=acfs-mount-path

      Sets the path to the Oracle ACFS mount point.

      -d acfs-rs

      Specifies the name of the resource that you are creating.

    4. Bring online the acfs-rg resource in a managed state on a cluster node.
      # clresourcegroup online -eM acfs-rg
  12. Verify the Oracle ASM configuration.
    # clresource status +