Managing HP Serviceguard for Linux Ninth Edition, April 2009

IMPORTANT: In a cross-subnet configuration, you cannot share a single package
control script among nodes on different subnets if you are using relocatable IP addresses.
In this case you will need to create a separate control script to be used by the nodes on
each subnet.
In our example, you would create two copies of pkg1s package control script, add
entries to customize it for subnet 15.244.65.0 or 15.244.56.0, and copy one of
the resulting scripts to each node, as follows.
Control-script entries for nodeA and nodeB
IP[0] = 15.244.65.82
SUBNET[0] 15.244.65.0
IP[1] = 15.244.65.83
SUBNET[1] 15.244.65.0
Control-script entries for nodeC and nodeD
IP[0] = 15.244.56.100
SUBNET[0] = 15.244.56.0
IP[1] = 15.244.56.101
SUBNET[1] =15.244.56.0
Reconfiguring a Package
You reconfigure a package in much the same way as you originally configured it; for
modular packages, see Chapter 6: “Configuring Packages and Their Services (page 189);
for older packages, see “Configuring a Legacy Package” (page 252).
The cluster can be either halted or running during package reconfiguration, and in
some cases the package itself can be running; the types of change you can make and
the times when they take effect depend on whether the package is running or not.
If you reconfigure a package while it is running, it is possible that the package could
fail later, even if the cmapplyconf succeeded.
For example, consider a package with two volume groups. When this package started,
it activated both volume groups. While the package is running, you could change its
configuration to list only one of the volume groups, and cmapplyconf would succeed.
If you issue cmhaltpkg command, however, the halt would fail. The modified package
would not deactivate both of the volume groups that it had activated at startup, because
it would only see the one volume group in its current configuration file.
For more information, see Allowable Package States During Reconfiguration ”
(page 264).
Reconfiguring a Package 261