Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Cluster and Package Maintenance
Configuring a Legacy Package
Chapter 7280
cmmakepkg -s
$SGCONF/pkg1/pkg1.sh
Next, customize the script; see “Customizing the Package Control
Script”.
Customizing the Package Control Script
You need to customize as follows; see the relevant entries under “Package
Parameter Explanations” on page 209 for more discussion.
Update the PATH statement to reflect any required paths needed to
start your services.
Specify the Remote Data Replication Method and Software RAID
Data Replication method if necessary.
CAUTION If you are not using the XDC or CLX products, do not modify the
REMOTE DATA REPLICATION DEFINITION section. If you are using
one of these products, consult the product’s documentation.
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 necessary.
Specify the file system type (ext2 is the default; ext3, reiserfs, or
gfs can also be used; see the fs_ parameters staring on page 223 for
more information).
Add the names of logical volumes and the file system that will be
mounted on them.
Specify the filesystem 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;
Define IP subnet and IP address pairs for your package. IPv4 or IPv6
addresses are allowed.
Add service name(s).
Add service command(s)
Add a service restart parameter, if you so decide.