$rm libodm11.so

$ ln -s ${ORACLE_HOME}/lib/libodmd11.so ${ORACLE_HOME}/lib/libodm11.so

5.Restart the database.

Using Serviceguard Packages to Synchronize with Oracle 10g/11gR1/11gR2 RAC

It is recommended to start and stop Oracle Cluster Software in a Serviceguard package—the Oracle Cluster Software will start after SGeRAC is started, and will stop before SGeRAC is halted. Serviceguard packages should also be used to synchronize storage activation and deactivation with Oracle Cluster Software and RAC instances.

Preparing Oracle Cluster Software for Serviceguard Packages

CRS starts all RAC instances by default. You must disable CRS from starting up RAC instances when you configure your RAC instances in SGeRAC packages.

On each node of the cluster, disable the automatic startup of the Oracle Clusterware at boot time.

Login as root and enter:

: $ORA_CRS_HOME/bin/crsctl disable crs

(Check CRS logs or check for Oracle processes, ps -ef grep ocssd.bin)

On one node of the cluster, disable the Oracle RAC database and instances from being started automatically by the Oracle Clusterware.

Login as the Oracle administrator and run the following command to set the database management policy to manual.

For Oracle 10g:

: $ORACLE_HOME/bin/srvctl modify database -d <dbname> -y manual

For Oracle 11g:

: $ORACLE_HOME/bin/srvctl modify database -d <dbname> -y MANUAL

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, 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_rac”

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

Using Serviceguard Packages to Synchronize with Oracle 10g/11gR1/11gR2 RAC 67

Page 67
Image 67
HP Serviceguard Extension for RAC (SGeRAC) manual Preparing Oracle Cluster Software for Serviceguard Packages