Managing HP Serviceguard for Linux, Tenth Edition, September 2012

Table 10 Types of Changes to Packages (continued)
Required Package StateChange to the Package
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.)
Package must not be running. Subnet must already be configured into the
cluster.
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 214) 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 214) and ip_address (page 215) 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.
284 Cluster and Package Maintenance