HP Serviceguard Enterprise Cluster Master Toolkit User Guide, June 2014

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
service_name oracle_hang_service
service_cmd "$SGCONF/scripts/ecmt/oracle/tkit_module.sh oracle_hang_monitor 30
failover"
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
LVM logical volumes are used in disk groups, therefore specify the names of the volume groups
on which the ASM diskgroups reside, for the parameter "vg".
Configure the ip_subnet and ip_address parameters.
5. Configure the toolkit package attribute 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.
6. Configure the other toolkit parameters for the database package as mentioned in this README
for the database failover legacy package under “Supporting Oracle ASM Instance and Oracle
Database with ASM” (page 29).
7. To configure the ASM Disk Group, do the following:
Set attribute ASM to yes:
ASM yes
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
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
For the ASM_HOME attribute, specify the ASM Home directory. For Oracle 11g R2 this
is same as CRS Home:
ASM_HOME /ASM_TEST0
For the ASM_USER attribute, specify the UNIX user account for administering ASM
Instances:
ASM_USER Oracle
For the ASM_SID attribute, Specify "+ASM" in a coexistence environment, ECMT will
automatically discover the ASM SID on a node:
ASM_SID +ASM
Apply the package configuration file:
# cmapplyconf -P pkg2.conf
This command "applies" the package configuration to the CDB (Serviceguard
Configuration Database). It also creates toolkit configuration directory defined by TKIT_DIR
Configuring and packaging Oracle single-instance database to co-exist with SGeRAC packages 59