HP Serviceguard Toolkit for Oracle on Linux User Guide Version A.12.00.00

6 Supporting Oracle features
Support for multiple listeners
This section explains support for multiple listeners with the HP Serviceguard toolkit for Oracle. It
enables you to configure:
Single service to monitor all the listeners together
A separate service to monitor each listener
NOTE: In a single package, it is not possible to configure the services using both the approaches.
You must either configure all the listeners using a single service, or use a separate service for each
listener.
Ensure that the elements in the LISTENER_RESTART array and the LISTENER_PASS array
correspond 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
to 0 and the LISTENER_PASS to empty quotes ("").
The LISTENER_NAME, LISTENER_PASS, and LISTENER_RESTART are configured in the package
configuration file.
For example:
DescriptionAttribute name
yestkit/oracle/oracle/LISTENER
<listener_name1>tkit/oracle/oracle/LISTENER_NAME
""tkit/oracle/oracle/LISTENER_PASS
0tkit/oracle/oracle/LISTENER_RESTART
<listener_name2>tkit/oracle/oracle/LISTENER_NAME
""tkit/oracle/oracle/LISTENER_PASS
0tkit/oracle/oracle/LISTENER_RESTART
Single service to monitor all the listeners together
This is the default behavior. If one of the configured listeners fail, it does not impact the service.
However, if all the configured listeners fail, the service fails, and it leads to the failover of the
package to an alternate node. To enable single service to monitor all listeners, you must not pass
the listener name to the service command. The service_cmd in the package configuration file
appears as follows:
DescriptionAttribute name
oracle_listener_monitorservice_name
“$SGCONF/scripts/tkit/oracle/tkit_module.sh
oracle_monitor_listener
service_cmd
noneservice_restart
noservice_fail_fast_enabled
300service_halt_timeout
36 Supporting Oracle features