140 Administering dynamic multipathing (DMP)
Administering DMP using vxdmpadm
The physical path is specified by argument to the nodename attribute, which
must be a valid path listed in the /dev/rdsk directory.
The above command displays output such as the following:
NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
===============================================================
c3t2d1 ENABLED ACME 2 2 0 enc0
Use the enclosure attribute with getdmpnode to obtain a list of all DMP nodes
for the specified enclosure.
# vxdmpadm getdmpnode enclosure=enc0
NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
===============================================================
c2t1d0 ENABLED ACME 2 2 0 enc0
c2t1d1 ENABLED ACME 2 2 0 enc0
c2t1d2 ENABLED ACME 2 2 0 enc0
c2t1d3 ENABLED ACME 2 2 0 enc0
Displaying the members of a LUN group
The following command displays the DMP nodes that are in the same LUN group
as a specified DMP node:
# vxdmpadm getlungroup dmpnodename=c11t0d10
The above command displays output such as the following:
NAME STATE ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
===============================================================
c11t0d8 ENABLED ACME 2 2 0 enc1
c11t0d9 ENABLED ACME 2 2 0 enc1
c11t0d10 ENABLED ACME 2 2 0 enc1
c11t0d11 ENABLED ACME 2 2 0 enc1
Displaying paths controlled by a DMP node, controller or array port
The vxdmpadm getsubpaths command combined with the dmpnodename
attribute displays all the paths to a LUN that are controlled by the specified DMP
node name from the /dev/vx/rdmp directory:
# vxdmpadm getsubpaths dmpnodename=c2t66d0
NAME STATE[A] PATH-TYPE[M]CTLR-NAMEENCLR-TYPE ENCLR-NAME ATTRS
===================================================================
c2t66d0 ENABLED(A) PRIMARY c2 ACME enc0 -
c1t66d0 ENABLED PRIMARY c1 ACME enc0 -
For A/A arrays, all enabled paths that are available for I/O are shown as
ENABLED(A).