HP Serviceguard Toolkit for Oracle Version A.05.01.01 on Linux User Guide (December, 2012)
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 adding, 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, run 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:
1. To enable the maintenance mode feature in the package configuration file, set the
MAINTENANCE_FLAG attribute to yes in package configuration file.
2. To start the maintenance mode for the package, create the oracle.debug file under the
package directory:
# touch oracle.debug
3. To stop the maintenance mode and bring the package out of maintenance mode, remove the
oracle.debug file from the package directory:
# rm oracle.debug
Online Modification of the Oracle Toolkit package
In addition to the Online modification feature supported by Serviceguard, the online modification
feature of toolkit allows you to modify some of the toolkit attribute values, while the toolkit package
Managing a package 45