HP Enterprise Cluster Master Toolkit User Guide (5900-2131, December 2011)

# cmmakepkg -m ecmt/oracle/oracle pkg.conf
where,
'ecmt/oracle/oracle' is the ECMT Oracle toolkit module name.
pkg.conf is the name of the package configuration file.
2. Configure the following Serviceguard parameters in the pkg.conf file:
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
service_name oracle_hang_service
service_cmd "$SGCONF/scripts/ecmt/oracle/tkit_module.sh oracle_hang_monitor 30 failover"
service_halt_timeout 300
If the listener is not configured, comment the second set of service parameters which are used
to monitor the listener.
3. Configure the toolkit parameter TKIT_DIR. This parameter is synonymous to the package
directory. On a cmapplyconf, TKIT_DIR will contain the toolkit configuration file
haoracle.conf on all configured nodes. Configure the other toolkit parameters for the
database package .
4. Apply the package configuration using the following command:
# cmapplyconf -P pkg2.conf
This command creates the package using the values specified in the package configuration
file. It also creates the toolkit configuration directory defined by TKIT_DIR parameter on all
target nodes, if not already present and then creates the toolkit configuration file in it with the
values specified in thepkg.conf file.
For more information on modular packages, see the whitepaper Modular package support
in Serviceguard for Linux and ECM Toolkits available at http://www.hp.com/go/
hpux-serviceguard-docs —>HP Serviceguard Enterprise Cluster Master Toolkit.
Also, refer the whitepaper "Migrating Packages from Legacy to Modular Style, October 2007"
for more information. You can find this whitepaper at http://www.hp.com/go/
hpux-serviceguard-docs -> HP Enterprise Cluster Master Toolkit .
5. For a running database package, if the value of any of the package attribute needs to be
modified, then the package needs to be restarted. The following steps should be followed to
update the attribute values of a running database package:
a. Edit the package configuration file and populate the new values.
b. Halt the package.
c. Apply the package configuration file.
d. Start the package.
Supporting Oracle ASM instance and Oracle database with ASM
This section discusses the use of the Oracle database server feature called Automatic Storage
Management (ASM) in HP Serviceguard for single database instance failover. Serviceguard
Extension for RAC (SGeRAC) supports ASM with Oracle RAC on both ASM over raw devices and
ASM over SLVM. For Oracle single-instance failover, Serviceguard support is for ASM over LVM
where the members of the ASM disk groups are raw logical volumes managed by LVM. LVM
26 Using the Oracle Toolkit in an HP Serviceguard Cluster