HP Serviceguard Toolkit for Oracle on Linux User Guide Version A.12.00.00

ExampleAttribute Name
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 dependency for Oracle DB package on Oracle ASM instance package. Set the
following parameters in the package configuration file to add the dependency:
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
When a Serviceguard package is in maintenance mode, it ensures the package will not failover
to an alternate node due to any failure in the application that is configured in the package.
To perform maintenance:
1. Enable the maintenance mode for the package using the cmmodpkg command.
cmmodpkg -m on <package-name>
2. Perform the maintenance actions.
For example, you can change the configuration of the application instance or install an
application patch.
Managing a package 27