HP Serviceguard A.11.20- Managing Serviceguard Twentieth Edition, August 2011
NOTE: All the nodes in the cluster must be powered up and accessible when you make package
configuration changes.
Table 15 Types of Changes to Packages
Required Package StateChange to the Package
Package must not be running.Delete a package or change
package name
NOTE: You cannot delete a package if another package has a dependency on
it.
Package must not be running.Change package type
Package can be running.Add or delete a module: modular
package
Package can be running, but should not be starting.Change run script contents: legacy
package
Timing problems may occur if the script is changed while the package is starting.
Package can be running, but should not be halting.Change halt script contents: legacy
package
Timing problems may occur if the script is changed while the package is halting.
Package can be running.Add or delete a service: modular
package
Serviceguard treats any change to service_name or service_cmd as deleting
the existing service and adding a new one, meaning that the existing service is
halted.
Package must not be running.Add or delete a service: legacy
package
Package can be running.Change service_restart:
modular package
Serviceguard will not allow the change if the new value is less than the current
restart count. (You can use cmmodpkg -R<service_name> <package> to
reset the restart count if you need to.)
Package must not be running.Change SERVICE_RESTART:
legacy package
Package must not be running. (Also applies to cross-subnet configurations.)Add or remove a SUBNET (in
control script): legacy package
Package can be running.Add or remove an ip_subnet:
modular package
See “ip_subnet” (page 242) for important information. Serviceguard will reject
the change if you are trying to add an ip_subnet that is not configured on all
the nodes on the package's node_name list.
Package can be running.Add or remove an ip_address:
modular package
See “ip_subnet” (page 242) and “ip_address” (page 243) for important
information. Serviceguard will reject the change if you are trying to add an
ip_address that cannot be configured on the specified ip_subnet, or is on
a subnet that is not configured on all the nodes on the package's node_name
list.
Package must not be running. (Also applies to cross-subnet configurations.)Add or remove an IP (in control
script): legacy package
Package can be running.Add or delete nodes from
package’s ip_subnet_node list
Serviceguard will reject the change if you are trying to add a node on which the
specified ip_subnet is not configured.
in cross-subnet configurations
(page 243)): modular package
Package must not be running.Add, delete, or change
cluster_interconnect_subnet
Reconfiguring a Package 315