Using the Oracle Toolkit in a HP Serviceguard Cluster README Revision: B.06.00, August 2010
hagetdbstatus.sh and hatimeoutdbhang.sh to check the database status.
- Alert Notification Script(SGAlert.sh)
This script is used to send an email to the email address specified
by
the value of the ALERT_MAIL_ID package attribute, whenever there are
critical problems with the package.
- Interface Script (toolkit.sh)
This script is the interface between the Serviceguard package
control script and the Oracle toolkit.
NOTE: The following three scripts are used only during the modular
method of packaging.
- Attribute Definition File (oracle)
For every parameter in the legacy toolkit user configuration file,
there is an attribute in the ADF. It also has an additional
attribute TKIT_DIR which is analogous to the package directory in
the legacy method of packaging. The ADF is used to generate a
package ASCII template file.
For the alert mail notification feature, an additional parameter
called
ALERT_MAIL_ID is introduced in the ADF.
ALERT_MAIL ID: Sends an email message to the specified email address
when
packages fail.This email is generated only when packages
fail,
and not when a package is halted by the operator.
To send this email message to multiple recipients, a group
email ID must be created and specified for this parameter.
When an email ID is not specified for this parameter, the
script does not send out this email.
Support for multiple listeners
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This feature provides support for multiple listeners with the ECM
Oracle Toolkit. The feature enables the user to configure:
1. Single service to monitor all the listeners together. This is the
default behavior. To enable single service to monitor all listeners,
the listener name must not be passed to the service command. The
service_cmd in the package configuration file would look like:
service_name oracle_listener_monitor
service_cmd "$SGCONF/scripts/ecmt/oracle/tkit_module.sh
oracle_monitor_listener"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
2. A separate service to monitor each listener. In this case, the
default
service_cmd in the package configuration file has to be changed to