Using the Oracle Toolkit in a HP Serviceguard Cluster README Revision: B.06.00, August 2010
- Configure the toolkit parameter TKIT_DIR. This parameter is
synonymous to
the legacy package directory (e.g. /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 as
mentioned in
section D for the ASM legacy 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