Dynamic Multi-Pathing (DMP) provides a Dynamic Reconfiguration tool to simplify the addition of new LUNs to a new or existing target ID. One or more new LUNs are mapped to the host by way of multiple HBA ports. An operating system device scan is issued for the LUNs to be recognized and added to DMP control.
Warning: |
Do not run any device discovery operations outside of the Dynamic Reconfiguration tool until the device operation is completed. |
In a cluster, perform the steps on all the nodes in the cluster.
To add new LUNs dynamically to a target ID
# vxdiskadm
Specify Dynamic Reconfiguration Operation to be done: Menu: VolumeManager/Disk/DynamicReconfigurationOperations 1 Add Luns 2 Remove Luns 3 Replace Luns 4 Replace HBA ? Display help about menu ?? Display help about the menuing system q Exit
To add a LUN, enter 1. Output similar to the following is displayed:
Add Luns Menu: VolumeManager/Disk/DynamicReconfigurationOperations/AddLuns INFO: Refreshing OS device Tree INFO: Updating VxVM device tree Add LUNs from array, once done then press 'y' to continue or 'q' to quit. :
# symmask -sid 822 -wwn 10000000c989e032 -dir 1c -p 0 add devs 02b8 -nopr # symmask -sid 822 -wwn 10000000c989e032 -dir 1c -p 1 add devs 02b8 -nopr # symmask -sid 822 -wwn 10000000c989e032 -dir 16c -p 0 add devs 02b8 -nopr # symmask -sid 822 -wwn 10000000c989e032 -dir 16c -p 1 add devs 02b8 -nopr # symmask -sid 822 refresh -nopr Symmetrix FA/SE directors updated with contents of SymMask Database 000290300822
Output similar to the following is displayed:
Add LUNs from array, once done then press 'y' to continue or 'q' to quit. : y Add Luns Menu: VolumeManager/Disk/DynamicReconfigurationOperations/AddLuns INFO: Refreshing OS device Tree INFO: Updating VxVM device tree INFO: Number of Paths for Lun [emc0_02b8] presented=4 INFO: Updating VxVM device tree
DMP updates the operating system device tree and the VxVM device tree. The newly-discovered devices are now visible.
------------------------------------------------------ Luns Added ------------------------------------------------------ Enclosure=emc0 AVID=02B8 Device=emc0_02b8 Serial=22002B8000 PATH=hdisk49 ctlr=fscsi0 port=1c-0 [-] PATH=hdisk11 ctlr=fscsi0 port=16c-0 [-] PATH=hdisk12 ctlr=fscsi0 port=16c-1 [-] PATH=hdisk14 ctlr=fscsi0 port=1c-1 [-] ------------------------------------------------------ Press <Enter> or <Return> to continue:
Specify Dynamic Reconfiguration Operation to be done: Menu: VolumeManager/Disk/DynamicReconfigurationOperations 1 Add Luns 2 Remove Luns 3 Replace Luns 4 Replace HBA ? Display help about menu ?? Display help about the menuing system q Exit Select an operation to perform : q
To exit the Dynamic Reconfiguration tool, enter: q
# vxdisk -eo alldgs list | grep -w emc0_02b8 emc0_02b8 auto:none - - online invalid hdisk49 Mirror lun If to be used by VxVM and not already initialised, run /etc/vx/bin/vxdisksetup - i <da-name> # /etc/vx/bin/vxdisksetup -i emc0_02b8 # vxdisk -eo alldgs list | grep -w emc0_02b8 emc0_02b8 auto:cdsdisk - - online hdisk49 Mirror lun