HP Enterprise Cluster Master Toolkit User Guide (5900-2131, December 2011)

NOTE: Services configured using both the approaches in a single package is not supported.
You must either configure all the listeners using a single service, or use a separate service for each
of them.
Ensure that the elements in the LISTENER_RESTART array and the LISTENER_PASS array
corresponds to those in the LISTENER_NAME array in the package configuration file. In a situation
where some listeners do not require a restart value and others do not require a password, ordering
the elements in the arrays becomes difficult. In such a case, you must set the LISTENER_RESTART
as 0 and the LISTENER_PASS as empty quotes ("").
In the case of a legacy package, the LISTENER_NAME, LISTENER_PASS, and
LISTENER_RESTART are configured as arrays in the haoracle.conf file.
For example:
DescriptionAttribute Name
yesecmt/oracle/oracle/LISTENER
<listener_name1>ecmt/oracle/oracle/LISTENER_NAME[0]
""ecmt/oracle/oracle/LISTENER_PASS[0]
0ecmt/oracle/oracle/LISTENER_RESTART[0]
<listener_name2>ecmt/oracle/oracle/LISTENER_NAME[1]
""ecmt/oracle/oracle/LISTENER_PASS[1]
0ecmt/oracle/oracle/LISTENER_RESTART[1]
In the case of a modular package, the LISTENER_NAME, LISTENER_PASS, and
LISTENER_RESTART are configured in the package configuration file.
For example:
DescriptionAttribute Name
yesecmt/oracle/oracle/LISTENER
<listener_name1>ecmt/oracle/oracle/LISTENER_NAME
""ecmt/oracle/oracle/LISTENER_PASS
0ecmt/oracle/oracle/LISTENER_RESTART
<listener_name2>ecmt/oracle/oracle/LISTENER_NAME
""ecmt/oracle/oracle/LISTENER_PASS
0ecmt/oracle/oracle/LISTENER_RESTART
Support for database hang detection
This feature enables the user to configure a separate service which will detect the database hang
and then take appropriate action if a hang is detected. Database hang is detected by connecting
to the database and checking its status. If this process takes an unusually long time or if toolkit is
unable to retrieve the database status, then it is assumed that the database is hung. The user has
the option to configure two attributes when configuring this service:
1. TIMEOUT: This attribute defines how long the script should wait for the database hang check
to return success. If the database health cannot be determined within this time after connecting
to the database, then it is assumed that the database is hung. It can have any positive integer
18 Using the Oracle Toolkit in an HP Serviceguard Cluster