Migrating from MPIO to DMP on a Virtual I/O server for a dual-VIOS configuration

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

  1. Before migrating, back up the Virtual I/O server to use for reverting the system in case of issues.

    See the IBM website for information about backing up Virtual I/O server.

  2. Shut down all of the VIO clients that are serviced by the VIO Server.
    dmpvioc1$ halt
  3. Log into the VIO server partition.Use the following command to access the non-restricted root shell. All subsequent commands in this procedure must be invoked from the non-restricted shell.
    $ oem_setup_env
  4. The following command shows lsmap output before migrating MPIO VTD devices to DMP:
    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
  5. Unconfigure all VTD devices from all virtual adapters on the system:
    dmpvios1 $ rmdev -p vhost0
    vtscsi0 Defined
    vtscsi1 Defined
    vtscsi2 Defined

    Repeat this step for all other virtual adapters.

  6. Migrate the devices from MPIO to DMP.

    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
  7. Reboot VIO server1
    dmpvios1$ reboot
  8. After the VIO server1 reboots, verify that all of the existing volume groups on the VIO server1 and MPIO VTDs on the VIO server1 are successfully migrated to DMP.
    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 
  9. Repeat step 1 through step 8 for VIO server2.
  10. Start all of the VIO clients using HMC.