HP Serviceguard Toolkit for Enterprise DB PPAS for Linux User Guide Version A.12.00.00

Table 2 Modules affected during online addition (continued)
cmapplyconf P <pkgconfig>
#Run the package
cmrunpkg <ppas_toolkit_pkg>
#Halt the packagetkit/ppas/ppasModifying EDB
PPAS toolkit cmhaltpkg
<ppas_toolkit_pkg>
#Run the package
attributes
values online
cmrunpkg <ppas_toolkit_pkg>
If a EDB PPAS toolkit service fails
to start after modifying EDB PPAS
toolkit attribute value while
package is up and running, then
package will not fail, but the new
values will not be taken in to
effect until package is halted
and successfully started again.
Halting a package
To halt the package, run the cmhaltpkg command.
For example:
# cmhaltpkg ppas_pkg
This command stops the EDB PPAS database instance specific to the DB_DATA_DIR of this package.
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 maintainance:
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.
NOTE: You can ignore the errors or warnings in the package log file when the package is
set to maintenance mode.
3. Disable the maintenance mode for the package using the cmmodpkg command.
# cmmodpkg -m off <package-name>
NOTE: Ensure that an application instance is up and running before disabling the
maintenance mode.
Deleting packages
To delete the package, run the cmdeleteconf command.
For example:
# cmdeleteconf -p ppas_pkg
Here, ppas_pkg is the package name for the specific EDB PPAS database instance.
This command deletes the ppas_pkg package after user confirmation.
Halting a package 15