HP Serviceguard Toolkit for Oracle on Linux User Guide (May 2013)

Table 1 Scripts for HP Serviceguard toolkit for Oracle (continued)
Available in directoryDescriptionFile name
hadbhang.mon The haoracle.sh script invokes the
hadbhang.mon script to monitor the
Oracle instance for possible “hung”
state. hadbhang.mon script in turn
uses hagetdbstatus.sh and
hatimeoutdbhang.sh
It is used to check the database status.hagetdbstatus.sh
This script checks whether a process
with the specified PID exists. If the
hatimeoutdbhang.sh
process exists, then it kills the process
and exits.
This script is the interface between the
SG/LX package control script and the
HP Serviceguard toolkit for Oracle.
toolkit.sh
$SGCONF/modules/tkit/oracle/
oracle.1
This is an attribute definition file, used
to generate a package ASCII template
in modular style of packaging.
NOTE: This file is applicable only
for modular packages.
oracle.1
$SGCONF/scripts/tkit/oracleThe Serviceguard master control script
invokes this script. This script acts as
tkit_module.sh
an interface between the Serviceguard
master control script and the toolkit
interface script, toolkit.sh.
NOTE: This file is applicable only
for modular packages.
$SGCONF/scripts/tkit/oracleThe module script invokes this script
when the package configuration is
tkit_gen.sh
applied using cmapplyconf to
generate the toolkit user configuration
file in the package directory,
${TKIT_DIR}.
NOTE: This file is applicable only
for modular packages.
Rolling Upgrade
Toolkit package nodes in a cluster can be upgraded with the new toolkit, on one node at a time
as follows:
1. Backup the package directory and any package control scripts.
2. Move the running oracle toolkit packages off the node being upgraded, to another package
node.
3. Upgrade the Oracle toolkit using the following command:
rpm -Uvh --noscripts
serviceguard-oracle-toolkit<version_number>.<OS_distro>.noarch.rpm
4. Verify the installation using the following command:
# rpm -q serviceguard-oracle-toolkit
serviceguard-oracle-toolkit-<version_number>
At this point packages can be migrated back to the current node.
5. Repeat all the above steps on all the other toolkit package nodes in the cluster.
8 Installing and uninstalling HP Serviceguard toolkit for Oracle