Networking NVIDIA NVOS User Manual for InfiniBand Switches

Downgrading OS Software

Prerequisites

Before you downgrade the software, make sure that you meet the following prerequisites:

  1. Log in to the switch CLI through the console port.

  2. Back up the configuration:

    1. Display the configuration commands:

      admin@nvos:~$ nv config show
      
    2. Copy the output to a text file.

Downgrading Image

The following procedure assumes that the system boots and runs from Partition 1 and that you perform the downgrade on Partition 2.

  1. Log in to the system CLI as admin.

  2. Display all installed images on the system. 

     admin@nvos:~$ nv show system image 
                operational          applied
    ----------  -------------------  -------
    current     1                 
    next        1                
    partition1  
      build-id <image2>     
    
  3. Uninstall the image from partition 2 if it is installed. You need this step only if you are downgrading to an image that is already installed on the switch.

    admin@nvos:~$ nv action uninstall system image [force]
    
  4. Fetch the desired software image. 

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

    admin@nvos:~$ nv action install system image files new-nvos-image.bin force
    
  6. After the reboot, display the available images and verify that the new image appears.

    admin@nvos:~$ nv show system image 
                 operational          applied
    ----------  -------------------   ------- 
    current     1                  
    next        1                   
    partition1  
      build-id <image1>               
    partition2  
      build-id <image2>
    

    There are two installed images on the system. Therefore, if one of the images gets corrupted (due to power interruption, for example), in the next reboot the image will go up from the second partition.

Switching to Partition with Older Software Version

The system saves a backup configuration file when you upgrade from an older software version to a newer one. If the system returns to the older software partition, it uses this backup configuration file.

When you return to the older software version, you lose all configuration changes made with the new software.


The backup configuration file does not exist in two cases:

  • You ran the “reset factory” command, which clears all configuration files in the system.

  • You ran “system config files” to a configuration file with a different name than the backup file.

If you downgrade the system to a software version that was never installed on it, the configuration file becomes empty.


To switch to the partition with the older software version in the two cases above only, follow these steps:

  1. Set the boot partition.

    admin@nvos:~$ nv action boot-next system image <next partition>
    
  2. Save the configuration.

    admin@nvos:~$ nv config save
    


Last updated: