Using the Oracle Toolkit in a HP Serviceguard Cluster README Revision: B.06.00, August 2010
hagetdbstatus.sh, hatimeoutdbhang.sh and SGAlert.sh) which work with
each other to integrate Oracle database with the Serviceguard
package control script.
For modular packages, there is an Attribute Definition File(ADF) -
oracle,
a Toolkit Module Script (tkit_module.sh) and a Toolkit Configuration
File Generator Script(tkit_gen.sh) which work with the six scripts
mentioned above for legacy packages, to integrate Oracle with the
Serviceguard Master Control Script.
These scripts are:
- haoracle.conf (user configuration file)
This script contains a list of pre-defined variables that the user
must customize for use with a particular database instance. This is
a configuration file which is read by the toolkit script,
haoracle.sh. The following shows a list of variables in
haoracle.conf
which need to be set for the database package.
INSTANCE_TYPE: This parameter determines whether the
instance is an ASM instance or a database
instance. Set this parameter to "database".
ORACLE_HOME: The home directory of Oracle.
ORACLE_ADMIN: User name of the Oracle database
administrator. Will be used for starting
and stopping of the database.
SID_NAME: The Oracle session name. This is
sometimes called the session ID (SID).
(example, ORACLE_TEST0) and uniquely
identifies an Oracle database instance.
START_MODE: This parameter defines the Oracle database
startup mode. Valid options are "nomount",
"mount" and "open". Default mode is "open".
LISTENER: Set to "yes" if you want this toolkit to
start and stop the Oracle Listener.
LISTENER_NAME: The name(s) of the listener process(es)
(typically the SID_NAME)
LISTENER_PASS: The password(s) of the listener
process(es).
LISTENER_RESTART: This parameter defines the number of
attempts
to be made to restart the listener(s).
PFILE: Oracle database parameter file. If