Dynamic Multi-Pathing 7.4.1 Administrator's Guide - AIX
- Understanding DMP
- Setting up DMP to manage native devices
- Using Dynamic Multi-Pathing (DMP) devices with Oracle Automatic Storage Management (ASM)
- Dynamic Multi-Pathing for the Virtual I/O Server
- Configuring Dynamic Multi-Pathing (DMP) on Virtual I/O server
- Configuring Dynamic Multi-Pathing (DMP) pseudo devices as virtual SCSI devices
- Extended attributes in VIO client for a virtual SCSI disk
- Administering DMP
- Configuring DMP for SAN booting
- Administering the root volume group (rootvg) under DMP control
- Extending an LVM rootvg that is enabled for DMP
- Using Storage Foundation in the logical partition (LPAR) with virtual SCSI devices
- How DMP handles I/O for vSCSI devices
- 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.
- Specify the Dynamic Reconfiguration operation to be done. Output similar to the following is displayed:
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. :
- The following are sample EMC Symmetrix commands:
# 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
- 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: Number of Paths for Lun [emc0_02b8] 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=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 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
- Initialize the disk.
# 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