Managing Serviceguard 12th Edition, March 2006

Configuring Packages and Their Services
Creating the Package Control Script
Chapter 6 293
CONCURRENT_MOUNT_AND_UMOUNT_OPERATIONSdefines a number of
parallel mount operations during package startup and unmount
operations during package shutdown.
You can use the -s option with FSCK_OPT and FS_UMOUNT_OPT
parameters for environments that use a large number of filesystems. The
-s option allows mount/umounts and fscks to be done in parallel. (With
the standard 11iv1 (11.11) HP-UX, you need to install patches to get this
option.)
Package Control Script Template File
The following is an excerpt from the package control script template file.
The file contains separate sections for activation of VxVM and LVM
storage groups:
# **********************************************************************
# * *
# * HIGH AVAILABILITY PACKAGE CONTROL SCRIPT (template) *
# * *
# * Note: This file MUST be edited before it can be used. *
# * *
# **********************************************************************
# The PACKAGE and NODE environment variables are set by
# Serviceguard at the time the control script is executed.
# Do not set these environment variables yourself!
# The package may fail to start or halt if the values for
# these environment variables are altered.
. ${SGCONFFILE:=/etc/cmcluster.conf}
# UNCOMMENT the variables as you set them.
# Set PATH to reference the appropriate directories.
PATH=$SGSBIN:/usr/bin:/usr/sbin:/etc:/bin
# VOLUME GROUP ACTIVATION:
# Specify the method of activation for volume groups.
# Leave the default (“VGCHANGE=”vgchange -a e”) if you want volume
# groups activated in exclusive mode. This assumes the volume groups have
# been initialized with ‘vgchange -c y’ at the time of creation.
#
# Uncomment the first line (VGCHANGE=”vgchange -a e -q n”), and comment
# out the default, if your disks are mirrored on separate physical paths,