Dynamic Multi-Pathing 7.3.1 Administrator's Guide - Linux
- Understanding DMP
- Setting up DMP to manage native devices
- Using Dynamic Multi-Pathing (DMP) devices with Oracle Automatic Storage Management (ASM)
- Administering DMP
- Administering DMP using the vxdmpadm utility
- Gathering and displaying I/O statistics
- Specifying the I/O policy
- Administering disks
- Discovering and configuring newly added disk devices
- About discovering disks and dynamically adding disk arrays
- How to administer the Device Discovery Layer
- Changing the disk device naming scheme
- Dynamic Reconfiguration of devices
- Reconfiguring a LUN online that is under DMP control using the Dynamic Reconfiguration tool
- Manually reconfiguring a LUN online that is under DMP control
- Event monitoring
- Performance monitoring and tuning
- Appendix A. DMP troubleshooting
- Appendix B. Reference
Adding new LUNs dynamically to a target ID
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
- Start the vxdiskadm utility:
# vxdiskadm
- Select the Dynamic Reconfiguration operations option from the vxdiskadm menu.
- Select the Add LUNs option.
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. :
- The following are sample EMC Symmetrix commands:
# symmask -sid 822 -wwn 2001000e1ec307de -dir 16c -p 0 add devs 0119 -nopr # symmask -sid 822 -wwn 2001000e1ec307de -dir 16c -p 1 add devs 0119 -nopr # symmask -sid 822 -wwn 2001000e1ec307df -dir 16c -p 0 add devs 0119 -nopr # symmask -sid 822 -wwn 2001000e1ec307df -dir 16c -p 1 add devs 0119 -nopr # symmask -sid 822 refresh -nopr Symmetrix FA/SE directors updated with contents of SymMask Database 000290300822
- When the prompt displays, add the LUNs from the array.
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: Updating partition table information and disk size INFO: Number of Paths for Lun [emc0_0119] presented=4 INFO: Updating VxVM device tree
- Select y to continue to add the LUNs to DMP.
DMP updates the operating system device tree and the VxVM device tree. The newly-discovered devices are now visible.
--------------------------------------------------------- Luns Added --------------------------------------------------------- Enclosure=emc0 AVID=0119 Device=emc0_0119 Serial=2200119000 PATH=sdaf ctlr=c11 port=16c-1 [-] PATH=sdah ctlr=c12 port=16c-0 [-] PATH=sdaj ctlr=c12 port=16c-1 [-] PATH=sdad ctlr=c11 port=16c-0 [-] --------------------------------------------------------- Press <Enter> or <Return> to continue:
- Specify the dynamic reconfiguration operation to be done:
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