Using Serviceguard Extension for RAC, 6th Edition, April 2008
Preparing Oracle Cluster Software for Serviceguard Packages
• Stopping the Oracle Cluster Software on each Node
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
Wait until Oracle Cluster Software completely stops. (Check CRS logs or check for
Oracle processes, ps -ef | grep ocssd.bin)
• Change Oracle Cluster Software from Starting at Boot Time on each Node
For 10g 10.1.0.04 or later:
# /sbin/init.d/init.crs disable
For 10g 10.2.0.01 or later:
# <CRS HOME>/bin/crsctl disable crs
Configure Serviceguard Packages
A Serviceguard package is needed for each node to start and stop Oracle Cluster
Software.
• Storage Activation (SLVM)
When the Oracle Cluster Software required storage is configured on SLVM volume
groups or CVM disk groups, the Serviceguard package should be configured to
activate and deactivate the required storage in the package control script.
As an example, modify the control script to activate the volume group in shared
mode and set VG in the package control script for SLVM volume groups.
VG[0]=”vg_ops”
• Storage Activation (CVM)
When the Oracle Cluster Software required storage is configured on CVM disk
groups, the Serviceguard package should be configured to activate and deactivate
the required storage in the package configuration file and control script.
In the package configuration file, specify the disk group with the STORAGE_GROUP
key word. In the package controls script, specify the disk group with the CVM_DG
variable.
As an example, in the package configuration file should have the following:
STORAGE_GROUP ops_dg
Modify the package control script to set the CVM disk group to “activate” for
shared write and to specify the disk group.
CVM_DG[0]=”ops_dg”
Using Serviceguard Packages to Synchronize with Oracle 10g RAC 91