Use this procedure to register and configure the Oracle Automatic Storage Management (Oracle ASM) resource group. Perform all steps from one node of the global cluster.
Before You Begin
Ensure that the framework resource groups are created. See How to Register and Configure the Framework Resource Groups.
If you use Solaris Volume Manager for Sun Cluster, ensure that the scalable device–group resource group is created. See How to Register and Configure the Scalable Device-Group Resource Group.
# clresourcetype register SUNW.scalable_asm_instance_proxy
# clresourcetype register SUNW.scalable_asm_diskgroup_proxy
# clresourcegroup create -S asm-inst-rg asm-dg-rg
Specifies the name of the Oracle ASM instance resource group.
Specifies the name of the Oracle ASM disk-group resource group.
# clresourcegroup set -p rg_affinities=++rac-fmwk-rg asm-inst-rg
# clresourcegroup set -p rg_affinities=++asm-inst-rg asm-dg-rg
# clresourcegroup set -p rg_affinities=++asm-inst-rg,++scal-dg-rg asm-dg-rg
# clresource create -g asm-inst-rg \ -t SUNW.scalable_asm_instance_proxy \ -p ORACLE_HOME=Grid_home \ -p CRS_HOME=Grid_home \ -p "ORACLE_SID{node1}"=+ASM1 \ -p "ORACLE_SID{node2}"=+ASM2 \ -p resource_dependencies_offline_restart=crs-fmwk-rs \ -d asm-inst-rs
Specifies the type of the resource to add.
Sets the path to the Oracle Grid Infrastructure home directory, where Oracle ASM is installed.
Sets the path to the Oracle Grid Infrastructure home directory, where Oracle Clusterware is installed.
Sets the Oracle ASM system identifier.
Specifies the name of the Oracle ASM instance resource that you create.
# clresourcegroup online -eM asm-inst-rg
# 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 \ -d asm-dg-rs
# 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,scal-dg-rs \ -d asm-dg-rs
# clresourcegroup online -eM asm-dg-rg
If the Oracle ACFS file system will not be used by a zone cluster, omit this step.
# clresourcetype register SUNW.wait_zc_boot # clresourcegroup create -S scal-wait-zc-rg # clresource create -g scal-wait-zc-rg \ -t SUNW.wait_zc—boot \ -p zcname=zonecluster \ wait-zc-rs # clresourcegroup online -eM scal-wait-zc-rg
Next Steps
Go to How to Create an Oracle Grid Infrastructure Resource for Interoperation With Oracle Solaris Cluster.