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

Serviceguard support for ASM on HP-UX 11i v3 onwards
This document describes how to configure Oracle ASM database with Serviceguard for high
availability using the ECMT Oracle toolkit. Look at the ECMT support matrix available at http://
www.hp.com/go/hpux-serviceguard-docs -> HP Enterprise Cluster Master Toolkit for the supported
versions of ECMT, Oracle, and Serviceguard.
Note that for a database failover, each database must store its data in its own disk group. See
the Oracle documentation for limitation imposed by ASM on the number of disk groups. The disk
group members must be logical volumes managed by HP Logical Volume Manager (LVM). Initial
release of HP-UX 11i v3 did not support LVM version 2. With HP-UX 11i v3 0803, LVM version
2 logical volumes are also supported as members of the ASM disk groups.
A new I/O infrastructure that enables the native built-in multipathing functionality is introduced in
HPUX 11i v3. This feature offers users a continuous I/O access to a LUN or disk if any of the paths
fail. This feature is enabled in the operating system by default. In addition, new DSF (device special
file) format is introduced in this operating system known as persistent DSF. An example of persistent
DSF is /dev/disk/disk1, compared to the legacy DSF, /dev/rdsk/cxtydz.
A new cluster wide DSF format is introduced in HP-UX 11i v3 known as cDSF. Serviceguard
A.11.20 requires the Serviceguard patch PHSS_41225 to support this feature. An example of
cDSF is /dev/cdisk/disk1, compared to the persistent DSF, /dev/disk/disk1. ASM cannot
detect cDSF format and hence this format cannot be used to create the ASM disk groups.
Serviceguard must provide the necessary I/O fencing when failover is provided for a single-instance
Oracle database instance. Serviceguard ensures I/O fencing for a failover package via a feature
in the volume manager - exclusive activation of volume groups. Hence, it is required that the ASM
disk group members be LVM logical volumes.
Framework for ASM support with Serviceguard
The framework for ASM integration with Serviceguard makes use of a Multi-Node Package (MNP)
to encapsulate the per-node ASM instances, with one or more Oracle single-instance failover
packages dependent on this MNP. This configuration enables the database instance to start up in
the right order in relation to the ASM instance, and in the event of failover, to relocate to a node
where an ASM instance is available. The benefits of this package framework for single-instance
Oracle database using ASM-based storage are:
• Avoid failing over ASM instance. This reduces the failover time due to ASM instance restart.
• Many database instances can share one ASM instance per node.
• Sequencing between Oracle database instance and ASM instance during
startup/shutdown/failover.
• Flexibility of the database instances to fail over independently.
HP provides a set of scripts known as the Enterprise Cluster Master Toolkit (ECMT) scripts which
provides for the integration of ASM with Serviceguard. The operation of the Toolkit is described
below.
The start function switches to the ASM software owner user id by executing the su command. It
starts the ASM instance specified by the user using the sqlplus commands. During the database
package setup, ASM disk groups associated with a database instance are mounted before database
instance startup but after volume group activation.
The stop function executes su to the ASM software owner user id. It stops the ASM instance using
sqlplus commands.
The monitor function contains a continuous loop to check if the ASM instance processes specified
are healthy. If the monitor function finds that a process is dead, it means that the ASM instance
has either failed or was inappropriately shut down, that is, without using cmhaltpkg. The service
that invokes the function fails at this point and the Serviceguard package manager fails the
corresponding ASM MNP instance.
Supporting Oracle ASM Instance and Oracle Database with ASM 35