Nexus 5548UP non-disruptive upgrade.

Nexus 5548UP non-disruptive upgrade.

In the past we have done upgrades, but most of the time cisco mentioned non-disruptive, but most case 6.0X or old have disruptive upgrade in my experience.

Finally i got a chance to write upgrade procedure for others to refer ;

NXOS 7.X onwards cisco have made lot of improvements  that makes for the engineers have easy task than night mare.

Below Steps exactly i followed and it was smooth upgrade and no service interruption other than Orphan ports connected device will go down as this is expected and limitation- dual homed devices have no service interruption since data plane not broken while upgrading time.

Upgrade Guidelines

When upgrading system software, follow these guidelines:

Configuration changes –  You cannot enter global configuration mode during an upgrade. You should save, commit, or discard any active configuration sessions before you upgrade or downgrade the Cisco NX-OS software image. The active configuration session is deleted without a warning during a reload.

Use the show configuration session summary command to verify that there are no active configuration sessions.

switch# show configuration session summary
There are no active configuration sessions

 

Further more you can refer cisco site document ;

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5500/sw/upgrade/714_N1_1/n5500_upgrade_downgrade_714_n1_1.html

 

Quick checks – make sure your upgrade path is correct :

If you have lower version of NXOS 5.0 or 6.0, you need to follow the upgrade path  step by step upgrade to final version.

Even though  i have tested and working as non-disruptive upgrade, since we are upgrading this on Live environment, so i suggest to have change maintenance windows, if any unforeseen occurs.

Requirement :

download the kickstart and system image

console cable

physical access to kit

make sure user have admin right

take backup of running config.

Here simple topology to understand :

Preparing and upgrading procedure  :

Copy the new kickstart and system images to each switch bootflash by using a transfer protocol such as FTP, TFTP, SCP, or SFTP.
connect laptop to console Switch 1 and ssh to switch2 (using putty).
switch-1# dir bootflash: inc 7.
 n5000-uk9-kickstart.7.0.8.N1..bin
 n5000-uk9-kickstart.7.1.4.N1.1.bin
 n5000-uk9.7.0.8.N1..bin
 n5000-uk9.7.1.4.N1.1.bin
Configure FEX Module pre-provisioning for the type of FEX present in the system
switch1# show fex
FEX FEX FEX FEX Fex
Number Description State Model Serial
————————————————————————
151 FEX0151 Online N2K-C2248UPQ
152 FEX0152 Online N2K-C2248UPQ
switch1# configure terminal
switch1(config)# slot 151
switch1(config-slot)# provision model N2K-C2248UPQ
switch1(config-slot)# slot 152
switch1(config-slot)# provision model N2K-C2248UPQ
 
switch2# configure terminal
switch2(config)# slot 151
switch2(config-slot)# provision model N2K-C2248UPQ
switch2(config-slot)# slot 152
switch2(config-slot)# provision model N2K-C2248UPQ
save the config on both the switches
copy running startup
Enter the show install all impact command to validate the upgrade process and the components being upgraded.
 switch-1# show install all impact kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1.bin system bootflash:n5000-uk9.7.1.4.N1.1.bin
Verifying image bootflash:/n5000-uk9-kickstart.7.1.4.N1.1.bin for boot variable “kickstart”.
[####################] 100% — SUCCESS
Verifying image bootflash:/n5000-uk9.7.1.4.N1.1.bin for boot variable “system”.
[####################] 100% — SUCCESS
Verifying image type.
[####################] 100% — SUCCESS
Extracting “system” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “kickstart” version from image bootflash:/n5000-uk9-kickstart.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “bios” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “fexth” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Performing module support checks.
[####################] 100% — SUCCESS
Notifying services about system upgrade.
[####################] 100% — SUCCESS
Enter the install all kickstart image system image command on the vPC primary switch.
 
#install all kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1.bin system bootflash:n5000-uk9.7.1.4.N1.1.bin
Verifying image bootflash:/n5000-uk9-kickstart.7.1.4.N1.1.bin for boot variable “kickstart”.
[####################] 100% — SUCCESS
Verifying image bootflash:/n5000-uk9.7.1.4.N1.1.bin for boot variable “system”.
[####################] 100% — SUCCESS
Verifying image type.
[####################] 100% — SUCCESS
Extracting “system” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “kickstart” version from image bootflash:/n5000-uk9-kickstart.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “bios” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “fexth” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Performing module support checks.
[####################] 100% — SUCCESS
Notifying services about system upgrade.
[####################] 100% — SUCCESS
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y    <—– you asked to enter Y to proceed here.
Pre-loading modules.
[This step might take upto 20 minutes to complete – please wait.]
Here it takes 20min to upgrade, so keep monitoring the network and upgrade proceedures.
Once its upgrading proceedure done
The system is going down for reboot NOW!
During the software upgrade on the primary switch, you can view the FEX upgrade progress using the vPC secondary switch (see the bold output):
switch-2# 2018 Apr 4 11:58:11 switch %$ VDC-1 %$ %SATCTRL-FEX151-2-SATCTRL_IMAGE: FEX151 Image update in progress.
2018 Apr 4 11:58:21 switch %$ VDC-1 %$ %SATCTRL-FEX152-2-SATCTRL_IMAGE: FEX152 Image update in progress.
2018 Apr 4 12:03:41 switch %$ VDC-1 %$ %SATCTRL-FEX152-2-SATCTRL_IMAGE: FEX152 Image update complete. Install pending
2018 Apr 4 12:05:49 switch %$ VDC-1 %$ %SATCTRL-FEX151-2-SATCTRL_IMAGE: FEX151 Image update complete. Install pending
One Switch 1 upgrade with new Version, the FEX still online and forwarding the traffic to Seconday Switch and Primiary now.
check FEX now you see Version mismatch.
switch-1# show fex
FEX FEX FEX FEX Fex
Number Description State Model Serial
————————————————————————
151 FEX0151 AA Version Mismatch N2K-C2248UPQ 
152 FEX0152 AA Version Mismatch N2K-C2248UPQ 
On the vPC secondary switch, reload the first Fabric Extenders (reload only dual-homed FEXs) one at a time and wait for them to come online on the newly upgraded vPC primary switch before proceeding to the next FEX.
switch-2# reload fex 151
reload fex 151
WARNING: This command will reboot FEX 151
Do you want to continue? (y/n) [n] y   <——- Give your input Y to rebooted FEX
Once FEX 151 come online rebooted 152 same proceedure.
switch-2# show fex
FEX FEX FEX FEX Fex
Number Description State Model Serial
————————————————————————
151 FEX0151 AA Version Mismatch N2K-C2248UPQ
152 FEX0152 AA Version Mismatch N2K-C2248UPQ
Switch 1 have FEX online with new Version.
switch-1# show fex
FEX FEX FEX FEX Fex
Number Description State Model Serial
————————————————————————
151 FEX0151 online Mismatch N2K-C2248UPQ
152 FEX0152 online Mismatch N2K-C2248UPQ
Check FEX have new version
switch 1 # show fex 151
FEX: 151 Description: FEX0151 state: Online
FEX version: 7.1(4)N1(1) [Switch version: 7.1(4)N1(1)]
When all the Fabric Extenders are loaded, go to the next step.
To upgrade the vPC secondary switch :
Enter the show install all impact command to validate the upgrade process and the components being upgraded.
 switch-2# show install all impact kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1.bin system bootflash:n5000-uk9.7.1.4.N1.1.bin
Verifying image bootflash:/n5000-uk9-kickstart.7.1.4.N1.1.bin for boot variable “kickstart”.
[####################] 100% — SUCCESS
Verifying image bootflash:/n5000-uk9.7.1.4.N1.1.bin for boot variable “system”.
[####################] 100% — SUCCESS
Verifying image type.
[####################] 100% — SUCCESS
Extracting “system” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “kickstart” version from image bootflash:/n5000-uk9-kickstart.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “bios” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “fexth” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Performing module support checks.
[####################] 100% — SUCCESS
Notifying services about system upgrade.
[####################] 100% — SUCCESS
Enter the install all kickstart image system image command on the vPC primary switch.(Seconday acting now as primary now)
install all kickstart bootflash:n5000-uk9-kickstart.7.1.4.N1.1.bin system bootflash:n5000-uk9.7.1.4.N1.1.bin
Verifying image bootflash:/n5000-uk9-kickstart.7.1.4.N1.1.bin for boot variable “kickstart”.
[####################] 100% — SUCCESS
Verifying image bootflash:/n5000-uk9.7.1.4.N1.1.bin for boot variable “system”.
[####################] 100% — SUCCESS
Verifying image type.
[####################] 100% — SUCCESS
Extracting “system” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “kickstart” version from image bootflash:/n5000-uk9-kickstart.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “bios” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Extracting “fexth” version from image bootflash:/n5000-uk9.7.1.4.N1.1.bin.
[####################] 100% — SUCCESS
Performing module support checks.
[####################] 100% — SUCCESS
Notifying services about system upgrade.
[####################] 100% — SUCCESS
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y    <—– you asked to enter Y to proceed here.
Pre-loading modules.
[This step might take upto 20 minutes to complete – please wait.]
Here it takes 20min to upgrade, so keep monitoring the network and upgrade proceedures.
Once its upgrading proceedure done
The system is going down for reboot NOW!
After reboot successfully and you see login prompt
check all working as expected.
Verify all the FEXs connected to the vPC secondary switch are online. Use the show fex command to view the FEX status.
switch-2# show fex
FEX FEX FEX FEX Fex
Number Description State Model Serial
————————————————————————
151 FEX0151 online Mismatch N2K-C2248UPQ
152 FEX0152 online Mismatch N2K-C2248UPQ
Good now all done, happy labbing ..!!