Adding new LUNs dynamically to a new target ID

Article:HOWTO74818  |  Created: 2012-03-26  |  Updated: 2012-03-27  |  Article URL http://www.symantec.com/docs/HOWTO74818
Article Type
How To


Environment


Adding new LUNs dynamically to a new target ID

See Reconfiguring a LUN online that is under DMP control

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.

The high-level procedure and the DMP commands are generic.

To add new LUNs dynamically to a new target ID

  1. 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
  2. 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.

  3. Map/mask the LUNs to the new target IDs on multiple hosts.

  4. Scan the operating system device.

    See Scanning an operating system device tree after adding or removing LUNs

    Repeat step 2 and step 3 until you see that all the LUNs have been added.

  5. Use DMP 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
  6. Refresh the DMP device name database using the following command:

    # vxddladm assign names
  7. Verify that the LUNs were added correctly by answering the following questions:

    • Do the newly provisioned LUNs appear in the vxdisk list output?

    • Are the configured paths present for each LUN?

    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.


Legacy ID



uxrt-60_v27451819_v71682875


Article URL http://www.symantec.com/docs/HOWTO74818


Terms of use for this information are found in Legal Notices