Managing Serviceguard 13th Edition, February 2007

Understanding Serviceguard Software Components
How the Package Manager Works
Chapter 3 85
In Serviceguard A.11.17 and later, you specify a package type parameter;
the PACKAGE_TYPE for a traditional package is the default value,
FAILOVER.
Starting with the A.11.12 version of Serviceguard, the
PKG_SWITCHING_ENABLED parameter was renamed AUTO_RUN. The
NET_SWITCHING_ENABLED parameter was renamed to
LOCAL_LAN_FAILOVER_ALLOWED.
Using the Event Monitoring Service
Basic package resources include cluster nodes, LAN interfaces, and
services, which are the individual processes within an application. All of
these are monitored by Serviceguard directly. In addition, you can use
the Event Monitoring Service registry through which add-on monitors
can be configured. This registry allows other software components to
supply monitoring of their resources for Serviceguard. Monitors
currently supplied with other software products include EMS (Event
Monitoring Service) High Availability Monitors, and an ATM monitor.
If a monitored resource is configured in a package, the package manager
calls the resource registrar to launch an external monitor for the
resource. Resources can be configured to start up either at the time the
node enters the cluster or at the end of package startup. The monitor
then sends messages back to Serviceguard, which checks to see whether
the resource is available before starting the package. In addition, the
package manager can fail the package to another node or take other
action if the resource becomes unavailable after the package starts.
You can specify a monitored resource for a package in Serviceguard
Manager, or on the HP-UX command line by using the command
/opt/resmon/bin/resls. For additional information, refer to the man
page for resls(1m).
Using the EMS HA Monitors
The EMS (Event Monitoring Service) HA Monitors, available as a
separate product (B5736DA), can be used to set up monitoring of disks
and other resources as package resource dependencies. Examples of
resource attributes that can be monitored using EMS include the
following:
Logical volume status