Skip to main content
ONTAP 7-Mode Transition

Testing LUNs with mount points using DMMP alias names on RHEL hosts before the cutover phase of copy-based transitions

Contributors

If you are using the 7-Mode Transition Tool (7MTT) 2.2 or later and Data ONTAP 8.3.2 or later to perform a copy-based transition of your Red Hat Enterprise Linux (RHEL) host, you can test your transitioned clustered Data ONTAP LUNs with mount points using alias names before the cutover phase. Your source host can continue to run I/O to your source 7-Mode LUNs during testing.

Your new clustered Data ONTAP LUNs must be mapped to your test host and your LUNs must be ready for transition.

You should maintain hardware parity between the test host and the source host and you should perform the following steps on the test host.

Your clustered Data ONTAP LUNs are in read/write mode during testing. They convert to read-only mode when testing is complete and you are preparing for the cutover phase.

Steps
  1. After the baseline data copy is complete, select Test Mode in the 7MTT user interface (UI).

  2. In the 7MTT UI, click Apply Configuration.

  3. Obtain the new SCSI device names for the clustered Data ONTAP LUNs:

    sanlun lun show

    In the following example, /dev/sdl is the SCSI device name for the lun_dmmp_raw LUN, and /dev/sdk is the SCSI device name for the

    lun_dmmp_raw_alias LUN:

    [root@ibmx3550-229-108 /]# sanlun lun show
    controller(7mode/E-Series)/
    vserver (cDOT/FlashRay)     lun-pathname               filename
    -----------------------------------------------------------------
    vs_brb     /vol/dmmp_raw_vol/lun_dmmp_raw              /dev/sdl
    vs_brb     /vol/dmmp_raw_alias_vol/lun_dmmp_raw_alias  /dev/sdk
  4. Configure the DMMP devices for your clustered Data ONTAP LUNs:

    multipath

  5. Obtain the device handle IDs for the clustered Data ONTAP LUNs:

    multipath -ll

    The following is an example of a device handle ID: “3600a09804d532d79565d47617679764d”

  6. Check whether an alias is defined in the /etc/multipath.conf file on the source host.

  7. Manually copy the alias configuration to the /etc/multipath.conf file on the test host, but replace the 7-Mode device handle ID with the corresponding clustered Data ONTAP device handle ID.

  8. Use the multipath command to configure DMMP devices for your clustered Data ONTAP LUNs.

  9. Identify the file system created on the DMMP alias device:

    blkid dmmp_device_name

  10. Mount the DMMP device:

    mount

  11. Perform your testing as needed.

  12. After you have completed your testing, shut down the test host:

    shutdown -h -t0 now

  13. In the 7MTT UI, click Finish Testing.

If your clustered Data ONTAP LUNs are to be remapped to your source host, you must prepare your source host for the cutover phase. If your clustered Data ONTAP LUNs are to remain mapped to your test host, no further steps are required on the test host.

Related information