Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Serviceguard Commands
Appendix A312
cmmodnet Add or remove an address from a high availability
cluster.
cmmodnet is used to add or remove a relocatable
package IP_address for the current network
interface running the given subnet_name.
cmmodnet can also be used to enable or disable a
LAN_name currently configured in a cluster. (Note
that if you use cmmodnet to disable a LAN_name on a
node that subsequently leaves the cluster, the
LAN_name will be re-enabled if the node then rejoins
the cluster.)
Extreme caution should be exercised when
executing this command outside the context of a
package. It should only be used to remove the
relocatable IP addresses of packages which have
failed and are in the “halted” state, or to enable or
disable a LAN interface when absolutely necessary.
Use while the package is running could lead to loss
of client connectivity.
cmmodpkg Enable or disable switching attributes for a high
availability package.
cmmodpkg enables or disables the ability of a
package to switch to another node upon failure of
the package, and it enables or disables a particular
node from running specific packages. Switching for
a package can be enabled or disabled globally. For
example, if a globally disabled package fails, it will
not switch to any other node, and if a globally
enabled package fails, it will attempt to switch to
the first available node on which it is configured to
run.
Table A-1 Serviceguard Commands (Continued)
Command Description