VERITAS Volume Manager 3.1 Administrator's Guide
Cluster Functionality
Cluster-related Volume Manager Utilities and Daemons
Chapter 7 329
host.
vxrecover Utility
The vxrecover utility recovers plexes and volumes after disk
replacement.
When a node leaves the cluster, it can leave some mirrors in an
inconsistent state. The vxrecover utility performs recovery on all
volumes in this state. The -c option causes the vxrecover utility to
perform recovery for all volumes in cluster-shareable disk groups.The
vxclustd daemon automatically calls the vxrecover -c utility, when
necessary.
NOTE While the vxrecover utility is active, there may be some degradation in
system performance.
vxstat Utility
The vxstat utility returns statistics for specified objects. In a cluster
environment, the vxstat utility gathers statistics from all of the nodes
in the cluster. The statistics give the total usage, by all nodes, for the
requested objects. If a local object is specified, its local usage is returned.
The caller can optionally specify a subset of nodes using the following
command:
# vxstat -g
diskgroup
-n
node
[,
node
...]
where
node
is an integer. If a comma-separated list of nodes is supplied,
the vxstat utility displays the sum of the statistics for the nodes in the
list.
For example, to obtain statistics for node 2, volume vol1,use the
following command:
# vxstat -g group1 -n 2 vol1
This command produces output similar to the following:
OPERATIONS BLOCKS AVG
TIME(ms)
TYP NAME READ WRITE READ WRITE