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

Before You Begin

  1. Register the ASM resource types for the data service.
    1. Register the scalable ASM instance proxy resource type.
      # clresourcetype register SUNW.scalable_asm_instance_proxy
    2. Register the ASM disk-group resource type.
      • For 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 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 Oracle ASM home is located on a 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 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 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 cluster 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=crs_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 Oracle ASM home directory.

      -p CRS_HOME=crs-home

      Sets the path to the Oracle Clusterware home directory.

      -p ORACLE_SID=asm-instance

      Sets the Oracle 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=crs_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=crs_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 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 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. Verify the Oracle ASM configuration.
    # clresource status +