Using High Availability Monitors (June 2003)

Monitoring Database Resources
Rules for Using the HA Database Monitor with ServiceGuard
Chapter 3 73
Table 3-5 lists the ServiceGuard package control script parameters for
the shared volume group, VG01.
1.
FS_UMOUNT
is optional. It specifies how many additional times the
package shutdown script can attempt to deactivate the filesystem
where Oracle is mounted. The default number of retry attempts is 1.
The mounting and activation of the volume group where the Oracle
database resides is controlled by ServiceGuard.
ServiceGuard Sample Run/Halt Scripts
The following is a sample of the run and halt portion of the ServiceGuard
package control script.
In the section for customer-defined run commands, type:
function customer_defined_run_cmds
{
export ORACLE_HOME=<oracle_home_directory>
export ORACLE_SID=<oracle_sid>
PFILE=$ORACLE_HOME/dbs/init<sid>.ora
Table 3-5 Some ServiceGuard Package Control Script Parameters
Parameter Sample Data
LV[0]
/dev/VG01/lv_ora_2
LV[1]
/dev/VG01/lv_ora_3
LV[2]
/dev/VG01/lv_ora_4
FS[0]
/U02
FS[1]
/U03
FS[2]
/U04
FS_MOUNT_OPT[0]
-o rw
FS_MOUNT_OPT[1]
-o rw
FS_MOUNT_OPT[2]
-o rw
FS_UMOUNT
1=3
DEFERRED_RESOURCE_NAME
/rdbms/server/status/db_1