Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Configuring Packages and Their Services
Creating a Disk Monitor Configuration
Chapter 6 239
Creating a Disk Monitor Configuration
Serviceguard provides disk monitoring for the shared storage that is
activated by packages in the cluster. The monitor daemon on each node
tracks the status of all the disks on that node that you have configured
for monitoring.
The configuration must be done separately for each node in the cluster,
because each node monitors only the group of disks that can be activated
on that node, and that depends on which packages are allowed to run on
the node.
To set up monitoring, include a monitoring service in each package that
uses disks you want to track. Remember that service names must be
unique across the cluster; you can use the package name in combination
with the string cmresserviced. The following shows an entry in the
package configuration file for pkg1:
service_name cmresserviced_pkg1
service_fail_fast_enabled yes
service_halt_timeout 300
service_cmd "cmresserviced /dev/sdd1 /dsv/sde1"
service_restart none
CAUTION Because of a limitation in LVM, service_fail_fast_enabled must be
set to yes, forcing the package to fail over to another node if it loses its
storage.
NOTE The service_cmd entry must include the cmresserviced command.
It is also important to set service_restart to none.