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

ExampleDescriptionAttribute Name
immediate option. The default
value is abort.
e. Generate the ASM MNP package configuration file and control script using the following
commands:
ASM MNP package configuration file: # cmmakepkg -p asmpkg.conf
Package control script: # cmmakepkg -s asmpkg.cntl
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
g. Edit the following parameters in the package configuration file, asmpkg.conf:
ExampleAttribute Name
oracle_serviceSERVICE_NAME
noSERVICE_FAIL_FAST_ENABLED
300SERVICE_HALT_TIMEOUT
h. Edit the following parameters in the package control script, asmpkg.cntl
ExampleAttribute Name
oracle_serviceSERVICE_NAME
${SGCONF}/oracle_asm_legacy/toolkit.sh
monitor
SERVICE_CMD
-r 2SERVICE_RESTART
i. Distribute the package configuration file, package control script, and the framework
scripts to all the nodes.
j. Apply the package configuration using the following command:
# cmapplyconf -P asmpkg.conf
k. Run the ASM package using the following command:
# cmrunpkg oracle_asm_legacy
2. Setting up and configuring database failover package.
a. Create a database package directory under ${SGCONF}/<package dir>.
b. Copy the toolkit scripts from ${SGCONF}/oracletoolkit to the directory created in
step 2a.
24 Using HP Serviceguard toolkit for Oracle