Sample Configuration with HP Serviceguard Extension for RAG and Oracle Real Application Clusters 11g release 2 using Cluster File System

26
ORACLE_HOME /cfs/mnt1/oracle/product/11.2.0/db_1
ORACLE_USER oracle
dependency_name SG-CFS-MP-1-DEP
dependency_condition SG-CFS-MP-1=up
dependency_location same_node
dependency_name SG-CFS-MP-2-DEP
dependency_condition SG-CFS-MP-2=up
dependency_location same_node
dependency_name crsp-DEP
dependency_condition crsp=up
dependency_location same_node
service_name racp_monitor
service_cmd "$SGCONF/scripts/sgerac/erac_tk_rac.sh
rac_check"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
4.
Add the package to the cluster.
# cd /etc/cmcluster/racp
cmapplyconf -P pkgConfigFile
Attempting to validate racp.
The specified run script timeout is 600 seconds.
cmapplyconf will wait for this amount of time for the
script to complete before giving up.
Validation for package racp succeeded via
/etc/cmcluster/scripts/mscripts/master_control_script.sh.
Modify the package configuration ([y]/n)? y
Completed the cluster update
Note: The cluster and package configuration may also be achieved easily with SG Manager. For
more details, see:
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prod
ClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=416196
6
Start and stop SG packages and Oracle RAC
On each node, halt OC if running.
# $ORA_CRS_HOME/bin/crsctl stop crs
Start the complete stack by running the SG packages.
# cmrunpkg crsp
Running package crsp on node ccia1
Successfully started package crsp on node ccia1
Running package crsp on node ccia2
Successfully started package crsp on node ccia2
cmrunpkg: All specified packages are running
# cmrunpkg racp