IBM Support

How to upgrade to VIOS Version 3.1.3.21 with IBM Storage and non-Shared Storage Pool Environment

Question & Answer


Question

How to upgrade to VIOS Version 3.x with IBM Storage and non-Shared Storage Pool Environment?

Cause

  • Currently IBM recommends customers to use VIOS versions the latest version in the market 3.1.3.21
  • For more information and check for cross-product compatibility firmware/software and fix recommendations, refer to our FLRT tool: https://www14.software.ibm.com/webapp/set2/flrt/power

Answer

 Procedure to upgrade your system from VIOS version 2.2.6.65 to 3.x (VIOS Version 3.1.3.21)

The upgrade process is managed by viosupgrade tool.

> Before you proceed with the upgrade procedure, have a look at the Technical documentation for more details on the entire upgrade process:

- VIOS upgrade: https://www.ibm.com/support/pages/upgrading-vios-31

- viosupgrade process-step by step: https://www.ibm.com/support/pages/vios-31-viosupgrade-process

Prerequisites:-

1. Download the Required packages for obtaining fixes throughout the upgrade.

Note: The upgrade to 3.x version is basically a new installation, for which you would need to download first a base ISO image. Then, after that you have to configure that cased ISO image to mksysb image, so you can use it later on with viosupgrade tool.

     1.1. Download iso images for 3.1.3.10 from ESS web portal: IBM's Entitled Systems Support - Software downloads

Note: You have to register with your machine serial number and then look for the images

Steps for obtaining the packages:

     > Go to: Entitled Systems Support > My entitled software > Software downloads

Example:

image 10398

     > Select: PowerVM V3 Technology Level

Example:           

image-20221223102948-1

1.2. You can choose between ISO Flash and DVD, as options.  If you chose to download, flash image, you can use the following documentation as example:

PowerVM VIOS 3.1.0.10 USB Installation: https://www.ibm.com/support/pages/powervm-vios-31010-usb-installation

Note: The following documentation is with showing an example for VIOS 3.1.0.10 usb installation but applies for 3.1.3.10 as well.

2. Backup the system by using backupios and viosbr:

     2.1. backupios command example:

  • Example of how to generate a backup to the optical device named /dev/cd1, type:
backupios -cd /dev/cd1 -cdformat
  • Example of how to generate a system backup to a tape device named /dev/rmt0, type:
backupios -tape /dev/rmt0

For more information about backupios command, refer to the following Documentation:

https://www.ibm.com/docs/en/power8?topic=commands-backupios-command

      2.2. viosbr command example:

  • To back up all the device attributes and logical and virtual device mappings on the VIOS file called /tmp/myserverbackup, type the following command:
viosbr -backup -file /tmp/myserverbackup
  • To restore all the possible devices and display a summary of deployed and non-deployed devices, type the following command:
viosbr -restore -file /home/padmin/cfgbackups/myserverbackup.002.tar.gz

For more information about the viosbr command, refer to the following Documentation:

https://www.ibm.com/docs/en/power7?topic=commands-viosbr-command

3. Create mksysb:

  •  Later on, for executing the viosupgrade tool you will need mksysb image, created from the downloaded ISO from ESS. 
    > For more information about the steps, refer to the following document for creating mksysb: https://www-01.ibm.com/support/docview.wss?uid=ibm10795288&
  •  Commands to extract mksysb from iso:
$ oem_setup_env
# mkdir /mnt/dvd
# loopmount -i Virtual_IO_Server_Base_Install_3.1.3.10_Flash_092021_LCD8250308.iso -o "-V udfs -o ro" -m /mnt/dvd
# ls -l /mnt/dvd/usr/sys/inst.images
total
1779901
dr-xr-xr-x 2 root     system         2048 Sep 02 2021  installp
-r--r--r--    1 root     system   3645235200 Sep 02 2021 mksysb_image
# cp /mnt/dvd/usr/sys/inst.images/mksysb_image /export/mksysb/VIO31/VIO_3.1_Flash.mksysb
Note: Pay attention that in this process you must specify the file system type as "udfs". Otherwise, AIX will fail to read the file correctly.
Disclaimer : If /export is full you can use any local path on the system

4. Use viosupgrade tool to proceed with the upgrade:

     > Verify that you have free disk by running:

$ lspv –free

image 10393

      > Build date issue:
- Since we are going from VIOS version 2.2.6.65 to version 3.1.3.10 we may run into a build date issue, so as a workaround please run the following two commands before starting the upgrade:

# installp -u bos.alt_disk_install.boot_images

image 10780

# installp -ug bos.alt_disk_install.rte

image 10783

5. Once you know, you have a disk available you can use viosupgrade command.

This is the command structure:

$ viosupgrade -l -i image_file -a mksysb_install_disk [ -c] [-g filename_files_to_restore]

> For more information about the upgrade tool and command structure, you can refer to the following Documentations:
https://www.ibm.com/support/knowledgecenter/en/9009-42A/p9hcg/p9hcg_viosupgrade.htm
https://www.ibm.com/support/pages/vios-31-viosupgrade-process

> More information on the –g flag: https://www.ibm.com/support/knowledgecenter/9009-41A/p9hcg/p9hcg_viosupgrade.htm#p9hcg_viosupgrade__viosupgrade_g_flag

Note: The -g flag is useful for collecting files from padmin. All other basic configuration files are being taken from rootvg, into the alt_disk, created during the upgrade.
 

Example:
image-20240422160623-1
The command should look like this:
$ viosupgrade -l -i 31310_mksysb -a hdisk1 -g files_to_restore.txt
Highlights on the flags used in the command:
-l flag is calling installation on a local node
-i flag is specifying the image file that will be used for the installation on an alternative disk
-Then we called the mksysb file with the installation image
-a flag is specifying the alternative disk to install the available VIOS image.
Note: The current  rootvg disk on your VIOS is not going to be impact by the installation, since you will use another free alternative disk.

• Verify whether the upgrade is completed by running the following command:
$ viosupgrade –l –q
image 10866

• Verify the VIOS version:
$ ioslevel (should display 3.1.3.10)

6. Changing time zone and Date and setup NTP after upgrade:

      >After upgrade you need to change your time zone to CET. You can use "smit chtz_user" to achieve the same(need a reboot)

  • Change the date and time to be latest by using "smitty date"
  • If you have an NTP server in your environment, configure the NTP.

Hint: Either copy the old ntp.conf to new location or copy the servers and add it in 3.1 ntp.conf

Example:

 # chrctcp -S -a xntpd

 # refresh -s xntpd 

For more information about the steps refer to the following Documentation:

https://www.ibm.com/support/pages/how-configure-ntp-your-enviornment-and-common-issues

7. After you successfully upgrade your server to 3.1.3.10, using the based image, now you can go ahead and update to 3.1.3.21 version with

     7.1. Download Service Pack 3.1.3.21 from: https://www.ibm.com/support/fixcentral

     7.2. Select FixPack 3.1.3.21 only:

Example:

image-20221223104422-2

 IBM recommend using Download director, as downloading option.

image 10402

Note: If you mark the "Download files as an iso image" box later on you will have to extract the bff files from the iso before you proceed with the update.

     7.3 Transfer the files to your machine and proceed with updating by using updateios command

For more detailed information and steps, you can refer to the following documentation:

VIOS 3.1.3.21 Service Pack Release Notes: https://www.ibm.com/support/pages/node/6587567

Highlights:

     >After downloading the 3.1.3.21 SP, create new directory with the same name for easier access:

          $ mkdir <directory_name > 

     > Command structure:

         $updateios –accept –dev <directory_name >

     > Reboot the VIOS as user padmin:

          $ shutdown –restart

     > Check ioslevel: 

         $ ioslevel (should display the level as 3.1.3.21)

         image-20221223104629-3

[{"Type":"none","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":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
22 April 2024

UID

ibm16454563