InfoScale™ 9.0 Dynamic Multi-Pathing Administrator's Guide - Solaris
- Understanding DMP
- How DMP works
- Disk device naming in DMP
- Setting up DMP to manage native devices
- Using Dynamic Multi-Pathing (DMP) devices with Oracle Automatic Storage Management (ASM)
- Administering DMP
- Managing DMP devices for the ZFS root pool
- 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
- About the DMPDR utility
- 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
Replacing LUNs dynamically from an existing target ID
Dynamic Multipathing (DMP) provides a Dynamic Reconfiguration tool to simplify the replacement of new LUNs from an existing target ID. Each LUN is unmapped from the host. DMP issues an operating system device scan and cleans up the operating system device tree.
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 replace LUNs dynamically from an existing target ID
- Stop all applications and volumes that are hosted on the LUNs that are to be removed.
For LUNs that are in use by ZFS, export the zpool.
- Start the vxdiskadm utility:
# vxdiskadm
- Select the Dynamic Reconfiguration operations option from the vxdiskadm menu.
- Select the Replace LUNs option.
The output displays a list of LUNs that are available for replacement. A LUN is available for replacement if there is no open on the LUN, and the state is online or nolabel.
- Select one or more LUNs to replace.
- At the prompt, confirm the LUN selection.
- Remove the LUN from the array or the target.
- Return to the Dynamic Reconfiguration tool and select y to continue the removal.
After the removal completes successfully, the Dynamic Reconfiguration tool prompts you to add a LUN.
- When the prompt displays, add the LUNs from the array or the target.
- Select y to continue to add the LUNs.
DMP updates the operating system device tree and the VxVM device tree. The newly-discovered devices are now visible.