HP Enterprise Cluster Master Toolkit User Guide (5900-2131, December 2011)

2 Using the Oracle Toolkit in an HP Serviceguard Cluster
This chapter describes the High Availability Oracle Toolkit designed for use in a HP Serviceguard
environment. This chapter covers the basic steps for configuring an Oracle instance in a HP-UX
cluster, and is intended for users who want to integrate an Oracle Database Server with
Serviceguard.
It is assumed that its readers are already familiar with Serviceguard configuration, as well as with
Oracle Database Server concepts, including installation and configuration procedures.
This toolkit can be used to configure only single instance Oracle database and if the user wants
to configure Oracle RAC, then user's must use SGeRAC. For more information, see www.hp.com/
go/hpux-serviceguard-docs -> HP Serviceguard Extension for RAC.
Overview
The Oracle Toolkit for Serviceguard consists of a set of shell scripts that are used to start, stop, and
monitor an Oracle database instance, Automatic Storage Management (ASM) instance and the
configured listener(s).
The Oracle toolkit is designed to work in either of two modes:
As a database instance failover package.
As an ASM Multi-Node Package (MNP).
There can be only one ASM MNP package configured per cluster, while there can be multiple
database instance packages per cluster.
To use this toolkit in legacy style, the toolkit scripts must be integrated into the Serviceguard package
control script. See the sections “Support For Oracle Database without ASM” (page 9) and
“Supporting Oracle ASM instance and Oracle database with ASM” (page 26) for examples to
create a legacy package.
For more information on creating modular packages, see “Support For Oracle Database without
ASM” (page 9) “Supporting Oracle ASM instance and Oracle database with ASM” (page 26)
and the whitepaper Modular package support in Serviceguard for Linux and ECM Toolkits available
at http://www.hp.com/go/hpux-serviceguard-docs —>HP Serviceguard Enterprise Cluster Master
Toolkit.
Supported versions
It is assumed that the user has already installed the supported and compatible versions of
Serviceguard, Oracle, and the Enterprise Cluster Master Toolkit (ECMT), which contains the Oracle
toolkit.
Unless otherwise stated, this toolkit supports all storage and volume managers that Serviceguard
supports.
To find the latest supported versions of these products on Serviceguard, Oracle, Cluster File System
(CFS) and HP-UX versions, check the compatibility matrix available at http://www.hp.com/go/
hpux-serviceguard-docs —>HP Serviceguard .
To use CFS, you must install the appropriate version of HP Serviceguard Storage Management
Suite.
For more details, see the Serviceguard Release Notes at http://www.hp.com/go/
hpux-serviceguard-docs ->HP Enterprise Cluster Master Toolkit.
In a Serviceguard cluster, packages created using the ECMT Oracle toolkit can co-exist with
packages created using the SGeRAC toolkit. In such cases, the single-instance database failover
packages must be made dependent on the SGeRAC clusterware multi-node package (OC MNP
8 Using the Oracle Toolkit in an HP Serviceguard Cluster