Using Serviceguard Extension for RAC, 4th Edition, February 2007

Serviceguard Configuration for Oracle 10g RAC
Using Serviceguard Packages to Synchronize with Oracle 10g RAC
Chapter 2 105
DEPENDENCY_NAME mp2
DEPENDENCY_CONDITION SG-CFS-MP-2=UP
DEPENDENCY_LOCATION SAME_NODE
DEPENDENCY_NAME mp3
DEPENDENCY_CONDITION SG-CFS-MP-3=UP
DEPENDENCY_LOCATION SAME_NODE
Starting and Stopping Oracle Cluster Software
In the Serviceguard package control script, configure the Oracle
Cluster Software start in the customer_defined_run_cmds function
For 10g 10.1.0.04 or later:
/sbin/init.d/init.crs start
For 10g 10.2.0.01 or later:
<CRS HOME>/bin/crsctl start crs
In the Serviceguard package control script, configure the Oracle
Cluster Software stop in the customer_defined_halt_cmds function.
For 10g 10.1.0.04 or later:
/sbin/init.d/init.crs stop
For 10g 10.2.0.01 or later:
<CRS HOME>/bin/crsctl stop crs
When stopping Oracle Cluster Software in a Serviceguard package,
it may be necessary to verify that the Oracle processes have stopped
and exited before deactivating storage or halting CFS multi-node
package. The verification can be done with a script that loops and
checks for the successful stop message in the Oracle Cluster
Software logs or the existences of Oracle processes that needed to be
stopped, specifically the CSS daemon (ocssd.bin). For example, this
script could be called by the Serviceguard package control script
after the command to halt Oracle Cluster Software and before
storage deactivation.