Managing Serviceguard 12th Edition, March 2006
Troubleshooting Your Cluster
Solving Problems
Chapter 8 383
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.
In this kind of situation, Serviceguard will not restart the package
without manual intervention. You must clean up manually before
restarting the package. Use the following steps as guidelines:
1. Perform application-specific cleanup. Any application-specific actions
the control script might have taken should be undone to ensure
successfully starting the package on an alternate node. This might
include such things as shutting down application processes,
removing lock files, and removing temporary files.
2. Ensure that package IP addresses are removed from the system.
This step is accomplished via the cmmodnet(1m) command. First
determine which package IP addresses are installed by inspecting
the output resulting from running the command netstat -in. If any
of the IP addresses specified in the package control script appear in
the netstat output under the “Address” column for IPv4 or the
“Address/Prefix” column for IPv6, use cmmodnet to remove them:
# cmmodnet -r -i <
ip-address
> <
subnet
>
where <
ip-address
> is the address in the “Address” or the
“Address/Prefix column and <
subnet
> is the corresponding entry in
the “Network” column for IPv4, or the prefix (which can be derived
from the IPV6 address) for IPv6.
3. Ensure that package volume groups are deactivated. First unmount
any package logical volumes which are being used for filesystems.
This is determined by inspecting the output resulting from running
the command bdf -l. If any package logical volumes, as specified by
the LV[] array variables in the package control script, appear under
the “Filesystem” column, use umount to unmount them:
# fuser -ku <logical-volume>
# umount <logical-volume>