Managing Serviceguard 12th Edition, March 2006

Cluster and Package Maintenance
Reconfiguring a Package
Chapter 7 351
Adding a Package to a Running Cluster
You can create a new package and add it to the cluster configuration
while the cluster is up and while other packages are running. The
number of packages you can add is subject to the value of
Maximum
Configured Packages
in the cluster configuration file.
To create the package, follow the steps given in the chapter “Configuring
Packages and Their Services” on page 269 If you are using the
Serviceguard command line, however,
do not
specify the cluster ASCII
file when verifying and distributing the configuration with HP-UX
commands. For example, to use HP-UX commands to verify the
configuration of newly created
pkg1
on a running cluster:
# cmcheckconf -P /etc/cmcluster/pkg1/pkg1conf.ascii
Use an HP-UX command like the following to distribute the new package
configuration to all nodes in the cluster:
# cmapplyconf -P /etc/cmcluster/pkg1/pkg1conf.ascii
Remember to copy the control script to the /etc/cmcluster/pkg1
directory on all nodes that can run the package.
To create the CFS disk group or mount point multi-node packages, refer
to “Creating the Disk Group Cluster Packages” on page 243 and
“Creating File Systems on page 256.
Deleting a Package from a Running Cluster
Serviceguard will not allow you to delete a package if any other package
is dependent on it. To check for dependencies, use the cmviewcl -v -l
package command. System multi-node packages cannot be deleted from
a running cluster.
Serviceguard Manager can create and modify configuration of failover
packages only. Select the package; from the Admin menu, select Halt
<package>. Then select the cluster; from the Actions menu, choose
Configuring Serviceguard -> Delete Package.
On the Serviceguard command line, you can delete most packages from
all cluster nodes by using the cmdeleteconf command. To delete one of
the Cluster File System packages, use the cfscluster, cfsdgadm, or
cfsmntadm command. The command can only be executed when the