Managing HP Serviceguard A.12.00.00 for Linux, June 2014
Table 12 Types of Changes to Packages (continued)
Required Package StateChange to the Package
Package can be running.
Changes take effect when applied, whether or not the package is running. If you
add a script, Serviceguard validates it and then (if there are no errors) runs it
when you apply the change. If you delete a script, Serviceguard stops it when
you apply the change.
Add, change, or delete external
scripts and pre-scripts
Package can be either running or halted.
See “Choosing Switching and Failover Behavior” (page 106).
Change package auto_run
Both packages can be either running or halted.
Special rules apply to packages in maintenance mode; see “Dependency Rules
for a Package in Maintenance Mode or Partial-Startup Maintenance Mode ”
(page 235).
For dependency purposes, a package being reconfigured is considered to be
UP. This means that if pkgA depends on pkgB, and pkgA is down and pkgB is
being reconfigured, pkgA will run if it becomes eligible to do so, even if pkgB's
reconfiguration is not yet complete.
HP recommends that you separate package dependency changes from changes
that affect resources and services that the newly dependent package will also
depend on; reconfigure the resources and services first and apply the changes,
then configure the package dependency.
For more information see “About Package Dependencies” (page 111).
Add or delete a configured
dependency
Package can be running provided the status of the generic resource is not 'down'.
For information on online changes to generic resources, see “Online
Reconfiguration of Generic Resources” (page 110).
Add a generic resource of
evaluation type
during_package_start
Package can be running if the status of generic resource is 'up', else package
must be halted.
Add a generic resource of
evaluation type
before_package_start
Package can be running.Remove a generic resource
Package can be running if the status of generic resource is 'up'.
Not allowed if changing the generic_resource_evaluation_type causes the package
to fail.
For information on online changes to generic resources, see “Online
Reconfiguration of Generic Resources” (page 110).
Change the
generic_resource_evaluation_type
Package can be running for resources of evaluation type before_package_start
or during_package_start provided the new up criteria does not cause the resource
status to evaluate to 'down'.
Not allowed if changing the generic_resource_up_criteria causes the package to
fail.
For information on online changes to generic resources, see “Online
Reconfiguration of Generic Resources” (page 110).
Change the
generic_resource_up_criteria
7.7 Reconfiguring a Package 249