Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for Oracle Real Application Clusters Guide |
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
Setting Support for Oracle RAC Extension Properties
Overview of the Framework Resource Groups
Multiple-Owner Volume-Manager Framework Resource Group
Registering and Configuring Oracle ASM Resource Groups (CLI)
How to Register and Configure Oracle ASM Resource Groups in the Global 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
How to Create Oracle Solaris Cluster Resources 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
Oracle 9i RAC Server Resources
Before You Begin
Ensure that the Oracle Clusterware framework resource is created and that dependencies are configured between the RAC framework resource and the Oracle Clusterware framework resource.
Ensure that the RAC framework resource group, the multiple-owner volume-manager framework resource group if used, and their resources are online.
Perform all steps from the global zone.
# clresourcetype register -Z zcname SUNW.scalable_asm_instance_proxy
# clresourcetype register -Z zcname SUNW.asm_diskgroup
# clresourcetype register -Z zcname SUNW.scalable_asm_diskgroup_proxy
# clresourcegroup create -Z zcname -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 -Z zcname -p rg_affinities=++rac-fmwk-rg asm-inst-rg
# clresourcegroup set -Z zcname -p rg_affinities=++asm-inst-rg asm-dg-rg
# 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
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
Specifies the name of the SUNW.wait_zc_boot resource group.
Specifies the name of the QFS resource group.
Specifies the name of the SUNW.wait_zc_boot resource.
Sets the mount point of the QFS shared file system that is used for the Oracle Oracle ASM home.
# 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
Specifies the name of the scalable mount-point resource group.
Specifies the name of the QFS shared file system.
Specifies the name of the QFS resource.
Specifies the name of the scalable mount-point resource.
# 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
# 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
Specifies the name of the resource group into which the resources are to be placed.
Specifies the type of the resource to add.
Sets the path to the Oracle Oracle ASM home directory.
Sets the Oracle Oracle ASM system identifier.
Specifies the name of the resource that you are creating.
# 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
Specifies the type of the resource to add.
Specifies the ASM disk group.
Specifies the name of the resource that you are creating.
# 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
# clresourcegroup online -Z zcname -eM asm-inst-rg
# clresourcegroup online -Z zcname -eM asm-dg-rg
# clresource status -Z zcname +