Description
When adding and removing physical LUNs that are connected to a server, it is necessary to run many steps. To reduce the complexity surrounding the multi-step Dynamic LUN reconfiguration process, Veritas has created a new non-interactive interface to aid the provisioning and removal of devices.
The sequence related to the removal and addition of LUNs is illustrated below:
Figure 1.0
New Interface
# /usr/lib/vxvm/voladm.d/bin/dmpdr -o refresh
The new enhanced dmpdr tool will only work in connection with Veritas DMP (Dynamic Multi-Pathing). Third-party multi-pathing drivers ( such as MPxIO and EMC PowerPath ) are not supported and will not work with the new interface.
When intentionally removing a LUN from a server, VxVM must be informed prior to any storage activity.
# vxdisk rm <disk-access-name>
The above command informs VxVM that the Veritas disk access (da) name is to be removed from the system. Adding and removing devices must be done at different times and not under the same reconfiguration event. Prior to adding new storage devices, "pre-checks" must be performed to minimize human error.
Dmpdr Tool
The enhanced dmpdr tool attempts to make life easier for system and storage administrators, as they no longer require skills in multiple areas.
- The enhanced DMPDR (Dynamic Reconfiguration) tool has been enhanced and now includes a non-interactive interface to aid the complex LUN reconfiguration process
- The DMPDR tool attempts to automate and perform the correct sequence of events on the host in the effort to reduce human error without the need for manual intervention
- The DMPDR tool will try to auto-correct mistakes and refresh the different components in the I/O stack
- The DMPDR tool will clean-up the OS device handles beneath the underlying DMP managed device and refresh VxVM and DMP
LUN Reconfiguration Process
Removal
Figure 2.0
The original LUN removal multi-step process has been replaced with 3 steps:
1. vxdisk rm <Veritas-disk-access-name>
2. Storage Array LUN removal commands and activity
3. /usr/lib/vxvm/voladm.d/bin/dmpdr -o refresh
Addition
The original LUN addition multi-step process has been replaced with 2 steps:
1. Storage Array LUN removal commands/activity
2. /usr/lib/vxvm/voladm.d/bin/dmpdr -o refresh
Note: The dmpdr script will create a log file under /var/adm/vx/ for each LUN reconfiguration event.
The enhanced dmpdr tool functionality is generally available with Veritas Volume Manager Public Patch 7.2.0.300 on sort.veritas.com.
Example:
vm-sol11_sparc-Patch-7.2.0.300
https://sort.veritas.com/patch/detail/12971
Related Articles
SOLARIS: LUN Removal Reconfiguration Guidelines
https://www.veritas.com/support/en_US/article.100044057
SOLARIS: LUN Addition Reconfiguration Guidelines
https://www.veritas.com/support/en_US/article.100044058
SOLARIS: Path Removal Reconfiguration Guidelines
https://www.veritas.com/support/en_US/article.100044138
SOLARIS: Path Addition Reconfiguration Guidelines
https://www.veritas.com/support/en_US/article.100044139
SOLARIS: How to convert the cfgadm failing state to the intended unusable state
https://www.veritas.com/support/en_US/article.100044068
LDOM: How to remove a Virtual disk presented to a Solaris GUEST domain
https://www.veritas.com/support/en_US/article.100044069
LDOM: How to remove a disk from a Solaris service I/O domain
https://www.veritas.com/support/en_US/article.100044070
LDOM: How to provision a disk to a Solaris service I/O domain
https://www.veritas.com/support/en_US/article.100044071