Managing HP Serviceguard for Linux, Tenth Edition, September 2012

7. Distribute the control script to all nodes.
8. Run the package and ensure that applications run as expected and that the package
fails over correctly when services are disrupted.
Editing the Package Configuration File
Edit the file you generated in step 2 of “Using Serviceguard Commands to Configure a
Package ” (page 272). Use the bullet points that follow as a checklist.
PACKAGE_TYPE. Enter the package type; see Types of Package: Failover,
Multi-Node, System Multi-Node” (page 200) and package_type” (page 206).
NOTE: For modular packages, the default form for parameter names and literal
values 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 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 205)
for details of the name changes.
FAILOVER_POLICY. For failover packages, enter the failover_policy
(page 209).
FAILBACK_POLICY. For failover packages, enter the failback_policy
(page 210).
NODE_NAME. Enter the node or nodes on which the package can run; as described
under node_name (page 206).
AUTO_RUN. Configure the package to start up automatically or manually; as
described under auto_run (page 206).
NODE_FAIL_FAST_ENABLED. Enter the policy as described under
node_fail_fast_enabled (page 207).
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 207) and
halt_script_timeout (page 208).
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.
Configuring a Legacy Package 273