Ethernet Switching
Highlighted
Ethernet Switching

Upgrade ex4200 in working enviroments

‎11-29-2019 12:45 AM

Hello,

I have 6x EX4200 in working enviroments and i want to upgrade their junos but i never uypgrade ex4200 up to now,

so my questions are :

1. what is the solution for upgrade junos with less downtime?

2. if for any reason upgrade does not finish or has an issue, does the switch boot with old firmware?

THank you.

5 REPLIES 5
Highlighted
Ethernet Switching

Re: Upgrade ex4200 in working enviroments

‎11-29-2019 01:35 PM

Hi blackmetal,

 

 You can use NSSU to upgrade your switches avoiding a complete downtime of the switches. You can find more about NSSU on the below link:

https://www.juniper.net/documentation/en_US/junos/topics/concept/nssu-ex-series.html

 

You can refer to the below link for tested jumps using NSSU:

https://www.juniper.net/documentation/en_US/release-independent/junos/topics/reference/general/nssu-...

 

If your jump is not specified on the link, Juniper may not be able to confirm if there will be any unexpected behavior or if NSSU will fail. If that is the case, we suggest performing a normal upgrade using "request system sofware add" command and reboot all switches after using "request system reboot". More info:

 https://kb.juniper.net/InfoCenter/index?page=content&id=KB10840&cat=SWITCH_PRODUCTS&actp=LIST

 

If there are any errors while pushing the image with command "request system sofware add" , the process will stop and show an error. In this case, the switch will keep the old image.

 

 Please mark as resolve if it clarifies your concerns.

Thanks,

 

Highlighted
Ethernet Switching

Re: Upgrade ex4200 in working enviroments

‎05-30-2020 01:32 PM

Hi Blackmetal,

 

Are these ex4200 standalone or part of VC?

 

Thanks,

Deimos.

Highlighted
Ethernet Switching

Re: Upgrade ex4200 in working enviroments

‎05-30-2020 10:14 PM

Hi Blackmetal,

 

Good day!!

 

EX Series devices are delivered with preinstalled Junos operating system (Junos OS). Before you start this procedure, decide which software package you need and download it. For information on which packages to use for which upgrades, see Junos OS Installation Package Names.

 

For better understanding kindly find the Below documents and KB's. 

https://www.juniper.net/documentation/en_US/junos/topics/topic-map/install-software-on-ex.html

 

Installing Junos OS on an EX switch (where Junos OS is copied to the EX switch)

https://kb.juniper.net/InfoCenter/index?page=content&id=KB20551&actp=METADATA

 

 Install Junos from an external source such as an FTP server or a USB device

https://kb.juniper.net/InfoCenter/index?page=content&id=KB20552&actp=METADATA

 

Please mark "Accepted Solution" if this helps.

Kudos are always appreciated

 

Thanks 

Suraj 

 

Highlighted
Ethernet Switching

Re: Upgrade ex4200 in working enviroments

‎05-31-2020 11:51 PM

Hello Blackmetal,

 

Greetings!

 

Considering all the 6 *EX4200 are in Virtual chassis, I am proving the below solution:

 

1. what is the solution for upgrade Junos with less downtime?

Nonstop software upgrade (NSSU) enables you to upgrade the software running on all member switches of supported Virtual Chassis with minimal traffic disruption during the upgrade.

 

This procedure describes how to upgrade the software running on all Virtual Chassis or mixed Virtual Chassis members using NSSU. When the upgrade completes, all members are running the new version of the software. The upgrade includes a graceful Routing Engine switchover, so the original Virtual Chassis backup member switch becomes the new master.

During NSSU, the master copies the new software image to all the members in the Virtual Chassis and reboots them in turn. If copying the new software to a member fails or rebooting a member fails, NSSU aborts the upgrade process and logs the error. In this case, you must manually perform recovery measures for members left in an incompatible state to restore all members to running the same version of the software. Starting in Junos OS Release 14.1X53-D40, NSSU automatically invokes recovery measures after either of these failures, as follows:

  • if NSSU aborts due to a copy error, the master removes the new image from any members to which it was already copied.

  • If any member fails to reboot, NSSU automatically initiates a clean Virtual Chassis restart by bringing down and rebooting the entire Virtual Chassis. All members come up running the new software at the same time. This action cleanly recovers correct Virtual Chassis operation more quickly than having an unstable Virtual Chassis running different versions of the software trying to converge.

 

For more info, review the below links:

 

https://www.juniper.net/documentation/en_US/junos/topics/task/installation/qfx-series-software-upgra...

https://www.juniper.net/documentation/en_US/junos/topics/concept/virtual-chassis-qfx-series-software...

https://www.juniper.net/documentation/en_US/junos/topics/task/installation/ex-series-software-upgrad...

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/virtual-chassis-ex4200-c...

 

2. if for any reason upgrade does not finish or has an issue, does the switch boot with old firmware?

 

If there is any issue during the upgrade, the following results may be seen:

 

>Device might become unresponsive.

>Device might be struck in loader mode.

> Device might continue to boot continuously.

 

Once the device is back online, check the device version and see if it has reverted to the old version or new version.

 

You can always go back to older version, if you had taken a snapshot of the back up currently running and active file system partitions to standby partitions that are not running.

 

For more info:

https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/request-system-sn...

 

I hope this helps. Please mark this post "Accept as solution" if this answers your query.

 

Kudos are always appreciated! Smiley Happy

 

Best Regards,

Lingabasappa H

 

 

 

 

 

Highlighted
Ethernet Switching

Re: Upgrade ex4200 in working enviroments

‎06-01-2020 05:09 AM

@blackmetal - there are 3 forms of upgrades for both older and newer EX/QFX switches.  These are:

 

ISSU - In-Service Software Upgrades.  This form of upgrade use the following syntax:

 

request system software validate in-service-upgrade package-name (https://www.juniper.net/documentation/en_US/junos/topics/task/installation/issu-upgrading.html)

 

This form of upgrade generally has a number of restrictions, and is only supported on some models of QFX, in standalone mode only.  There is no ISSU support for any products configured as a VC.

 

NSSU - Non-Stop Software Upgrades.   This form of upgrade was developed specifically for VC deployments.  This form of upgrade use the following syntax (with multiple optional knobs):

 

request system software nonstop-upgrade (package-name | set [package-name package-name])
<force-host>
<no-copy>
<no-old-master-upgrade>
<reboot >
<unlink>
 
 
As mentioned, NSSU (EX only) will upgrade and reboot members of a VC one at a time, but just as with ISSU, there are a number of requirements and restrictions - check link above for exact details.
 
NOTE: NSSU success rate has not been high, especially for older products (like EX4200 VC).  This form of upgrade is in general still not recommend, and if issues arise during the upgrade, additional downtime could be created.
 
Standard Software Upgrade (https://www.juniper.net/documentation/en_US/junos/topics/topic-map/install-software-on-ex.html#id-un...) which follows 'request system software add' with a reboot.  Best practice is to NOT use reboot option, but instead wait for add to complete, and then reboot.  The "add" portion will take come time, as image is copied to RE Master, who then send image to all members, but this step can be taken prior to any outage or maintenance window.  When reboot of the whole VC is performed, all connections will go down, and return once reboot is complete, which is generally in the area of 1-3 minutes.
 
For both VC and VCF configurations with EX and/or QFX, Standard Software Upgrades are recommended best practice, at this time.
 
Just FYI and Good Luck.
Feedback