HP Serviceguard Enterprise Cluster Master Toolkit User Guide (5900-2145, April 2013)
Table Of Contents
- HP Serviceguard Enterprise Cluster Master Toolkit User Guide
- Contents
- 1 Introduction
- 2 Using the Oracle Toolkit in an HP Serviceguard Cluster
- Overview
- Supported Versions
- Support for Oracle Database Without ASM
- Supporting Oracle ASM Instance and Oracle Database with ASM
- What is Automatic Storage Management (ASM)?
- Why ASM over LVM?
- Configuring LVM Volume Groups for ASM Disk Groups
- Sample command sequence for configuring LVM Volume Groups
- Serviceguard support for ASM on HP-UX 11i v3 onwards
- Framework for ASM support with Serviceguard
- Installing, Configuring, and Troubleshooting
- Setting up DB instance and ASM instance
- Setting up the Toolkit
- ASM Package Configuration Example
- Modifying a Legacy Database Package Using an Older Version of Oracle ECMT Scripts to use the Scripts Provided for ASM Support
- Adding the Package to the Cluster
- Node-specific Configuration
- Error Handling
- Network Configuration
- Database Maintenance
- Configuring and packaging Oracle single-instance database to co-exist with SGeRAC packages
- Configuring Oracle single-instance database that uses ASM in a Coexistence Environment
- Attributes newly added to ECMT Oracle toolkit
- Configuring a modular failover package for an Oracle database using ASM in a coexistence environment
- Configuring a legacy failover package for an Oracle database using ASM in a Coexistence Environment
- ECMT Oracle Toolkit Maintenance Mode
- Supporting EBS database Tier
- Oracle ASM Support for EBS DB Tier
- 3 Using the Sybase ASE Toolkit in a Serviceguard Cluster on HP-UX
- Overview
- Sybase Information
- Setting up the Application
- Setting up the Toolkit
- Sybase Package Configuration Example
- Creating the Serviceguard package using Modular method
- Adding the Package to the Cluster
- Node-specific Configuration
- Error-Handling
- Network configuration
- Database Maintenance
- Cluster Verification for Sybase ASE Toolkit
- 4 Using the DB2 Database Toolkit in a Serviceguard Cluster in HP-UX
- 5 Using MySQL Toolkit in a HP Serviceguard Cluster
- MySQL Package Configuration Overview
- Setting Up the Database Server Application
- Setting up MySQL with the Toolkit
- Package Configuration File and Control Script
- Creating Serviceguard Package Using Modular Method
- Applying the Configuration and Running the Package
- Database Maintenance
- Guidelines to Start Using MySQL Toolkit
- 6 Using an Apache Toolkit in a HP Serviceguard Cluster
- 7 Using Tomcat Toolkit in a HP Serviceguard Cluster
- Tomcat Package Configuration Overview
- Multiple Tomcat Instances Configuration
- Configuring the Tomcat Server with Serviceguard
- Setting up the Package
- Creating Serviceguard Package Using Modular Method
- Setting up the Toolkit
- Error Handling
- Tomcat Server Maintenance
- Configuring Apache Web Server with Tomcat in a Single Package
- 8 Using SAMBA Toolkit in a Serviceguard Cluster
- 9 Using HP Serviceguard Toolkit for EnterpriseDB PPAS in an HP Serviceguard Cluster
- 10 Support and Other resources
- 11 Acronyms and Abbreviations
- Index

Creating Serviceguard package using the modular method
To create a Serviceguard package using the modular method:
1. Create a directory for the package on all the cluster nodes using the following command:
# mkdir /etc/cmcluster/EDB
2. cd to the package directory.
3. Create a configuration file, edb.conf using the following command:
# cmmakepkg -m ecmt/edb/edb edb.conf
4. Edit the following attributes manually in the package configuration file:
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 cluster 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 directory is synonymous to the package directory.
To set the toolkit in the maintenance mode, create the
file edb.debug under this directory.
TKIT_DIR
This variable specifies the directory in which the EDB
data files are stored.
NOTE: The directory name specified for
DB_DATA_DIR must have the read and write permission
for the EDB administrator.
DB_DATA_DIR
For Example: DB_DATA_DIR /data/9.0AS/data
This variable specifies the log file for a particular EDB
instance.
NOTE: The parent directory where DB_LOG_FILE
resides must have the read and write permission for the
EDB administrator.
DB_LOG_FILE
For Example: DB_LOG_FILE /data/9.0AS/data/
pg_log/startup.log
This variable specifies the binary location of EDB.DB_HOME
For Example: DB_HOME /opt/PostgresPlus/9.0AS
It is the user name of the EDB administrator.DB_USER
For Example: DB_USER edb
Set the maintenance flag to set the package to the
maintenance mode. By default, the value is set to yes.
MAINTENANCE_FLAG
Specify the email address to which you want to send
the alerts. The Send mail option must be configured
ALERT_MAIL_ID
properly to ensure that the alert mails reach this email
address.
The time, in seconds, the monitoring script will wait
between checks to make sure that EnterpriseDB is
running. The default value is 30 seconds.
MONITOR_INTERVAL
Specify the volume group to be used by the EnterpriseDB
for DATA_DIR.
vg
Using HP Serviceguard Toolkit for EnterpriseDB PPAS 139