Administering dynamic multipathing (DMP) 141

Administering DMP using vxdmpadm

For A/P arrays in which the I/O policy is set to singleactive, only one path is shown as ENABLED(A). The other paths are enabled but not available for I/O. If the I/O policy is not set to singleactive, DMP can use a group of paths (all primary or all secondary) for I/O, which are shown as ENABLED(A). See Specifying the I/O policy” on page 147 for more information.

Paths that are in the DISABLED state are not available for I/O operations.

You can use getsubpaths to obtain information about all the paths that are connected to a particular HBA controller:

# vxdmpadm getsubpaths ctlr=c2

NAME STATE[-] PATH-TYPE[-] CTLR-NAME ENCLR-TYPE ENCLR-NAMEATTRS

===================================================================

c2t1d0

ENABLED

PRIMARY

c2t1d0

ACME

enc0

-

c2t2d0

ENABLED

PRIMARY

c2t2d0

ACME

enc0

-

c2t3d0

ENABLED

SECONDARY

c2t3d0

ACME

enc0

-

c2t4d0

ENABLED

SECONDARY

c2t4d0

ACME

enc0

-

You can also use getsubpaths to obtain information about all the paths that are connected to a port on an array. The array port can be specified by the name of the enclosure and the array port ID, or by the worldwide name (WWN) identifier of the array port:

#vxdmpadm getsubpaths enclosure=HDS9500V0 portid=1A

#vxdmpadm getsubpaths pwwn=20:00:00:E0:8B:06:5F:19

Displaying information about controllers

The following command lists attributes of all HBA controllers on the system:

#vxdmpadm listctlr all

CTLR-NAME ENCLR-TYPE STATEENCLR-NAME

===============================================================

c1

OTHER

ENABLED

other0

c2

X1

ENABLED

jbod0

c3

ACME

ENABLED

enc0

c4

ACME

ENABLED

enc0

This output shows that the controller c1 is connected to disks that are not in any recognized DMP category as the enclosure type is OTHER.

The other controllers are connected to disks that are in recognized DMP categories.

All the controllers are in the ENABLED state which indicates that they are available for I/O operations.

The state DISABLED is used to indicate that controllers are unavailable for I/O operations. The unavailability can be due to a hardware failure or due to I/O