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 on
.
# vxdmpadm settune dmp_cache_open=on
Identify which LUNs to add to the host. Do one of the following:
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:
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.