Managing Serviceguard Fifteenth Edition, reprinted May 2008
Cluster and Package Maintenance
Reconfiguring a Package
Chapter 7396
The following example halts the failover package mypkg and removes the
package configuration from the cluster:
cmhaltpkg mypkg
cmdeleteconf -p mypkg
The command prompts for a verification before deleting the files unless
you use the -f option. The directory /etc/cmcluster/mypkg is not
deleted by this command.
On systems that support CFS, you can remove nodes from a multi-node
package configuration using the cfs commands listed in Appendix A.
All the packages that depend on the multi-node package must be halted
on that node.
To remove the CFS mount point and disk group packages, follow these
steps:
NOTE Any form of the mount command (for example, mount -o cluster,
dbed_chkptmount, or sfrac_chkptmount) other than cfsmount or
cfsumount in a HP Serviceguard Storage Management Suite
environment with CFS should be done with caution. These non-CFS
commands could cause conflicts with subsequent command operations on
the file system or Serviceguard packages. Use of these other forms of
mount will not create an appropriate multi-node package which means
that the cluster packages are not aware of the file system changes.
1. Remove any dependencies on the package being deleted. Delete
dependency_ parameters from the failover application package
configuration file, then apply the modified configuration file:
cmapplyconf -v -P app1.config
2. Unmount the shared file system
cfsumount <mount point>
3. Remove the mount point package from the cluster
cfsmntadm delete <mount point>
This disassociates the mount point from the cluster. When there is a
single VG associated with the mount point, the disk group package
will also be removed