Networking NVIDIA NVOS User Manual for InfiniBand Switches

Upgrading Operating System Software

Important Notes Before Upgrading OS Software

Consider the following items before you upgrade the operating system:

  • The system is unavailable while the OS upgrade is in progress.

  • The upgrade procedure burns the software image as well as the firmware.

  • Before you upgrade the software image, close all CLI sessions except the one you use to run the upgrade.

 

In Service Software Upgrade (ISSU)

ISSU is a method to update the switch NOS software bundle to a newer version than the currently running version, without disrupting traffic forwarding through the switch.

During the upgrade, the control and management planes are unavailable while the system moves to the new OS version and refreshes the internal software databases.

However, the switch ASICs continue to forward traffic and keep all physical and logical ports uninterrupted, even while the system updates the firmware inside the ASIC.

The ISSU flow involves interaction with the Subnet Manager (SM) to get its approval to launch ISSU.

To run ISSU, use the same command as a regular software update, with two additional flags:

admin@nvos:~$ nv action install system image files new-nvos-image.bin ?

    [Enter]
    reboot                 Install an image and reboot system
    force                  Force system reboot after system image installation
    issu                   Install image in ISSU mode
    skip-sm                Skip SM confirmation for ISSU

On systems that support ISSU, the nv show system image output also includes the ISSU status.

admin@nvos:~$ nv show system image
             operational          pending
-----------  -------------------  -------
current      1                          
next         1                          
issu-status  no-issu                    
partition1                              
  build-id   nvos-25.02.2201
partition2        
  build-id   nvos-25.02.2202

 

Adding the issu flag triggers this flow and avoids the reboot.

Use skip-sm only when you need to perform ISSU while the SM is not available. Use special care in a production environment.

ISSU is disabled by default on OpenSM and requires a special configuration to enable it. For more information, refer to the OpenSM release notes.

ISSU Restrictions

ISSU is not supported when InfiniBand routing (IB router) is enabled on the switch. Starting an ISSU image install in this state can disrupt the fabric. Before you run ISSU, disable IB routing.

If you start an ISSU install while IB routing is enabled, NVOS rejects the action. The image is not installed, and ISSU and the warm reboot do not start. The same command and error apply in the CLI and the REST API.

admin@nvos:~$ nv action install system image files new-nvos-image.bin issu
Operation will reboot the system.
If you choose 'y', the system will install the image and reboot.
If you choose 'N', the operation will abort without installing the image and without rebooting the system.
Do you want to continue? [y/N] y
Error: Action failed with the following issue:
  ISSU is not supported when IB routing is enabled

REST API:

POST /nvue_v1/system/image/files/
{
  "@install": {
    "parameters": {
      "issu": true,
      "force": true
    }
  }
}

Error returned: ISSU is not supported when IB routing is enabled

Upgrading OS Software

To upgrade NVOS, perform the following steps:

  1. Display the currently available image (.bin file).

    admin@nvos:~$ nv show system image
                 operational          pending
    -----------  -------------------  -------
    current      1                          
    next         1                          
    issu-status  no-issu                    
    partition1                              
      build-id   nvos-25.02.2201
    partition2        
      build-id   nvos-25.02.2202            
    
  2. If the system has both partition1 and partition2, uninstall the image that is not used as 'current' or 'next' before you fetch the new image. Use the nv action uninstall system image command.

    admin@nvos:~$ nv action uninstall system image
    

    Alternatively, clean up all the unused images:

    admin@nvos:~$ nv action uninstall system image force
    
  3. Upload the new software image to the system with the fetch command.

    admin@nvos:~$ nv action fetch system image scp://<username>:<password>@<ip-address>/var/www/html/<new_image>
    
  4. Install the new image.

    admin@nvos:~$ nv action install system image files new-nvos-image.bin
    Operation will reboot the system.
    If you choose ‘y’, the system will install the image and reboot.
    If you choose ‘N’, the operation will abort without installing the image and without rebooting the system.
    Do you want to continue? [y/N]
    
  5. After the reboot, display the available images and verify that the new image appears.

    admin@nvos:~$ nv show system image 
                 operational          applied
    ----------  -------------------   ------- 
    current     2                  
    next        2                                    
    partition1
      build-id  <old_image>
    partition2
      build-id  <new_image>
    
    • After software reboot, the software upgrade will also automatically upgrade the firmware version.

    • To recover from image corruption (e.g., due to power interruption), there are two installed images on the system. For more information, see the nv action boot-next system image command.


Last updated: