IBM Support

"viosupgrade" Checklist for Upgrading Virtual I/O Server (VIOS)

Question & Answer


Question

How can I upgrade my PowerVM Virtual I/O Server (VIOS) to a new release?
 

Answer

 
IMPORTANT
  1. VIOS updates and upgrades are not the same as explained in PowerVM VIOS Update Recommendations. This document provides a checklist of recommendations to consider in preparation for a VIOS upgrade.
  2. For IBM cross-products compatibility information and VIOS upgrade recommendations for your specific Power System, refer to the Fix Level Recommendation Tool (FLRT) - Power Systems and enter your VIOS environment details.
  3. For storage compatibility questions, go to the IBM System Storage Interoperation Center (SSIC) or contact your storage vendor.
  4. Standard support for all 3.1 releases ended April 30, 2026. For more details and option, see IBM PowerVM: Expected services when contacting IBM Support for VIOS versions that are "End of Support"
  5. To minimize client LPARs' disruption, it is recommended to ensure all client partitions have disk and network redundancy through both VIOS prior the upgrade. This can be verified by using the Validate Maintenance Readiness and Prepare task from the HMC. For more details, see Validating the Virtual I/O Server for maintenance readiness.
 
VIOS Upgrade Checklist
 

From 3.1 to 4.1

This document provides a checklist of recommendations to consider in preparation for a VIOS upgrade from version 3.1 to 4.1. A VIOS upgrade is considered a major upgrade as it involves doing a new and fresh installation.  Therefore, carefully review the checklist below, as well as miscellaneous information and unsupported upgrade scenarios before performing the upgrade. 

There are various methods of upgrading a Virtual I/O Server (VIOS) from version 3.1 to 4.1

Method #1 - Upgrading the VIOS from the HMC (recommended method)

Other Reference: Upgrading Virtual I/O Servers   

Method #2 - Use viosupgrade padmin command on the VIOS partition (for non-NIM users). For how-to details, see How to upgrade to VIOS Version 4.1.0.10 with IBM Storage and non-Shared Storage Pool Environment

Method #3 - Use viosupgrade AIX NIM tool (for NIM users)

Method #4 - Use the manual upgrade method, which involves 3 tasks:

1. Manually back up the VIOS metadata by using the viosbr -backup command
2. Install VIOS 4.1 via AIX NIM Server, Flash Storage, or Hardware Management Console (HMC)
3. Restore the VIOS metadata by using the viosbr -restore command

POWER SYSTEM REQUIREMENT
Complete
= X
COMMENTS
Before upgrading your VIOS to version 4, ensure the VIOS version you wish to upgrade to is supported on your Power System. 
Go to the System Software Maps for PowerVM Virtual I/O Server and select your machine type and model. 
 
 
VIOS PRE-REQUISITES
Complete
= X
COMMENTS
Ensure VIOS version is 3.1.4.60 prior to upgrading to Version 4 VIOS 3.1.4.60 Fix Pack Release Notes
VIOS REQUIREMENTS
Complete
= X
COMMENTS
1. Obtain VIOS 4.1 installation software to build the mksysb needed for the upgrade
 
 
How to Obtain Installation Software for PowerVM Virtual I/O Server.  (This will require VIOS entitlement verification.)
 

How to build the mksysb file for VIOS 3.1 Migration / Installation

2. A spare disk is needed as the viosupgrade process will create a disk clone of the original 3.1 VIOS rootvg
 
If the current VIOS rootvg is mirrored, it can be temporarily unmirrored to remove the disk from rootvg to be used as the alternate disk to install the available VIOS 4.1 image.
See unmirrorios and reducevg commands for more details.
To remirror, click here.
 
Related Resource
 
3. If additional software is installed in VIOS 3.1, a custom mksysb image is required with viosupgrade -i option.
The additional software may include (but it is not limited to):
 How to Create Custom Mksysb Image For a VIOS Upgrade (viosupgrade)
4. Use viosupgrade with -g option to restore customized files.
viosupgrade tool does a New and Complete installation.  Consequently, any customized configurations that might exist on the currently running VIOS before the installation starts (including the time zone), are not included in the new installation image. You must save and backup any customized configurations before running the viosupgrade command and restore them after the installation completes.
  • Note: Device numbers (ent#, hdisk#, fcs#, etc) will be reconfigured sequentially after the viosupgrade. For example, if before the upgrade you had hdisk0, hdisk1, and hdisk4, after the upgrade, you may see hdisk0, hdisk1, and hdisk2, where hdisk2 is the old hdisk4 before upgrade.
 
The viosbr backup and restore commands handle only the configurations related to the virtual I/O. The viosupgrade command provides the -g option to save the required configuration files from the currently installed image to the new VIOS image. 
Related resource:
5. Determine if there are logical volumes configured in VIOS rootvg and used as backing devices for virtual SCSI disks. Rootvg LV backed vSCSI disk backup restore not supported.
6. If the VIOS is part of a Shared Storage Pool (SSP) cluster, you must use viosupgrade with -c option, e.g. 
 
$ viosupgrade -l -i <mksysb image> -a <hdisk> -c
 
Click here for unsupported scenarios.
 
Note 1:  To upgrade to VIOS version 4.1, the status of the SSP cluster must be ON_LEVEL for all the nodes. You can verify the status of the cluster by using the command:
 
$ cluster -status -verbose
 
If "Node Upgrade Status" is UP_LEVEL, your cluster nodes (Virtual I/O Servers) are not ready for migration to VIOS version 4.1.
 
Note 2: Supported Virtual I/O Server upgrade levels for Shared Storage Pool (SSP) and non-SSP clusters
 
Note 3: After "Upgrade process is completed successfully", do not boot back from the original 3.1 disk if you encounter any issues.  Contact your local IBM SupportLine Representative for investigation.
 
Resources
 
 
RELEVANT RESOURCES
  1. VIOS 4.1 Overview    
  2. VIOS 4.1 Migration Demystified: Expert Tips and Insights     
  3. VIOS 4.1.1 Release Notes
  4. Viosupgrade Tool Enhancements on VIOS 3.1.4.60 & 4.1.1.10
  5. How to upgrade to VIOS Version 4.1.0.10 with IBM Storage and non-Shared Storage Pool Environment -
  6. FLRT VIOS HIPER APAR Information
  7. FLRT VIOS Security APAR Information
  8. Problem Determination Resources
    1. Why can't I perform viosupgrade on my alternate disk ?
  9. Known Issues when upgrading from 3.1.4 to 4.1.0
    1. padmin viosupgrade FAILED - Installation on alternate disk(s) failed
  10. known Issues when upgrading to 4.1.1
 

From 2.2.6.60 to 3.1

NOTE: 
VIOS V2 reached Standard End of Support Sept 30, 2020. Before continuing, carefully review IBM PowerVM: Expected services when contacting IBM Support for VIOS versions that are "End of Support"
 
Following is a checklist aimed to help prepare a VIOS to be upgraded from version 2.2.6.65 to 3.1 using viosupgrade tool.
 
The upgrade to version 3.1 is considered a major upgrade as it involves doing a new and fresh installation.  Prior to the upgrade, ensure the checklist is reviewed to its entirely along with miscellaneous information and unsupported upgrade scenarios.
 
For cross-product compatibility information and fix recommendations, see Fix Level Recommendation Tool (FLRT) - Power System Recommendations.
 
There are various methods for upgrading to version 3.1. It is up to VIOS Administrators to assess all options and determine which one is best suited for their particular environment.
  1. Method #1 - Use viosupgrade tool from padmin shell on the VIOS partition (for non-AIX NIM users). For more details, see How to upgrade to VIOS Version 3.1.4.31 with IBM Storage and non-Shared Storage Pool Environment
  2. Method #2 - Use viosupgrade AIX NIM command (for NIM users)
  3. Method #3 - Use the manual method, which involves 3 tasks
    1. Manually back up the VIOS metadata by using the viosbr -backup command
    2. Install VIOS 3.1 via AIX NIM Server, Flash Storage, or Hardware Management Console (HMC)
    3. Restore the VIOS metadata by using the viosbr -restore command
NOTE
viosupgrade tool is included in 2.2.6.30 and above.  The enhancement version of this tool available as interim fix at
  • viosupgVIO.200807.epkg.Z
  • VIOS must be at 2.2.6.65 with this interim ifix before doing the VIOS upgrade.

 

SYSTEM REQUIREMENT
Complete
= X
COMMENTS
VIOS version 3.1.3 requires Power8 or later.
For more details on VIOS and system compatibility information, refer to the System Software Maps for PowerVM Virtual I/O Server.
 
Ensure Power system requirement is met before proceeding to the VIOS Requirements.
 
Note 1:  VIOS 3.1 is not supported on Power7 and older hardware. 
 
Note 2:  Only VIOS versions 3.1.0, 3.1.1, and 3.1.2 are supported on Power7+ ("D" models, such as 9117-MMD). 
For more details about your system type and model, search here for your system sales manual.
 
Note 3: VIOS Version 3 reached End of Support April 30, 2026.  See VIOS Lifecycle for details. IBM recommends upgrading from 2.2.6.65 to 3.1.4.10. Once at 3.1.4.10, update to 3.1.4.60 before upgrading to Version 4  
VIOS REQUIREMENTS
Complete
= X
COMMENTS
1. VIOS 3.1 installation software
(PowerVM VIOS entitlement verification required)
 
See:
  1. How to Obtain Installation Software for PowerVM Virtual I/O Server
  2. How to build the mksysb file for VIOS 3.1 Migration / Installation?
2. Spare disk(s) needed as the viosupgrade process will create a disk clone of the original 2.2.6 VIOS rootvg. 
If the current VIOS rootvg is mirrored, it can be temporarily unmirrored and removed from rootvg to be used for the alternate disk install.
See unmirrorios and reducevg commands for more details.
To remirror, click here.
 
3. For minimum VIOS 2.2.6 level required, see Recommended upgrade paths to VIOS version 3.1
 
 
MUST READ if your current 2.2.6.X release date is newer than the release date of the 3.1 version you want to upgrade to.
 
4. A custom mksysb image is required with viosupgrade -i option if additional software was installed at 2.2.6.
The additional software may include (but it is not limited to):
  • IBM approved applications for VIOS, such as third party multipath software needed to configure SAN storage (e.g. EMC powerpath) OR
  • Software installed from the VIOS Expansion Pack.
 
VIOS Storage Prerequisite
Ensure the SAN Storage Mulitpath Software installed at 2.2.6 is supported at the VIOS 3.1.X version that you plan to upgrade to before creating the custom mksysb
  • Note 1:  SDDPCM reached end of support as noted at How To Migrate SDDPCM to AIXPCM.  Therefore, it is not supported in VIOS 3.1.
  • Note 2:  Third party multipath software must be updated to the latest version before the VIOS upgrade.  Contact the Storage Vendor for more details
  • Note 3:  Remove any Storage Multipath Software installed at 2.2.6 that is no longer used before creating the custom mksysb
 
To create the custom mksysb:
  1. Do a new, clean install of VIOS 3.1 on a dummy Virtual I/O Server partition
  2. Install the additional software.
  3. Create the custom mksysb using backupios:
$ backupios -file filename.mksysb -mksysb
 
This is the image that will need to be used with viosupgrade command.
5. Use viosupgrade with -g option to restore customized files.
viosupgrade tool does a New and Complete installation.  Consequently, any customized configurations that might exist on the currently running system before the installation starts (including the time zone), are not included in the new installation image. You must save and backup any customized configurations before running the viosupgrade command and restore them after the installation completes.
  • Note: Device numbers (ent#, hdisk#, fcs#, etc) will be reconfigured sequentially after the viosupgrade. For example, if before the upgrade you had hdisk0, hdisk1, and hdisk4, after the upgrade, you may see hdisk0, hdisk1, and hdisk2, where hdisk2 is the old hdisk4 before upgrade.
 
 
The viosbr backup and restore commands handle only the configurations related to the virtual I/O. The viosupgrade command provides the -g option to save the required configuration files from the currently installed image to the new VIOS image. 
Related resource:
6. Determine if there are logical volumes configured in VIOS rootvg and used as backing devices for virtual SCSI disks.
 
 Rootvg LV backed vSCSI disk backup restore not supported.
7. If the VIOS is part of a Shared Storage Pool cluster, you must use viosupgrade with -c option.
 
Click here for unsupported scenarios.
 
 
Note 1: viosupgrade should not be done if "Node Upgrade Status" is UP_LEVEL
$ cluster -status -verbose
 
Note 2: After viosupgrade completes and the VIOS boots from the 3.1 disk, do not boot back from the old 2.2 disk if you encounter any issues.  Contact your local IBM SupportLine Representative for investigation.
8. If the VIOS is not part of a Shared Storage Pool cluster, refer to the Related Resources section below.  

 

ADDITIONAL RESOURCES
  1. Problem Determination Resources
    1. Why can't I perform viosupgrade on my alternate disk ?
    2. padmin viosupgrade failed during viosbr restore: "0590-105 The execution of a command failed ERROR- 'ArtexRules' are failed to restore"
    3. viosupgrade fails on VIOS with error: "Fileset installation failed: 'bos.alt_disk_install'."
 
 

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"ARM Category":[{"code":"a8m3p000000PCZiAAO","label":"VIOSUPGRADE"}],"ARM Case Number":"TS004042146","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
21 October 2026

UID

ibm16258119