HP Serviceguard Toolkit for Oracle Version A.05.01.01 on Linux User Guide (December, 2012)

g. Edit the following parameters in the package control script, asmpkg.cntl
ExampleAttribute Name
"oracle_service"SERVICE_NAME[0]
"$SGCONF/oracle_asm_legacy/toolkit.sh
monitor"
SERVICE_CMD[0]
""SERVICE_RESTART[0]
h. Distribute the package configuration file, package control script, and the framework
scripts to all the nodes.
i. Apply the package configuration using the following command:
# cmapplyconf -P asmpkg.conf
j. Run the ASM package using the following command:
# cmrunpkg oracle_asm_legacy
2. Configuring a legacy failover database package.
Setting up and configuring database failover package:
a. Create a database package directory under $SGCONF/<package dir>.
b. Copy the toolkit scripts from $SGROOT/oracletoolkit to the directory created in step
2a.
c. cd $SGCONF/<package dir>.
d. Edit the configuration file, haoracle.conf.
ExampleDescriptionAttribute Name
databaseThis parameter determines whether
the instance is an ASM instance
INSTANCE_TYPE
or a database instance. Set this
parameter to database.
/ORACLE_TEST0This is the base directory where
Oracle is installed.
ORACLE_HOME
oracleThis is the user name of the Oracle
database administrator who
ORACLE_ADMIN
manages the database. The
default value is oracle.
ORACLE_TEST0The Oracle session name. It is also
called the session ID (SID). It
SID_NAME
uniquely identifies an Oracle
database instance.
NOTE: If you modify this
attribute after the # cmmakepkg
-i -m -t command is run, you
must reconfigure the
MONITOR_PROCESSES attribute
defined in this file to reflect the
same. Also, reconfigure PFILE
attribute defined in this file to
reflect this change, if PFILE is
using this attribute.
yesThis parameter determines whether
ASM is being used to manage the
storage for the database instance.
ASM
Configuring legacy and modular Oracle ASM instance and Database instance toolkit packages 27