Adding new LUNs dynamically to a new target ID
In this case, a new group of LUNs is mapped to the host via multiple HBA ports. An operating system device scan is issued for the LUNs to be recognized and added to DMP control.
To add new LUNs dynamically to a new target ID
Prior to any dynamic reconfiguration, ensure that the dmp_cache_open tunable is set to
on. This setting is the default.
# vxdmpadm gettune dmp_cache_open
If the tunable is set to
off, set the dmp_cache_open tunable to
# vxdmpadm settune dmp_cache_open=on
Identify which LUNs to add to the host. Do one of the following:
Use Storage Array Management to identify the Array Volume ID (AVID) for the LUNs.
If the array does not report the AVID, use the LUN index.
Map/mask the LUNs to the new target IDs on multiple hosts.
Scan the operating system device.
Repeat step 2 and step 3 until you see that all the LUNs have been added.
Use VxVM to perform a device scan. You must perform this operation on all nodes in a cluster. Enter one of the following commands:
# vxdctl enable
# vxdisk scandisks
Refresh the DMP device name database using the following command:
# vxddladm assign names
Verify that the LUNs were added correctly by answering the following questions:
If the answer to any of these questions is "No," return to step 2 and begin the procedure again.
If the answer to all of the questions is "Yes," the LUNs have been successfully added. You can now add the LUNs to a disk group, create new volumes, or grow existing volumes.
If the dmp_native_support tunable is set to ON and the new LUN does not have a VxVM label or is not claimed by a TPD driver then the LUN is available for use by LVM.