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 a Zone Cluster (CLI)

Before You Begin

Perform all steps from the global zone.

  1. Register the ASM resource types for the data service.
    1. Register the scalable ASM instance proxy resource type.
      # clresourcetype register -Z zcname 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 -Z zcname SUNW.asm_diskgroup
      • For Oracle 11g release 2 only, use the SUNW.scalable_asm_diskgroup_proxy resource type.
        # clresourcetype register -Z zcname SUNW.scalable_asm_diskgroup_proxy
  2. Create resource groups asm-inst-rg and asm-dg-rg.
    # clresourcegroup create -Z zcname -S asm-inst-rg asm-dg-rg
    asm-inst-rg

    Specifies the name of the Oracle ASM instance resource group.

    asm-dg-rg

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

  3. Set a strong positive affinity on rac-fmwk-rg by asm-inst-rg.
    # clresourcegroup set -Z zcname -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 -Z zcname -p rg_affinities=++asm-inst-rg asm-dg-rg
  5. If the Oracle Oracle ASM home is located on a Sun QFS shared file system, create a storage resource.
    1. Ensure that the file system is available for use from within the zone cluster.
      # clzonecluster configure zcname
      clzc:zcname> add fs
      clzc:zcname:fs> set dir=mountpoint
      clzc:zcname:fs> set special=QFSfilesystemname
      clzc:zcname:fs> set type=samfs
      clzc:zcname:fs> end
      clzc:zcname> verify
      clzc:zcname> commit
      clzc:zcname> exit
    2. Create a storage resource and bring it online.

      Create a SUNW.qfs resource with a dependency on a SUNW.wait_zc_boot resource.

      # clresourcetype register SUNW.wait_zc_boot
      # clresourcetype register SUNW.qfs
      
      # clresourcegroup create -S scal-wait-zc-rg
      # clresourcegroup create qfs-rg
      
      # clresource create -g scal-wait-zc-rg \
      -t SUNW.wait_zc_boot \
      -p zcname=zcname \
      wait-zc-rs
      
      # clresource create -g qfs-rg \
      -t SUNW.qfs \
      -p QFSFileSystem=qfs-mp \
      -p resource_dependencies=wait-zc-rs
      qfs-rs
      
      # clresourcegroup online -eM scal-wait-zc-rg
      # clresourcegroup online -eM qfs-rg
      scal-wait-zc-rg

      Specifies the name of the SUNW.wait_zc_boot resource group.

      qfs-rg

      Specifies the name of the QFS resource group.

      wait-zc-rs

      Specifies the name of the SUNW.wait_zc_boot resource.

      -p QFSFileSystem=qfs-mp

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

    3. Create a scalable mount-point resource, set the resource dependency, and bring the resource group online.
      # clresourcetype register -Z zcname SUNW.ScalMountPoint
      # clresourcegroup create -Z zcname -S scal-mp-rg
      
      # clresource create -Z zcname -g scal-mp-rg \
      -t SUNW.ScalMountPoint \
      -p mountpointdir=qfs-mp \
      -p filesystemtype=s-qfs \
      -p targetfilesystem=qfs-fs \
      -p resource_dependencies_restart=global:qfs-rs \
      qfs-mp-rs
      
      # clresourcegroup online -Z zcname -eM scal-mp-rg
      scal-mp-rg

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

      -p targetfilesystem=qfs-fs

      Specifies the name of the QFS shared file system.

      qfs-rs

      Specifies the name of the QFS resource.

      qfs-mp-rs

      Specifies the name of the scalable mount-point resource.

  6. Create a SUNW.scalable_asm_instance_proxy resource and set the resource dependencies.
    • For a QFS shared file system, perform the following command:
      # clresource create -Z zcname -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
    • For a local file system, perform the following command:
      # clresource create -Z zcname -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
      -g asm-inst-rg

      Specifies the name of the resource group into which the resources are to be placed.

      -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 ORACLE_SID=asm-instance

      Sets the Oracle Oracle ASM system identifier.

      -d asm-inst-rs

      Specifies the name of the resource that you are creating.

  7. 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 -Z zcname -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 -Z zcname -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
  8. Bring online the asm-inst-rg resource group in a managed state on a cluster node.
    # clresourcegroup online -Z zcname -eM asm-inst-rg
  9. Bring online the asm-dg-rg resource group in a managed state on a cluster node.
    # clresourcegroup online -Z zcname -eM asm-dg-rg
  10. Verify the Oracle ASM configuration.
    # clresource status -Z zcname +