This section shows an example of a migration from PowerPath to DMP on the Virtual I/O Server, in a configuration with two VIO Servers.
Managed System: dmpviosp6 VIO server1: dmpvios1 VIO server2: dmpvios2 VIO clients: dmpvioc1 SAN LUNs: EMC Clariion array Current multi-pathing solution on VIO server: EMC PowerPath
To migrate dmpviosp6 from PowerPath to DMP
See the IBM website for information about backing up Virtual I/O Server.
dmpvioc1$ halt
$ oem_setup_env
For example, the following output shows the settings:
dmpvios1$ lsattr -El fscsi0 attach switch How this adapter is CONNECTED False dyntrk yes Dynamic Tracking of FC Devices True fc_err_recov fast_fail FC Fabric Event Error RECOVERY Policy True scsi_id 0xd0c00 Adapter SCSI ID False sw_fc_class 3 FC Class for Fabric True
dmpvios1$ /usr/ios/cli/iosctl lsmap -all
SVSA Physloc Client Partition ID -------------- ---------------------------- -------------------- vhost0 U9117.MMA.0686502-V2-C11 0x00000004 VTD P0 Status Available LUN 0x8100000000000000 Backing device hdiskpower0 Physloc U789D.001.DQD04AF-P1-C5-T1-W500507630813861A-L4 0034037 00000000 VTD P1 Status Available LUN 0x8200000000000000 Backing device hdiskpower1 Physloc U789D.001.DQD04AF-P1-C5-T1-W500507630813861A-L40 0240C10 0000000 VTD P2 Status Available LUN 0x8300000000000000 Backing device hdiskpower2 Physloc U789D.001.DQD04AF-P1-C5-T1-W500507630813861A-L40 02409A00000000
dmpvios1 $ rmdev -p vhost0 P0 Defined P1 Defined P2 Defined
Unmount the file system and varyoff volume groups residing on the PowerPath devices.
Display the volume groups (vgs) in the configuration:
dmpvios1$ lsvg rootvg brunovg
dmpvios1 lsvg -p brunovg
brunovg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdiskpower3 active 511 501 103..92..102..102..102
Use the varyoffvg command on all affected vgs:
dmpvios1$ varyoffvg brunovg
Unmanage the EMC Clariion array from PowerPath control
# powermt unmanage class=clariion hdiskpower0 deleted hdiskpower1 deleted hdiskpower2 deleted hdiskpower3 deleted
dmpvios1$ reboot
dmpvios1 lsvg -p brunovg
brunovg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION emc_clari0_138 active 511 501 103..92..102..102..102
Verify the mappings of the LUNs on the migrated volume groups:
dmpvios1 lsmap -all
SVSA Physloc Client Partition ID -------------- -------------------------- ------------------ vhost0 U9117.MMA.0686502-V2-C11 0x00000000 VTD P0 Status Available LUN 0x8100000000000000 Backing device emc_clari0_130 Physloc VTD P1 Status Available LUN 0x8200000000000000 Backing device emc_clari0_136 Physloc VTD P2 Status Available LUN 0x8300000000000000 Backing device emc_clari0_137 Physloc