Oracle® Solaris Cluster Data Service for Oracle Real Application Clusters Guide

Exit Print View

Updated: July 2014, E39656–01
 
 

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

Before You Begin

  • Ensure that the Oracle Grid Infrastructure framework resource is created and that dependencies are configured between the Support for Oracle RAC framework resource and the Oracle Grid Infrastructure framework resource.

  • Ensure that the Support for Oracle RAC framework resource group, the multiple-owner volume-manager framework resource group if used, and their resources are online.

  1. Register the Oracle ASM resource types for the data service.
    1. Register the SUNW.scalable_asm_instance_proxy resource type.
      # clresourcetype register SUNW.scalable_asm_instance_proxy
    2. Register the SUNW.scalable_asm_diskgroup_proxy resource type.
      # clresourcetype register SUNW.scalable_asm_diskgroup_proxy
  2. Create the Oracle ASM instance and disk-group resource groups.
    # clresourcegroup create -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 -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. Create a SUNW.scalable_asm_instance_proxy resource and set the resource dependencies.
    # clresource create -g asm-inst-rg \
    -t SUNW.scalable_asm_instance_proxy \
    -p ORACLE_HOME=Grid_home \
    -p CRS_HOME=Grid_home \
    -p resource_dependencies_offline_restart=crs-fmwk-rs \
    -d asm-inst-rs
  6. Add a SUNW.scalable_asm_diskgroup_proxy resource type to the asm-dg-rg resource group.
    # 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[,storage-rs \
    -d asm-dg-rs
  7. Bring online the asm-inst-rg resource group in a managed state on a cluster node.
    # clresourcegroup online -M asm-inst-rg
  8. Bring online the asm-dg-rg resource group in a managed state on a cluster node.
    # clresourcegroup online -M asm-dg-rg
  9. Verify the Oracle ASM configuration.
    # clresource status +