Migrating to DMP from EMC PowerPath

This procedure describes removing devices from EMC PowerPath control and enabling DMP on the devices.

Make sure that all paths belonging to the migrating PowerPath devices are in healthy state during the migration.

Plan for application downtime for the following procedure.

To remove devices from EMC PowerPath control and enable DMP

  1. Stop the applications that use the PowerPath meta-devices.

    In a VCS environment, stop the VCS service group of the application, which will stop the application.

  2. Unmount any file systems that use the pool on the PowerPath device.
  3. Export the ZFS pools that use the PowerPath device.
    # zpool export poolname
  4. Remove the disk access names for the PowerPath devices from VxVM.
    # vxdisk rm emcpowerXXXX

    Where emcpowerXXXX is the name of the EMC PowerPath device.

  5. Take the device out of PowerPath control:
    # powermt unmanage dev=pp_device_name
    or
    # powermt unmanage class=array_class
  6. Verify that the PowerPath device has been removed from PowerPath control.
    # powermt display dev=all
  7. Run a device scan to bring the devices under DMP control:
    # vxdisk scandisks
  8. Turn on the DMP support for the ZFS pool.
    # vxdmpadm settune dmp_native_support=on
  9. Mount the file systems.
  10. Restart the applications.