monitoring and entering maintenance mode" appears in the Serviceguard Package Control script log.

If required, stop the Oracle database instance as shown below:

$ cd /etc/cmcluster/pkg/ORACLE_TEST0/ $ $PWD/toolkit.sh stop

Perform maintenance actions (for example, changing the configuration parameters in the parameter file of the Oracle instance. If this file is changed, please remember to distribute the new file to all cluster nodes).

Re-start the Oracle database instance again if you manually stopped it prior to maintenance

$ cd /etc/cmcluster/pkg/ORACLE_TEST0/ $ $PWD/toolkit.sh start

Allow monitoring scripts to continue normally as shown below: $ rm -f /etc/cmcluster/pkg/ORACLE_TEST0/Oracle.debug

Two messages "Starting Oracle toolkit monitoring again after maintenance" and "Starting Oracle Listener monitoring again after maintenance" appear in the Serviceguard Package Control script log.

Enable the package failover

$ cmmodpkg -e ORACLE_TEST0

NOTE: If the package fails during maintenance (example, the node crashes), the package will not automatically fail over to an adoptive node. It is the responsibility of the user to start the package up on an adoptive node. See the manual Managing ServiceGuard manual available at http://www.hp.com/go/hpux-serviceguard-docs —>HP Serviceguard for more details.

If the Oracle database package is dependent on the SGeRAC OC MNP, then the Oracle database package will automatically go to toolkit maintenance mode when the SGeRAC OC MNP is put into toolkit maintenance mode. To put the SGeRAC OC MNP into toolkit maintenance mode, its MAINTENANCE_FLAG attribute must be set to 'yes' and a file 'oc.debug' must exist in its package directory. See the SGeRAC toolkit README file for information details on how to put the SGeRAC OC MNP in toolkit maintenance mode. If the MAINTENANCE_FLAG attribute of the SGeRAC OC MNP is set to 'yes', then this parameter must also be set to 'yes'.

Configuring and packaging Oracle single-instance database to co-exist with SGeRAC packages

This section describes the way in which ECMT Oracle toolkit package must be configured for single-instance Oracle databases to work in a Serviceguard cluster, along with RAC database packages configured using SGeRAC Toolkit.

NOTE: The environment in which both ECMT Oracle packages and SGeRAC packages are running together will be referred to as ‘coexistence environment’ in this document.

Configuring Oracle single-instance database that uses ASM in a Coexistence Environment

single-instance Oracle databases using ASM are supported in SGeRAC/Serviceguard clusters only when ASM Disk Groups are configured using LVM Logical Volumes. In a coexistence environment, the following additional conditions also apply:

52 Using the Oracle Toolkit in an HP Serviceguard Cluster

Page 52
Image 52
HP Serviceguard Toolkit for Oracle Data Guard manual $ cd /etc/cmcluster/pkg/ORACLETEST0/ $ $PWD/toolkit.sh stop