HP Serviceguard Toolkit for Oracle Version A.05.01.01 on Linux User Guide (December, 2012)
ExampleDescriptionAttribute Name
allThis parameter is used to start and
stop the DB service through the DB
DB_SERVICE
package. It is commented by
default. You can set the attribute
to all or specify the DB service
names that must be started and
stopped by the DB package.
noThis parameter is used to disable
the Oracle database from the
DISABLE_BACKUP_MODE
backup mode. The valid values for
this parameter are yes and no.
By default, the value is set to no.
This means, if the database is in
the backup mode after package
failover or restart, the Oracle
toolkit package fails to start. You
have to manually get the database
out of the backup mode and then
start the package.
When the value of
DISABLE_BACKUP_MODE is set
to yes and the database is in the
backup mode after failover or
restart, the Oracle toolkit package
will alter the database to remove
the backup mode and start the
database. The database is altered
to remove the backup mode only
if START_MODE is set to open.
e. Generate the database package configuration file and control script using the following
commands:
• Database package configuration file: # cmmakepkg -p db1pkg.conf
• Control script: # cmmakepkg -s db1pkg.cntl
f. Edit the following parameters in the package configuration file, db1pkg.conf.
ExampleDescriptionAttribute Name
oracle_asmdb_legacyThe package name must be unique
in the cluster.
PACKAGE_NAME
$SGCONF/
oracle_asmdb_legacy/
db1pkg.cntl
Script to start up the service.RUN_SCRIPT
$SGCONF/
oracle_asmdb_legacy/
db1pkg.cntl
Script to halt the service.HALT_SCRIPT
asm_depThe name of the dependency.DEPENDENCY_NAME
<ASM_MNP_PACKAGE_NAME>=UPThe condition specified for the
dependency.
DEPENDENDY_CONDITION
SAME_NODEThe location of the dependency.DEPENDENCY_LOCATION
32 Using HP Serviceguard toolkit for Oracle