Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Administering DMP Using vxdmpadm
126 VERITAS Volume Manager Administrators Guide
With the workload still running, the effect of changing the I/O policy to balance the load
across the primary paths can now be seen.
# vxdmpadm iostat show dmpnodename=c3t2d15 interval=5 count=2
...
cpu usage = 14403us per cpu memory = 32768b
OPERATIONS KBYTES AVG TIME(ms)
PATHNAME READS WRITES READS WRITES READS WRITES
c2t0d15 1021 0 1021 0 0.396670 0.000000
c2t1d15 947 0 947 0 0.391763 0.000000
c3t1d15 1004 0 1004 0 0.393426 0.000000
c3t2d15 1027 0 1027 0 0.402142 0.000000
c4t2d15 1086 0 1086 0 0.390424 0.000000
c4t3d15 1048 0 1048 0 0.391221 0.000000
c5t3d15 1036 0 1036 0 0.390927 0.000000
c5t4d15 1021 0 1021 0 0.392752 0.000000
The enclosure can be returned to the single active I/O policy by entering the following
command:
# vxdmpadm setattr enclosure ENC0 iopolicy=singleactive
Disabling a Controller
Disabling I/O to a host disk controller prevents DMP from issuing I/O through the
specified controller. The command blocks until all pending I/O issued through the
specified disk controller are completed.
To disable a controller, use the following command:
# vxdmpadm [-f] disable ctlr=ctlr_name
The disable operation fails if it is issued to a controller connected to the root disk through
a single path. If there is a single path connected to a disk, the disable command fails with
an error message. Use the -f option to forcibly disable the controller.