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

3 Configuring the EDB PPAS toolkit
After installing the EDB PPAS toolkit, you can create the Serviceguard package to manage the EDB
PPAS database instance.
NOTE: The EDB PPAS toolkit supports only Serviceguard modular style packages.
Creating the EDB PPAS toolkit package
To create a EDB PPAS toolkit package:
1. Create a directory for the package on all the package nodes.
For example:
# mkdir $SGCONF/<directory name>
NOTE: The directory name is user specified.
2. Run the cd command to change to the package directory.
3. Create the package configuration template for PPAS toolkit using the cmmakepkg command.
For example:
# cmmakepkg m tkit/ppas/ppas ppas_pkg.conf
This creates the modular style package configuration file with all the required attributes for
PPAS.
NOTE: Use the -m option to include the PPAS toolkit module tkit/ppas/ppas and the
ppas_pkg.conf package ASCII file. You can edit the package ASCII file.
4. Enter the values for the following attributes in the package configuration file (ppas_pkg.conf):
DescriptionAttributes
The package name must be unique in the cluster.package_name
The package must be a failover package.package_type
It is the name of the package nodes on which the package runs.node_name
It is the package log file path where the package log is stored.script_log_file
This variable specifies the directory in which the EDB PPAS
database instance is stored. The online modification of this
attribute is not supported.
NOTE: The directory name as mentioned for DB_DATA_DIR
must have read and write permission for the EDB PPAS
administrator.
DB_DATA_DIR
For example: DB_DATA_DIR /PPAS9.0/data
This variable specifies the log file for a particular EDB PPAS
database instance. The online modification of this attribute is
not supported.
NOTE: The parent directory where DB_LOG_FILE resides
must have the read and write permission for the EDB PPAS
administrator.
DB_LOG_FILE
For example: DB_LOG_FILE /PPAS9.0/data/startup.log
This variable specifies the location of EDB PPAS binaries. The
online modification of this attribute is not supported.
DB_HOME
For example: DB_HOME /opt/PostgresPlus/9.0AS
10 Configuring the EDB PPAS toolkit