HP Serviceguard Enterprise Cluster Master Toolkit User Guide, June 2014
c. Create the modular package configuration file db1pkg.conf . Ensure that you include
the toolkit attributes that need to be configured later by the user.
# cmmakepkg -m ecmt/oracle/oracle db1pkg.conf
Edit the package configuration file pkg.conf and 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 configured, uncomment the second set of service parameters which are
used to monitor the listener.
Edit the dependency parameters as shown:
dependency_name oc_dependency
dependency_condition <SGeRAC OC MNP Package name>=up
dependency_location same_node
If the Oracle database is created on LVM logical volumes, specify the names of the volume
groups for the parameter "vg".
Configure the ip_subnet and ip_address parameters.
d. Configure the toolkit parameter TKIT_DIR. This parameter is synonymous to the legacy
package directory. On a cmapplyconf, TKIT_DIR contains the toolkit configuration
file haoracle.conf on all configured nodes. For example, TKIT_DIR /etc/
cmcluster/db1_package.
Configure the other toolkit parameters for the database package for the database failover
legacy package.
e. Configure the ASM Disk Group using the following attributes:
1) Set attribute ASM to yes.
ASM = yes
2) Specify all the ASM Disk Groups used by the database using the ASM_DISKGROUP
attribute.
ASM_DISKGROUP[0]=asm_dg1
ASM_DISKGROUP[1]=asm_dg2
3) Specify all the LVM Volume Groups used by the ASM Disk Groups using the
ASM_VOLUME_GROUP attribute.
ASM_VOLUME_GROUP[0]=vgora_asm1
ASM_VOLUME_GROUP[1]=vgora_asm2
4) For the ASM_HOME attribute, specify the ASM Home directory. In case of Oracle
11g R2 this is same as Oracle clusterware home directory.
ASM_HOME=/ASM_TEST0
ASM Package Configuration Example 51