- play_arrow Junos OS Overview
- play_arrow Junos OS Overview
-
- play_arrow Install, Upgrade, or Downgrade for Junos OS Software
- play_arrow Junos OS Install and Upgrade Overview
- play_arrow Prepare for Installation and Upgrade
- play_arrow Upgrade to Junos OS with Upgraded FreeBSD
- play_arrow Install Software on Routers
- play_arrow Install Software on Switches
- Installing Software on EX Series Switches
- Configuring Dual-Root Partitions
- Troubleshooting Software Installation on EX Series Switches
- Troubleshooting a Switch That Has Booted from the Backup Junos OS Image
- Installing Software on QFX Series Devices (Junos OS)
- Installing and Recovering Software Using the Open Network Install Environment (ONIE)
- Personality Upgrade Process
- Upgrading the Personality of QFX10002-60C and PTX10002-60C Devices
- play_arrow Install Software on Firewalls
- play_arrow Manage YANG Packages During an Upgrade or Downgrade
-
- play_arrow System Backup and Recovery
- play_arrow Back Up an Installation
- play_arrow Recover Junos OS
-
- play_arrow Installing and Upgrading the BIOS and Firmware
- play_arrow For Routers
- play_arrow For Switches
- play_arrow For Firewalls
-
- play_arrow Zero Touch Provisioning and Secure Zero Touch Provisioning
- play_arrow Phone-Home Client
- play_arrow Automatic Installation of Configuration Files
- play_arrow Automatic Installation of Configuration Files
-
- play_arrow Configuration Statements and Operational Commands
- play_arrow Configuration Statements and Operational Commands
-
Upgrading Dual-Disk Partitions on NFX250 NextGen and NFX350 Devices
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 therequest vmhost software add
package-name
command:Verify the initial status of the disks.
content_copy zoom_out_mapuser@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
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_mapuser@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4R2.8-secure-signed.tgz
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_mapuser@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
Upgrade the device again to upgrade the primary partition of disk 1.
When prompted for a reboot, type
Yes
.content_copy zoom_out_mapuser@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4R2.8-secure-signed.tgz
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_mapuser@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
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_mapuser@host> request vmhost reboot disk2 primary
After the device reboots, verify the status of the disk partitions.
content_copy zoom_out_mapuser@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
Upgrade the device with the Junos OS image version that supports the dual disk upgrade.
content_copy zoom_out_mapuser@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4R2.8-secure-signed.tgz
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_mapuser@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
Upgrade the primary partition on disk 2.
content_copy zoom_out_mapuser@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4R2.8-secure-signed.tgz
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_mapuser@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 therequest vmhost software add package-name
command: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_mapuser@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-22.3I-20220428_dev_common.0.0158-secure-signed.tgz
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_mapuser@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
Upgrade the device again to upgrade the primary partition.
When prompted for a reboot, type
Yes
.content_copy zoom_out_mapuser@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-22.3I-20220428_dev_common.0.0158-secure-signed.tgz
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_mapuser@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:
Verify the initial status of the disks.
content_copy zoom_out_mapuser@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
Upgrade the device by using the
clean-install
command.content_copy zoom_out_mapuser@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-21.4I-20220531.0.1918-secure-signed.tgz clean-install
Verify the disk details after the upgrade. The output shows that the image on all the disk partitions is upgraded.
content_copy zoom_out_mapuser@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:
- Remove all configuration information on the Routing Engines and reset all key
values.content_copy zoom_out_map
user@host> request system zeroize
Verify the disk details. The output shows that the image on all the disk partitions is upgraded.
content_copy zoom_out_mapuser@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.