InfoScale™ 9.0 Virtualization Guide - AIX
- Section I. Overview
- Storage Foundation and High Availability Solutions in AIX PowerVM virtual environments
- Overview of the InfoScale Virtualization Guide
- About the AIX PowerVM virtualization technology
- About InfoScale products support for the AIX PowerVM environment
- About IBM LPARs with N_Port ID Virtualization (NPIV)
- About Veritas Extension for Oracle Disk Manager
- Virtualization use cases addressed by InfoScale
- 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
- Dynamic Multi-Pathing in the logical partition (LPAR)
- Dynamic Multi-Pathing in the Virtual I/O server (VIOS)
- InfoScale products in the logical partition (LPAR)
- Storage Foundation Cluster File System High Availability in the logical partition (LPAR)
- Dynamic Multi-Pathing in the Virtual I/O server (VIOS) and logical partition (LPAR)
- Dynamic Multi-Pathing in the Virtual I/O server (VIOS) and InfoScale products in the logical partition (LPAR)
- Cluster Server in the logical partition (LPAR)
- Cluster Server in the management LPAR
- Cluster Server in a cluster across logical partitions (LPARs) and physical machines
- Support for N_Port ID Virtualization (NPIV) in IBM Virtual I/O Server (VIOS) environments
- About setting up logical partitions (LPARs) with InfoScale products
- Configuring IBM PowerVM LPAR guest for disaster recovery
- Installing and configuring Storage Foundation and High Availability (SFHA) Solutions in the logical partition (LPAR)
- Installing and configuring storage solutions in the Virtual I/O server (VIOS)
- Installing and configuring Cluster Server for logical partition and application availability
- Enabling Veritas Extension for ODM file access from WPAR with VxFS
- 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
- About simplified management
- About Dynamic Multi-Pathing in a Virtual I/O server
- About the Volume Manager (VxVM) component in a Virtual I/O server
- 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 IO client adapter settings for Dynamic Multi-Pathing (DMP) in dual-VIOS configurations
- Using DMP to provide multi-pathing for the root volume group (rootvg)
- Boot device management on NPIV presented devices
- Virtual machine (logical partition) availability
- Simplified management and high availability for IBM Workload Partitions
- About IBM Workload Partitions
- About using IBM Workload Partitions (WPARs) with InfoScale products
- Implementing InfoScale support for WPARs
- How Cluster Server (VCS) works with Workload Patitions (WPARs)
- Configuring VCS in WPARs
- Configuring AIX WPARs for disaster recovery using VCS
- High availability and live migration
- About Live Partition Mobility (LPM)
- About the partition migration process and simplified management
- About Storage Foundation and High Availability (SFHA) Solutions support for Live Partition Mobility
- Providing high availability with live migration in a Cluster Server environment
- Providing logical partition (LPAR) failover with live migration
- Limitations and unsupported LPAR features
- Multi-tier business service support
- Server consolidation
- About IBM LPARs with virtual SCSI devices
- Using Storage Foundation in the logical partition (LPAR) with virtual SCSI devices
- Using Storage Foundation with virtual SCSI devices
- Setting up DMP for vSCSI devices in the logical partition (LPAR)
- About disabling DMP for vSCSI devices in the logical partition (LPAR)
- Preparing to install or upgrade Storage Foundation with DMP disabled for vSCSI devices in the logical partition (LPAR)
- Disabling DMP multi-pathing for vSCSI devices in the logical partition (LPAR) after installation or upgrade
- Adding and removing DMP support for vSCSI devices for an array
- How DMP handles I/O for vSCSI devices
- Using VCS with virtual SCSI devices
- About server consolidation
- About IBM Virtual Ethernet
- 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.