HP Serviceguard Toolkit for Enterprise DB PPAS for Linux User Guide (May 2013)
4 Managing the EDB PPAS database instance
This section provides the information about managing the EDB PPAS toolkit package.
Running a package
After adding the package to a Serviceguard cluster, start the package using the cmrunpkg
command.
For example:
# cmrunpkg ppas_pkg
This command starts the EDB PPAS database instance.
Online modification of EDB PPAS toolkit attributes
To perform the online modification, do the following:
1. While the package is up and running, retrieve the current package configuration values by
using the cmgetconf command.
For example:
# cmgetconf -p <<Toolkit_Package_Name>> <<Latest_Toolkit_Conf_File>>
2. Backup this latest configuration file using a copy utility. This will allow you to refer to the
previous configuration values.
For example:
# cp -p <<Latest_Toolkit_Conf_File>> <<Backup_Toolkit_Conf_File>>
3. Edit the <<Latest_Toolkit_Conf_File>> to modify the required attribute values.
4. Run the cmcheckconf command to verify the package configuration file.
For example:
# cmcheckconf –P <<Latest_Toolkit_Conf_File>>
5. Run the cmapplyconf command to add the new changes in the package configuration to
the Serviceguard for Linux cluster environment.
For example:
# cmapplyconf –P <<Latest_Toolkit_Conf_File>>
NOTE: The Information related to the package reconfiguration is logged in the package log.
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.
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.
12 Managing the EDB PPAS database instance