HP Serviceguard Linux Contributed Toolkit Suite A.04.02.01 User Guide (696979-001, June 2012)

1. Create a directory for the package on all the cluster nodes using the following command:
# ${SGCONF}/pkg/Sendmail
2. Copy the toolkit files from ${SGCONF}/sendmailtoolkit to the package directory
${SGCONF}/pkg/Sendmail.
3. cd to the package directory.
4. Create the package configuration and control templates using the cmmakepkg command:
Configuration template: # cmmakepkg -p pkgsm.conf
Control template: # cmmakepkg -s pkgsm.cntl
5. Edit the following attributes manually in the package configuration file:
ExampleDescriptionAttribute
Configuration file parameters
pkgsm_nameThe package name must be unique
in the cluster.
PACKAGE_NAME
node1The name of the node that runs the
package.
NODE_NAME
${SGCONF}/pkg/Sendmail/
pkgsm.cntl
This is the script to start the service.RUN_SCRIPT
${SGCONF}/pkg/Sendmail/
pkgsm.cntl
This is the script to halt the service.HALT_SCRIPT
pkgsm_serviceThe service name must be unique in
the cluster.
service_name
Control Script Parameters
/dev/vgSMThe VG created for this package.VG
/dev/vgSM/lvolThe logical volume created in VT.LV
/pkgSMThis is the file system for DB.FS
ext2The FS type is Extended 2.FS_TYPE
-o rwMount with read or write options.FS_MOUNT_OPT
1Number of umount attempts of
Sendmail filesystem. The default
FS_UMOUNT_COUNT
value is 1. But you may need to
increase the value.
aa.bb.ccc.dThis is the monitored subnet.SUBNET
xx.yy.zzz.aaaThis is the floating IP address.IP
pre-IPThis parameter provides high
availability to the Samba server by
uncommenting this parameter.
HA_APP_SERVER
For example,
HA_APP_SERVER=“pre-IP”
pkgsm_serviceThe service name must be unique in
the cluster.
service_name
${SGCONF}/pkgsm_dir/
hasendmail.mon monitor
This is an interface to
hasendmail.mon.
service_cmd
-r 0The value for service_restart
can be unlimited, none or any
service_restart
positive integer value. If the value is
48 Sendmail Toolkit