HP Serviceguard Linux Oracle-Toolkit-A.05.01.00 User Guide (696983-001, June 2012)

To start monitoring Oracle hang detection:
ExampleAttribute Name
oracle_hang_serviceservice_name
"${SGCONF}/scripts/tkit/oracle/
tkit_module.sh oracle_hang_monitor 30
failure"
service_cmd
noneservice_restart
noservice_fail_fast_enabled
300service_halt_timeout
6. Apply the package configuration using the command:
# cmapplyconf -P pkg2.conf
Configuring legacy ASM database package
To configure a legacy ASM Oracle database toolkit packages:
1. Setting up and configuring ASM multi-node package.
a. Create an ASM package directory under ${SGCONF}/<package dir>.
b. copy the toolkit scripts from ${SGCONF}/oracletoolkit to the directory created in
step 1a.
c. cd ${SGCONF}/<package dir>.
d. Edit the toolkit configuration file, haoracle.conf.
ExampleDescriptionAttribute Name
ASMThis parameter determines whether
the instance is an ASM instance
INSTANCE_TYPE
or a database instance. Set this
parameter to ASM.
/ASM_TEST0The home directory where ASM is
installed.
ASM_HOME
oracleThe user name of the Oracle ASM
administrator. It is used to start or
ASM_USER
stop the ASM instance and
mounting or dismounting the ASM
disk groups.
+ASMThe ASM session name. This
uniquely identifies an ASM
instance.
ASM_SID
NOTE: If a change is made to
this attribute after the #
cmmakepkg -i -m -t
command is run, reconfigure the
MONITOR_PROCESSES attribute
defined in this file to reflect the
same. Also, reconfigure PFILE
attribute defined in this file to
reflect the change if PFILE is
using this attribute.
${ORACLE_HOME}/dbs/
init${SID_NAME}.ora
The Oracle database parameter
file. If this attribute is not specified,
Oracle picks this up from the
PFILE
Configuring legacy and modular Oracle database toolkit packages 21