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

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 re-configuration is logged in the package log.
Handling failures during online package reconfiguration
This section describes about how to troubleshoot failures during online package reconfiguration.
Table 2 (page 13) describes how to fix the errors in the affected modules that are encountered
during online addition of a package.
Table 2 Modules affected during online addition
ExampleHow to rectify the failures or
apply those that are not
attempted
Modules affected during
online addition
Description
To start the external pre script:
#extern_pre_script.sh start
If an external pre script which is
added to the package
configuration failed to start, run
sg/external_pre_script
(external.sh)
Adding an
external pre
script to the
package the script manually with start
option.
script_name start
Running a package 13