Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Configuring Packages and Their Services
Choosing Package Modules
Chapter 6 209
ip_address
A relocatable IP address on a specified ip_subnet (see above). Replaces
IP, which is still supported in the package control script for legacy
packages.
For more information about relocatable IP addresses, see “Stationary
and Relocatable IP Addresses and Monitored Subnets” on page 71.
This parameter can be set for failover packages only.
service_name
A service is a program or function which Serviceguard monitors as long
the package is up. service_name identifies this function and is used by
the cmrunserv and cmhaltserv commands. You can configure a
maximum of 30 services per package and 900 services per cluster.
The length and formal restrictions for the name are the same as for
package_name (see page 201). service_name must be unique among all
packages in the cluster.
IMPORTANT Restrictions on service names in previous Serviceguard releases were
less stringent. Packages that specify services whose names do not
conform to the above rules will continue to run, but if you reconfigure
them, you will need to change the name; cmcheckconf and cmapplyconf
will enforce the new rules.
Each service is defined by five parameters: service_name,
service_cmd, service_restart, service_fail_fast_enabled,
and service_halt_timeout. See the descriptions that follow.
The following is an example of fully defined service:
service_name patricks-package4-ping
service_cmd "/usr/sbin/ping hasupt22"
service_restart unlimited
service_fail_fast_enabled no
service_halt_timeout 300
See the package configuration file for more examples.
For legacy packages, this parameter is in the package control script as
well as the package configuration file.