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

service_name oracle_service
service_cmd "$SGCONF/scripts/ecmt/oracle/tkit_module.sh oracle_monitor"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
service_name oracle_listener_service
service_cmd "$SGCONF/scripts/ecmt/oracle/tkit_module.sh oracle_monitor_listener"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
Uncomment the second set of service parameters in the package configuration file which are
used to monitor the listener.
Configure the toolkit parameter TKIT_DIR. This parameter is synonymous to the legacy
package directory (for example, /etc/cmcluster/asm_package_mnp). On a
cmapplyconf, TKIT_DIR will contain the toolkit configuration file haoracle.conf on
all configured nodes.
Configure the other toolkit parameters for the ASM package.
Apply the package configuration using:
# cmapplyconf -P asmpkg.conf
This command applies the package configuration to the Serviceguard Configuration Database
(CDB). It also creates a toolkit configuration directory defined by TKIT_DIR on all target
nodes, if not already present and then creates the toolkit configuration file in it with the values
specified in the asmpkg.conf file.
2. Database Failover Package Setup and Configuration
Create the modular package configuration file db1pkg.conf by including the toolkit attributes
that need to be configured later.
# cmmakepkg -m ecmt/oracle/oracle db1pkg.conf
Configure the following Serviceguard parameters:
package_name - Set to any name desired.
package_type - Set to "failover".
Edit the service parameters if necessary. The service parameters are preset to:
service_name oracle_service
service_cmd "$SGCONF/scripts/ecmt/oracle/tkit_module.sh oracle_monitor"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
service_name oracle_listener_service
service_cmd "$SGCONF/scripts/ecmt/oracle/tkit_module.sh oracle_monitor_listener"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
If the listener is not configured, comment the second set of service parameters which are used
to monitor the listener.
Edit the dependency parameters as shown:
dependency_name asm_dependency
dependency_condition <ASM MNP package_name>=up
dependency_location same_node
If SGeRAC packages are configured in the same cluster, then the ASM MNP package should
not be created and the Oracle database package should depend on the SGeRAC Clusterware
package instead of the ASM MNP. In this case, use the definition below instead of the one
above this paragraph:
ASM Package Configuration Example 45