HP Serviceguard Toolkit for Oracle on Linux User Guide (May 2013)
f. Edit the following parameters in the package configuration file, asmpkg.conf.
ExampleDescriptionAttribute Name
oracle_asm_legacyThe package name must be unique
in the cluster.
PACKAGE_NAME
$SGCONF/oracle_asm_legacy/
asmpkg.cntl
Script to start up the service.RUN_SCRIPT
$SGCONF/oracle_asm_legacy/
asmpkg.cntl
Script to halt the service.HALT_SCRIPT
Set this parameter to
MULTI_NODE. The ASM MNP
PACKAGE_TYPE
package will be running on all the
cluster nodes.
oracle_serviceSERVICE_NAME
noSERVICE_FAIL_FAST_ENABLED
300SERVICE_HALT_TIMEOUT
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
Configuring legacy and modular Oracle ASM instance and Database instance toolkit packages 27