Veritas InfoScale™ 7.4.1 Virtualization Guide - AIX
- Section I. Overview
- Storage Foundation and High Availability Solutions in AIX PowerVM virtual environments
- Section II. Implementation
- Setting up Storage Foundation and High Availability Solutions in AIX PowerVM virtual environments
- Supported configurations for Virtual I/O servers (VIOS) on AIX
- Installing and configuring Storage Foundation and High Availability (SFHA) Solutions in the logical partition (LPAR)
- Installing and configuring Cluster Server for logical partition and application availability
- Supported configurations for Virtual I/O servers (VIOS) on AIX
- Setting up Storage Foundation and High Availability Solutions in AIX PowerVM virtual environments
- Section III. Use cases for AIX PowerVM virtual environments
- Application to spindle visibility
- Simplified storage management in VIOS
- Configuring Dynamic Multi-Pathing (DMP) on Virtual I/O server
- Configuring Dynamic Multi-Pathing (DMP) pseudo devices as virtual SCSI devices
- Extended attributes in VIO client for a virtual SCSI disk
- Virtual machine (logical partition) availability
- Simplified management and high availability for IBM Workload Partitions
- Implementing Storage Foundation support for WPARs
- How Cluster Server (VCS) works with Workload Patitions (WPARs)
- Configuring VCS in WPARs
- High availability and live migration
- Limitations and unsupported LPAR features
- Multi-tier business service support
- Server consolidation
- About IBM Virtual Ethernet
- Using Storage Foundation in the logical partition (LPAR) with virtual SCSI devices
- How DMP handles I/O for vSCSI devices
- Physical to virtual migration (P2V)
- Section IV. Reference
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
- 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.
- Shut down all of the VIO clients that are serviced by the VIO Server.
dmpvioc1$ halt
- 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
- 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
- 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.
- 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
- Reboot VIO server1
dmpvios1$ reboot
- 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
- Repeat step 1 through step 8 for VIO server2.
- Start all of the VIO clients using HMC.