Administering dynamic multipathing (DMP) 155

Administering DMP using vxdmpadm

For a system with a volume mirrored across 2 controllers on one HBA, set up the configuration as follows:

1Disable the plex that is associated with the disk device:

#/opt/VRTS/bin/vxplex -g diskgroup det plex

2Stop I/O to all disks through one controller of the HBA:

#/opt/VRTS/bin/vxdmpadm disable ctlr=first_cntlr

For the other controller on the HBA, enter:

#/opt/VRTS/bin/vxdmpadm -f disable ctlr=second_cntlr

3Upgrade the firmware on those disks for which the controllers have been disabled using the procedures that you obtained from the disk drive vendor.

4After doing the upgrade, re-enable all the controllers:

#/opt/VRTS/bin/vxdmpadm enable ctlr=first_cntlr

#/opt/VRTS/bin/vxdmpadm enable ctlr=second_cntlr

5Re-enable the plex associated with the device:

#/opt/VRTS/bin/vxplex -g diskgroup att volume plex

This command takes some time depending upon the size of the mirror set.

Renaming an enclosure

The vxdmpadm setattr command can be used to assign a meaningful name to an existing enclosure, for example:

#vxdmpadm setattr enclosure enc0 name=GRP1

This example changes the name of an enclosure from enc0 to GRP1.

Note: The maximum length of the enclosure name prefix is 25 characters. The name must not contain an underbar character (_).

The following command shows the changed name:

#vxdmpadm listenclosure all

ENCLR_NAME ENCLR_TYPE ENCLR_SNOSTATUS

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

other0

OTHER

OTHER_DISKS

CONNECTED

jbod0

X1

X1_DISKS

CONNECTED

GRP1

ACME

60020f20000001a90000

CONNECTED