Managing Serviceguard Eighteenth Edition, September 2010
You can use Serviceguard Manager to delete the package.
On the Serviceguard command line, you can (in most cases) delete a package from all
cluster nodes by using the cmdeleteconf command. To delete one of the Veritas
Cluster File System packages, usecfscluster, cfsdgadm, or cfsmntadm. This
removes the package information from the binary configuration file on all the nodes
in the cluster. The command can only be executed when the package is down; the
cluster can be up.
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 cfs commands. 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:
CAUTION: You must not use the HP-UX mount and umount commands in a CFS
environment; use cfsmount or cfsumount. Non-CFS commands (for example, mount
-o cluster, dbed_chkptmount, or sfrac_chkptmount) could cause conflicts
with subsequent operations on the file system or Serviceguard packages, and will not
create an appropriate multi-node package, with the result that cluster packages are not
aware of 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.conf
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 volume
group associated with the mount point, the disk group package will also be
removed
4. Remove the disk group package from the cluster. This disassociates the disk group
from the cluster.
cfsdgadm delete <disk group>
Reconfiguring a Package 389