Managing Serviceguard 12th Edition, March 2006
Configuring Packages and Their Services
Creating the Package Control Script
Chapter 6290
• If you are using CVM, 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. Do not use the
CVM_DG[] or VG[] parameters for VxVM disk groups without CVM.
Also, do not specify an activation command.
CFS-based disk groups should not be included 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 filesystems, if desired.
• Specify the filesystem mount retry and unmount count 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. The default of 1 is adequate for most packages.
• Define IP subnet and IP address pairs for your package. IPv4 or IPv6
addresses may be used.
• Add service name(s).
• Add service command(s)
• Add a service restart parameter, if desired.
NOTE Use care in defining service run commands. Each run command is
executed by the control script in the following way:
•The cmrunserv command executes each run command and then
Serviceguard monitors the process id of the process created by the
run command.