Using the DB2 database Toolkit in a Serviceguard Cluster in HP-UX Release README: B.06.00

Note that one of these file systems must be the shared file
system/logical
volume containing the DB2 home configuration information
($DB2_HOME). The
name of the instance is used to name the volume groups, logical
volumes and
file systems.
EXAMPLE:
LV[0]=/dev/vg0_payroll/lvol1
FS[0]=/mnt/payroll
The service name must be the same as defined in the package
configuration
file. Always call the toolkit.sh script with "monitor" for the
SERVICE_CMD
definitions.
EXAMPLE:
SERVICE_NAME[0]=payroll_inst_service
SERVICE_CMD[0]="/etc/cmcluster/pkg/db2_pkg/tookit.sh monitor"
SERVICE_RESTART[0]="-r 3"
Edit the customer_defined_run_cmds function to execute the
toolkit.sh
script with the start option.
EXAMPLE:
function customer_defined_run_cmds
{
# Start the DB2 database.
/etc/cmcluster/pkg/db2_pkg/toolkit.sh start
test_return 51
}
Edit the customer_defined_halt_cmds function to execute the
toolkit.sh
script with the stop option.
EXAMPLE:
function customer_defined_halt_cmds
{
/etc/cmcluster/pkg/db2_pkg/toolkit.sh stop
test_return 52
}