HP Serviceguard Enterprise Cluster Master Toolkit User Guide, June 2014
Create the modular package configuration file asmpkg.conf in any location, (for example,
/etc/cmcluster/asm_package_mnp). This includes all the toolkit attributes which you
must later configure.
# cmmakepkg -m ecmt/oracle/oracle asmpkg.conf
Configure the following Serviceguard parameters
package_name - Set to any name desired.
package_type - Set to "multi_node".
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
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 contains 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
a. 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
b. Configure the following Serviceguard parameters:
package_name - Set to any name desired.
package_type - Set to "failover".
c. 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
d. 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:
ASM Package Configuration Example 49