HP Serviceguard Linux Oracle-Toolkit-A.05.01.00 User Guide (696983-001, June 2012)

8. Edit the package control script db1pkg.cntl.
ExampleAttribute Name
oracle_serviceSERVICE_NAME
${SGCONF}/oracle_legacy/toolkit.sh
monitor
SERVICE_CMD
-r 2SERVICE_RESTART
If listener service is configured in the package configuration file, set the following parameters:
ExampleAttribute Name
oracle_listener_serviceSERVICE_NAME
${SGCONF}/oracle_legacy/toolkit.sh
monitor_listener
SERVICE_CMD
-r 2SERVICE_RESTART
If service is configured for database hang detection in the package configuration file, set the
following parameters:
ExampleAttribute Name
oracle_hang_serviceSERVICE_NAME
${SGCONF}/oracle_legacy/toolkit.sh
oracle_hang_monitor 30 failure
SERVICE_CMD
-r 2SERVICE_RESTART
9. Distribute the package configuration file, package control script, and the framework scripts
to all the nodes.
10. Apply the package configuration using the following command:
# cmapplyconf -P db1pkg.conf
11. Run the database package using the following command:
# cmrunpkg oracle_legacy
NOTE: Repeat all the above mentioned steps for each database instance.
Configuring modular Oracle database package without ASM
To configure a modular Oracle database toolkit packages without ASM:
1. Create a directory in ${SGCONF}/<package dir>.
2. cd ${SGCONF}/<package dir>.
3. Create the modular package configuration file, pkg2.conf using the command:
# cmmakepkg -m tkit/oracle/oracle pkg2.conf
16 Using HP Serviceguard toolkit for Oracle