Managing Serviceguard A.11.20, March 2013
NOTE: For modular packages, the default form for parameter names in the package
configuration file is lower case; for legacy packages the default is upper case. There are no
compatibility issues; Serviceguard is case-insensitive as far as the parameter names are
concerned.
Because this section is intended to be used primarily when you are reconfiguring an existing
legacy package, we are using the legacy parameter names (in upper case) for sake of
continuity. But if you generate the configuration file using cmmakepkg or cmgetconf, you
will see the parameter names as they appear in modular packages; see the notes below and
the “Package Parameter Explanations” (page 237) for details of the name changes.
• FAILOVER_POLICY. For failover packages, enter the failover_policy (page 241).
• FAILBACK_POLICY. For failover packages, enter the failback_policy (page 242).
• NODE_NAME. Enter the node or nodes on which the package can run; see node_name
(page 239).
• AUTO_RUN. Configure the package to start up automatically or manually; see auto_run
(page 239).
• LOCAL_LAN_FAILOVER_ALLOWED. Enter the policy for local_lan_failover_allowed
(page 245).
• NODE_FAIL_FAST_ENABLED. Enter the policy for node_fail_fast_enabled (page 239).
• RUN_SCRIPT and HALT_SCRIPT. Specify the pathname of the package control script
(described in the next section). No default is provided. Permissions on the file and directory
should be set to rwxr-xr-x or r-xr-xr-x (755 or 555).
(Script timeouts): Enter the run_script_timeout (page 240) and halt_script_timeout
(page 240).
SG_SCRIPT_LOG_FILE. (optional). Specify the full pathname of the file where the
RUN_SCRIPT and HALT_SCRIPT will log messages. If you do not specify a path, Serviceguard
will create a file with “.log” appended to each script path, and put the messages in that file.
• Enter the SUBNET or MONITORED_SUBNETs that are to be monitored for this package. They
can be IPv4 or an IPv6 subnets, but must not be link-local subnets (link-local package IPs are
not allowed).
IMPORTANT: Each subnet specified here must already be specified in the cluster configuration
file via the NETWORK_INTERFACE parameter and either the HEARTBEAT_IP or
STATIONARY_IP parameter. See “Cluster Configuration Parameters ” (page 114) for more
information.
See also “Stationary and Relocatable IP Addresses ” (page 68) and monitored_subnet
(page 245).
IMPORTANT: For cross-subnet configurations, see “Configuring Cross-Subnet Failover”
(page 314).
• If your package runs services, enter the SERVICE_NAME (page 247) and values for
SERVICE_FAIL_FAST_ENABLED (page 248) and SERVICE_HALT_TIMEOUT(page 248).
Enter a group of these three for each service.
IMPORTANT: Note that the rules for valid SERVICE_NAMEs are more restrictive as of
A.11.18.
Configuring a Legacy Package 309