HP Serviceguard Linux Oracle-Toolkit-A.05.01.00 User Guide (696983-001, June 2012)
• To start monitoring Oracle hang detection:
ExampleAttribute Name
oracle_hang_serviceservice_name
"${SGCONF}/scripts/tkit/oracle/
tkit_module.sh oracle_hang_monitor
30 failure"
service_cmd
noneservice_restart
Noservice_fail_fast_enabled
300service_halt_timeout
f. To configure the dependency for the modular Oracle ASM database package, you must
set the following parameters in the package configuration file:
ExampleAttribute Name
asm_dependencydependency_name
<ASM MNP package_name>=updependency_condition
same_nodedependency_location
g. Apply the package configuration using the command:
# cmapplyconf -P pkg2.conf
Managing a package
You can manage a package by starting, running, maintaining, halting, and deleting it.
Adding the package to the cluster
After the setup is complete, add the package to the Serviceguard cluster and start it.
$ cmapplyconf -P ORACLE_TEST0
$ cmmodpkg -e -n <node1> -n <node2> ORACLE_TEST0
$ cmmodpkg -e ORACLE_TEST0
For more information on managing packages, see the latest Managing Serviceguard manual
available at http://www.hp.com/go/linux-serviceguard-docs
Running a package
To start a package use the following command:
# cmrunpkg <package_name>
Maintaining a package
Serviceguard normally monitors critical processes, but there might be situations when a planned
maintenance task (for example, changing the configuration) affects those monitored processes.
The maintenance flag can be used to signal to the toolkit that it must not failover the instance to
an adoptive node in case of Oracle instance failure. However, Serviceguard still monitors other
resources used by the toolkit package. In case, any of the resources fails, Serviceguard fails over
the toolkit package to the adaptive node.
To set a package to the maintenance mode:
40 Using HP Serviceguard toolkit for Oracle