This following example procedure illustrates a migration from MPIO to DMP on the Virtual I/O server, in a configuration with two VIO Servers.
Example configuration values:
Managed System: dmpviosp6 VIO server1: dmpvios1 VIO server2: dmpvios2 VIO clients: dmpvioc1 SAN LUNs: IBM DS8K array Current multi-pathing solution on VIO server: IBM MPIO ODM definition fileset required to disable MPIO support for IBM DS8K array LUNs: devices.fcp.disk.ibm.rte
To migrate dmpviosp6 from MPIO to DMP
See the IBM website for information about backing up Virtual I/O server.
dmpvioc1$ halt
$ oem_setup_env
dmpvios1$ /usr/ios/cli/ioscli lsmap -all SVSA Physloc Client Partition ID --------------- --------------------------- ------------------ vhost0 U9117.MMA.0686502-V2-C11 0x00000004 VTD vtscsi0 Status Available 8100000000000000 Backing device hdisk21 LUN 0x Physloc U789D.001.DQD04AF-P1-C5-T1-W500507630813861A-L4 003403700000000 VTD vtscsi1 Status Available LUN 0x8200000000000000 Backing device hdisk20 Physloc U789D.001.DQD04AF-P1-C5-T1-W500507630813861A-L4 00240C100000000 VTD vtscsi2 Status Available LUN 0x8300000000000000 Backing device hdisk18 Physloc U789D.001.DQD04AF-P1-C5-T1-W500507630813861A-L4 002409A00000000
The VIO Server has MPIO providing multi-pathing to these hdisks. The following commands show the configuration:
dmpvios1$ lsdev -Cc disk | egrep "hdisk21|hdisk20|hdisk18"
hdisk18 Available 02-08-02 MPIO Other FC SCSI Disk Drive hdisk20 Available 02-08-02 MPIO Other FC SCSI Disk Drive hdisk21 Available 02-08-02 MPIO Other FC SCSI Disk Drive
dmpvios1 $ rmdev -p vhost0 vtscsi0 Defined vtscsi1 Defined vtscsi2 Defined
Repeat this step for all other virtual adapters.
Unmount the file system and varyoff volume groups residing on the MPIO 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 hdisk19 active 511 501 103..92..102..102..102 hdisk22 active 511 501 103..92..102..102..102
Use the varyoffvg command on all affected vgs:
dmpvios1$ varyoffvg brunovg
Install the IBMDS8K ODM definition fileset to remove IBM MPIO support for IBM DS8K array LUNs.
dmpvios1$ installp -aXd . devices.fcp.disk.ibm.rte
+------------------------------------------------------+ Pre-installation Verification... +------------------------------------------------------+ Verifying selections...done Verifying requisites...done Results... Installation Summary -------------------- Name Level Part Event Result ------------------------------------------------------ devices.fcp.disk.ibm.rte 1.0.0.2 USR APPLY SUCCESS devices.fcp.disk.ibm.rte 1.0.0.2 ROOT APPLY SUCCESS
dmpvios1$ reboot
dmpvios1 lsvg -p brunovg
brunovg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION ibm_ds8000_0292 active 511 501 103..92..102..102..102 ibm_ds8000_0293 active 511 501 103..92..102..102..102
Verify the vSCSI mappings of IBM DS8K LUNs on the migrated volume groups:
dmpvios1 lsmap -all
SVSA Physloc Client Partition ID --------------- ---------------------------- ------------------ vhost0 U9117.MMA.0686502-V2-C11 0x00000000 VTD vtscsi0 Status Available LUN 0x8100000000000000 Backing device ibm_ds8000_0337 Physloc VTD vtscsi1 Status Available LUN 0x8200000000000000 Backing device ibm_ds8000_02c1 Physloc VTD vtscsi2 Status Available LUN 0x8300000000000000 Backing device ibm_ds8000_029a Physloc