HP Serviceguard A.11.20- Managing Serviceguard Twentieth Edition, August 2011
Customizing the Package Control Script
You need to customize as follows. See the entries for the corresponding modular-package parameters
under “Package Parameter Explanations” (page 233) for more discussion.
• Update the PATH statement to reflect any required paths needed to start your services.
• If you are using LVM, enter the names of volume groups to be activated using the VG[] array
parameters, and select the appropriate options for the storage activation command, including
options for mounting and unmounting file systems, if desired. Do not use the VXVM_DG[] or
CVM_DG[] parameters for LVM volume groups.
• If you are using CVM disk group for raw access (without CFS), enter the names of disk groups
to be activated using the CVM_DG[] array parameters, and select the appropriate storage
activation command, CVM_ACTIVATION_CMD. Do not use the VG[] or VXVM_DG[] parameters
for CVM disk groups.
• If you are using VxVM disk groups without CVM, enter the names of VxVM disk groups that
will be imported using the VXVM_DG[] array parameters. Enter one disk group per array
element. Configure vxvm_dg_retry (page 249) if necessary. Do not use theCVM_DG[] or
VG[] parameters for VxVM disk groups without CVM, and do not specify an activation
command.
Do not include CFS-based disk groups in the package control script; they are activated by the
CFS multi-node packages before standard packages are started.
• If you are using mirrored VxVM disks, specify the mirror recovery option VXVOL.
• Add the names of logical volumes and the file system that will be mounted on them.
• Select the appropriate options for the storage activation command (not applicable for basic
VxVM disk groups), and also include options for mounting file systems, if desired.
• Specify the file system mount and unmount retry options.
• If your package uses a large number of volume groups or disk groups or mounts a large
number of file systems, consider increasing the number of concurrent vgchange, mount,
umount, and fsck operations.
• If your package will use relocatable IP addresses, define IP subnet and IP address pairs. IPv4
or IPv6 addresses are allowed.
CAUTION: HP recommends that the subnet(s) be specified in the cluster configuration file
via the NETWORK_INTERFACE parameter and either the HEARTBEAT_IP or STATIONARY_IP
parameter; see “Cluster Configuration Parameters ” (page 109).
If you do not follow this recommendation, the package may not behave as you expect; see
ip_subnet (page 242), ip_address (page 243), and “Stationary and Relocatable IP Addresses
” (page 67) for complete information.
• Add service name(s).
• Add service command(s)
• Add a service restart parameter, if you so decide.
For more information about services, see the discussion of the service_ parameters (page 243).
• Specify whether or not to kill processes accessing raw devices; see the comments in the file
under RAW DEVICES for more information.
306 Cluster and Package Maintenance