HP Serviceguard Contributed Toolkit Suite Version A.04.02.02 on Linux User Guide (December, 2012)

Table 21 List of attributes that you can edit (continued)
ExampleDescriptionAttribute
$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[0]
/dev/vgSM/lvolThe logical volume created in VT.LV[0]
/pkgSMThis is the file system for DB.FS[0]
ext2The FS type is Extended 2.FS_TYPE[0]
-o rwMount with read or write options.FS_MOUNT_OPT[0]
1Number of umount attempts of
Sendmail filesystem. The default
FS_UMOUNT_COUNT[0]
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
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
unlimited, the service is restarted for
infinite number of times. If the value
is none, the service is not restarted.
If the value is a positive integer, the
service is restarted for the specified
number of times before failing. If
service_restart is not
specified, the default value is none.
To run the toolkit.sh script with the start option, edit the customer_defined_run_cmds
function in the package control script as follows:
function customer_defined_run_cmds
{
$SGCONF/pkg/Sendmail/toolkit.sh start
test_return 51
}
To run the toolkit.sh script with the start option, edit the customer_defined_halt_cmds
function in the package control script as follows:
function customer_defined_halt_cmds
{
$SGCONF/pkg/Sendmail/toolkit.sh stop
Using Sendmail toolkit 49