"TKIT_DIR" in the modular package configuration file. Serviceguard uses the toolkit scripts in the configuration directory by default. If the scripts are not found in the configuration directory, Serviceguard takes them from the installation directory.
This feature is useful for customers wanting to use modified versions of the toolkit.
1.ASM
NOTE: This package must not be created if SGeRAC packages are created in the same cluster.
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 need to be configured later by the user.
# cmmakepkg
Configure the Serviceguard parameters as mentioned below:
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 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
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
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"