Managing HP Serviceguard for Linux, Tenth Edition, September 2012

8. Restart the package:
cmrunpkg pkg1
Excluding Modules in Partial-Startup Maintenance Mode
In the example above, we used cmrunpkg -m to run all the modules up to and including
package_ip, but none of those after it. But you might want to run the entire package
apart from the module whose components you are going to work on. In this case you
can use the -e option:
cmrunpkg -e sg/service pkg1
This runs all the package's modules except the services module.
You can also use -e in combination with -m. This has the effect of starting all modules
up to and including the module identified by -m, except the module identified by -e. In
this case the excluded (-e) module must be earlier in the execution sequence (as listed
near the top of the package's configuration file) than the -m module. For example:
cmrunpkg -m sg/services -e sg/package_ip pkg1
NOTE: The full execution sequence for starting a package is:
1. The master control script itself
2. External pre-scripts
3. Volume groups
4. File systems
5. Package IPs
6. External scripts
7. Services
Reconfiguring a Cluster
You can reconfigure a cluster either when it is halted or while it is still running. Some
operations can only be done when the cluster is halted. The table that follows shows the
required cluster state for many kinds of changes.
Table 9 Types of Changes to the Cluster Configuration
Required Cluster StateChange to the Cluster Configuration
All cluster nodes must be running.Add a new node
A node can be deleted even though it is unavailable or
unreachable.
Delete a node
Cluster can be running.Change Maximum Configured Packages
Cluster can be running; see“What Happens when You
Change the Quorum Configuration Online” (page 43).
Change Quorum Server Configuration
260 Cluster and Package Maintenance