Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
keyboard_arrow_right

Upgrading Dual-Disk Partitions on NFX250 NextGen and NFX350 Devices

date_range 01-Dec-23

You can upgrade the disk partitions on NFX250 NextGen and NFX350 devices by using:

  • The request vmhost software add package-name command.

  • The request system software add clean-install package-name command.

  • The request system zeroize command.

  • The USB image installation method.

Upgrading Disk Partitions Using the request vmhost software add package-name Command on an NFX350 Device

When you upgrade the disks using this method, the device retains all the configuration and log information.

To upgrade the disk partitions using the request vmhost software add package-name command:
  1. Verify the initial status of the disks.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : primary
    Software version  : 21.4I-20220531.0.1918
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Mon Nov 29 03:34:19 PST 2021
    
    Partition set             : primary
    Software version          : 21.4I-20220531.0.1918
    Installed/Upgraded at     : Thu Jun  2 05:09:21 PDT 2022
    Status                    : Boot success
    
    Partition set             : alternate
    Software version          : 22.3I20220517_0906
    Installed/Upgraded at     : Wed May 18 21:45:46 PDT 2022
    Status                    : Boot success
    
    Partition set             : second primary
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 00:50:58 PST 2022
    Status                    : Factory installation setup complete, ready for boot
    
    Partition set             : second alternate
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 00:51:01 PST 2022
    Status                    : Factory installation setup complete, ready for boot
    
  2. Upgrade the device with the Junos OS image version that supports the dual disk upgrade.

    When prompted for a reboot, type Yes.

    content_copy zoom_out_map
    user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4R2.8-secure-signed.tgz
  3. After the device reboots, verify the status of the disk partitions. The output shows that the image on the alternate partition of disk 1 is upgraded. The alternate partition is the active partition now.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : alternate
    Software version  : 21.4R2.8
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Tue Feb 22 01:50:05 PST 2022
    
    Partition set             : primary
    Software version          : 21.4I-20220531.0.1918
    Installed/Upgraded at     : Thu Jun  2 05:09:21 PDT 2022
    Status                    : Boot success
    
    Partition set             : alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Sun Jul  3 22:38:50 PDT 2022
    Status                    : Boot success
    
    Partition set             : second primary
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 00:50:58 PST 2022
    Status                    : Factory installation setup complete, ready for boot
    
    Partition set             : second alternate
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 00:51:01 PST 2022
    Status                    : Factory installation setup complete, ready for boot
    
    
  4. Upgrade the device again to upgrade the primary partition of disk 1.

    When prompted for a reboot, type Yes.

    content_copy zoom_out_map
    user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4R2.8-secure-signed.tgz
  5. After the device reboots, verify the status of the disk partitions. The output shows that the image on the primary partition of disk 1 is upgraded. Both the primary and alternate partitions on disk 1 are running the same image. Note that the primary partition is the active partition now.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : primary
    Software version  : 21.4R2.8
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Tue Feb 22 01:50:05 PST 2022
     
    Partition set             : primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 00:02:33 PDT 2022
    Status                    : Boot success
     
    Partition set             : alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Sun Jul  3 22:38:50 PDT 2022
    Status                    : Boot success
     
    Partition set             : second primary
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 00:50:58 PST 2022
    Status                    : Factory installation setup complete, ready for boot
     
    Partition set             : second alternate
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 00:51:01 PST 2022
    Status                    : Factory installation setup complete, ready for boot
    
    
  6. To upgrade the secondary disk, switch to the primary partition of disk 2.

    Note:

    Before you switch from disk 1 to disk 2, ensure that the required basic configuration (such as management connectivity) is available on disk 2.

    content_copy zoom_out_map
    user@host> request vmhost reboot disk2 primary
  7. After the device reboots, verify the status of the disk partitions.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : second primary
    Software version  : 20.4R3.8
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.32_ovp
                        Host kernel version  : #1 SMP Thu Jul 8 23:25:47 PDT 2021
    
    Partition set             : primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 07:02:33 UTC 2022
    Status                    : Boot success
    
    Partition set             : alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 07:51:48 UTC 2022
    Status                    : Boot success
    
    Partition set             : second primary
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 08:50:58 UTC 2022
    Status                    : Boot success
    
    Partition set             : second alternate
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 08:51:01 UTC 2022
    Status                    : Factory installation setup complete, ready for boot
    
    
    
  8. Upgrade the device with the Junos OS image version that supports the dual disk upgrade.

    content_copy zoom_out_map
    user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4R2.8-secure-signed.tgz
  9. Verify the status of the disk partitions after the upgrade. The output shows that the image on the alternate partition of disk 2 is upgraded. The alternate partition of disk 2 is the active partition now.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : second alternate
    Software version  : 21.4R2.8
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Tue Feb 22 01:50:05 PST 2022
    
    Partition set             : primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 07:02:33 UTC 2022
    Status                    : Boot success
    
    Partition set             : alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 07:51:48 UTC 2022
    Status                    : Boot success
    
    Partition set             : second primary
    Software version          : 20.4R3.8
    Installed/Upgraded at     : Fri Jan  7 08:50:58 UTC 2022
    Status                    : Boot success
    
    Partition set             : second alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 10:21:55 UTC 2022
    Status                    : Boot success
    
    
    
  10. Upgrade the primary partition on disk 2.

    content_copy zoom_out_map
    user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4R2.8-secure-signed.tgz
  11. Verify the status of the disk partitions after the upgrade. The output shows that the image on the primary partition of disk 2 is upgraded. Both the primary and alternate partitions on disk 2 are running the same image. The primary partition on disk 2 is the active partition now.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : second primary
    Software version  : 21.4R2.8
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Tue Feb 22 01:50:05 PST 2022
    
    Partition set             : primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 07:02:33 UTC 2022
    Status                    : Boot success
    
    Partition set             : alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 07:51:48 UTC 2022
    Status                    : Boot success
    
    Partition set             : second primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 11:00:05 UTC 2022
    Status                    : Boot success
    
    Partition set             : second alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 10:21:55 UTC 2022
    Status                    : Boot success
    
    
    
    

Upgrading Disk Partitions Using the request vmhost software add package-name Command on an NFX250 NextGen Device

When you upgrade the disks using this method, the device retains all the configuration and log information.

To upgrade the disk partitions using the request vmhost software add package-name command:
  1. Upgrade the device with the Junos OS image version which supports the dual disk upgrade using the request vmhost software add package-name command.

    When prompted for a reboot, type Yes.

    content_copy zoom_out_map
    user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-22.3I-20220428_dev_common.0.0158-secure-signed.tgz
  2. Verify the status of the disks. The output shows that the image on the alternate partition is upgraded. The alternate partition is the active partition now.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : alternate
    Software version  : 22.3I-20220428_dev_common.0.0158
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Sun Apr 24 23:33:52 PDT 2022
     
    Partition set             : primary
    Software version          : 21.1R3.11
    Installed/Upgraded at     : Wed Dec 22 02:13:33 PST 2021
    Status                    : Boot success
     
    Partition set             : alternate
    Software version          : 22.3I-20220428_dev_common.0.0158
    Installed/Upgraded at     : Thu Apr 28 20:47:21 PDT 2022
    Status                    : Boot success
  3. Upgrade the device again to upgrade the primary partition.

    When prompted for a reboot, type Yes.

    content_copy zoom_out_map
    user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-22.3I-20220428_dev_common.0.0158-secure-signed.tgz
  4. After the reboot, verify the status of the disk partitions. The output shows that the image on the primary partition is upgraded. The primary and alternate partitions are now running the same image, Note that the primary partition is the active partition now.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : primary
    Software version  : 22.3I-20220428_dev_common.0.0158
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Sun Apr 24 23:33:52 PDT 2022
     
    Partition set             : primary
    Software version          : 22.3I-20220428_dev_common.0.0158
    Installed/Upgraded at     : Wed Jul 13 23:56:23 PDT 2022
    Status                    : Boot success
     
    Partition set             : alternate
    Software version          : 22.3I-20220428_dev_common.0.0158
    Installed/Upgraded at     : Thu Apr 28 20:47:21 PDT 2022
    Status                    : Boot success
    
    

Upgrading Disk Partitions Using the clean-install Command

This upgrade method resets all the log and configuration information, and loads the specified image on all the disk partitions.

To upgrade the disk partitions using the clean-install command:

  1. Verify the initial status of the disks.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : primary
    Software version  : 21.4R2.8
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Tue Feb 22 01:50:05 PST 2022
    
    Partition set             : primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 00:02:33 PDT 2022
    Status                    : Boot success
    
    Partition set             : alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 00:51:48 PDT 2022
    Status                    : Boot success
    Partition set             : second primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 04:00:05 PDT 2022
    Status                    : Boot success
    
    Partition set             : second alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 03:21:55 PDT 2022
    Status                    : Boot success
    
  2. Upgrade the device by using the clean-install command.

    content_copy zoom_out_map
    user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4I-20220531.0.1918-secure-signed.tgz clean-install
  3. Verify the disk details after the upgrade. The output shows that the image on all the disk partitions is upgraded.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : primary
    Software version  : 21.4I-20220531.0.1918
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Mon Nov 29 03:34:19 PST 2021
    
    Partition set             : primary
    Software version          : 21.4I-20220531.0.1918
    Installed/Upgraded at     : Tue Jul  5 04:10:39 UTC 2022
    Status                    : Boot success
    
    Partition set             : alternate
    Software version          : 21.4I-20220531.0.1918
    Installed/Upgraded at     : Tue Jul  5 04:16:37 UTC 2022
    Status                    : Factory installation setup complete, ready for boot
    
    Partition set             : second primary
    Software version          : 21.4I-20220531.0.1918
    Installed/Upgraded at     : Tue Jul  5 04:17:27 UTC 2022
    Status                    : Factory installation setup complete, ready for boot
    
    Partition set             : second alternate
    Software version          : 21.4I-20220531.0.1918
    Installed/Upgraded at     : Tue Jul  5 04:17:24 UTC 2022
    Status                    : Factory installation setup complete, ready for boot
    

Upgrading Disk Partitions Using the request system zeroize Command

This upgrade method resets all the log and configuration information, and loads the image running on the current active partition on all the other disk partitions.

To upgrade the disk partitions:

  1. Remove all configuration information on the Routing Engines and reset all key values.
    content_copy zoom_out_map
    user@host> request system zeroize
  2. Verify the disk details. The output shows that the image on all the disk partitions is upgraded.

    content_copy zoom_out_map
    user@host> show vmhost version detail
    Partition set     : primary
    Software version  : 21.4R2.8
                        Host kernel release  : 4.1.27-rt30-WR8.0.0.34_ovp
                        Host kernel version  : #1 SMP Tue Feb 22 01:50:05 PST 2022
    
    Partition set             : primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 00:02:33 PDT 2022
    Status                    : Boot success
    
    Partition set             : alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 00:51:48 PDT 2022
    Status                    : Boot success
    
    Partition set             : second primary
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 04:00:05 PDT 2022
    Status                    : Boot success
    
    Partition set             : second alternate
    Software version          : 21.4R2.8
    Installed/Upgraded at     : Mon Jul  4 03:21:55 PDT 2022
    Status                    : Boot success
    

Upgrading Disk Partitions Using a USB

For information about upgrading the disk partitions using a USB, see KB31834.

footer-navigation