Managing Serviceguard Eighteenth Edition, September 2010

additional rules and instructions under “Performing Maintenance Using Partial-Startup
Maintenance Mode” (page 357).
If you want to reconfigure the package (using cmapplyconf (1m)) see “Reconfiguring
a Package” (page 385) and Allowable Package States During Reconfiguration ”
(page 390).
Procedure
Follow these steps to perform maintenance on a package's networking or EMS
components.
In this example, we'll call the package pkg1 and assume it is running on node1.
1. Place the package in maintenance mode:
cmmodpkg -m on -n node1 pkg1
2. Perform maintenance on the networks or resources and test manually that they
are working correctly.
NOTE: If you now run cmviewcl, you'll see that the STATUS of pkg1 is up and
its STATE is maintenance.
3. If everything is working as expected, take the package out of maintenance mode:
cmmodpkg -m off pkg1
Performing Maintenance Using Partial-Startup Maintenance Mode
To put a package in partial-startup maintenance mode, you put it in maintenance mode,
then restart it, running only those modules that you will not be working on.
Procedure
Follow this procedure to perform maintenance on a package. In this example, we'll
assume a package pkg1 is running on node1, and that we want to do maintenance on
the package's services.
1. Halt the package:
cmhaltpkg pkg1
2. Place the package in maintenance mode:
cmmodpkg -m on -n node1 pkg1
NOTE: The order of the first two steps can be reversed.
3. Run the package in maintenance mode.
In this example, we'll start pkg1 such that only the modules up to and including
the package_ip module are started. (See “Package Modules and Parameters”
Managing Packages and Services 357