First, look at the "sho ver":
Nexus_1# sho ver
Cisco Nexus Operating System (NX-OS) Software
...
Software
BIOS: version 2.12.0
kickstart: version 6.2(2)
system: version 6.2(2)
...
You TFTP the image up to the 7000. Now upgrade:
Nexus_1# install all kickstart bootflash:n7000-s2-kickstart.6.2.10.bin system bootflash:n7000-s2-dk9.6.2.10.bin
Installer will perform compatibility check first. Please wait.
Verifying image bootflash:/n7000-s2-kickstart.6.2.10.bin for boot variable "kickstart".
[####################] 100% -- SUCCESS
Verifying image bootflash:/n7000-s2-dk9.6.2.10.bin for boot variable "system".
[####################] 100% -- SUCCESS
Verifying image type.
[####################] 100% -- SUCCESS
Extracting "system" version from image bootflash:/n7000-s2-dk9.6.2.10.bin.
[####################] 100% -- SUCCESS
Extracting "kickstart" version from image bootflash:/n7000-s2-kickstart.6.2.10.bin.
[####################] 100% -- SUCCESS
Extracting "bios" version from image bootflash:/n7000-s2-dk9.6.2.10.bin.
[####################] 100% -- SUCCESS
Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.6.2.10.bin.
[####################] 100% -- SUCCESS
Performing module support checks.
[####################] 100% -- SUCCESS
Notifying services about system upgrade.
[####################] 100% -- SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes non-disruptive reset
2 yes non-disruptive reset
3 yes non-disruptive rolling
7 yes non-disruptive rolling
8 yes non-disruptive rolling
9 yes non-disruptive rolling
Images will be upgraded according to following table:
Module Image Running-Version(pri:alt) New-Version Upg-Required
------ ---------- ---------------------------------------- -------------------- ------------
1 system 6.2(2) 6.2(10) yes
1 kickstart 6.2(2) 6.2(10) yes
1 bios v2.12.0(05/29/2013):v2.12.0(05/29/2013) v2.12.0(05/29/2013) no
2 system 6.2(2) 6.2(10) yes
2 kickstart 6.2(2) 6.2(10) yes
2 bios v2.12.0(05/29/2013):v2.12.0(05/29/2013) v2.12.0(05/29/2013) no
3 lc1n7k 6.2(2) 6.2(10) yes
3 bios v2.0.32(12/16/13):v2.0.32(12/16/13) v2.0.32(12/16/13) no
7 lc1n7k 6.2(2) 6.2(10) yes
7 bios v1.10.21(11/26/12):v1.10.21(11/26/12) v1.10.21(11/26/12) no
8 lc1n7k 6.2(2) 6.2(10) yes
8 bios v1.10.21(11/26/12):v1.10.21(11/26/12) v1.10.21(11/26/12) no
9 lc1n7k 6.2(2) 6.2(10) yes
9 bios v1.10.21(11/26/12):v1.10.21(11/26/12) v1.10.21(11/26/12) no
Do you want to continue with the installation (y/n)? [n] y
Install is in progress, please wait.
Performing runtime checks.
[####################] 100% -- SUCCESS
Syncing image bootflash:/n7000-s2-kickstart.6.2.10.bin to standby.
[####################] 100% -- SUCCESS
Syncing image bootflash:/n7000-s2-dk9.6.2.10.bin to standby.
[####################] 100% -- SUCCESS
Setting boot variables.
[####################] 100% -- SUCCESS
Performing configuration copy.
[####################] 100% -- SUCCESS
Module 1: Upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
Module 2: Upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
Module 3: Upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
Module 7: Upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
Module 8: Upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
Module 9: Upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
Module 2: Waiting for module online.
-- SUCCESS
Notifying services about the switchover.
[####################] 100% -- SUCCESS
"Switching over onto standby".
======================================================================
Now, from this point, we got disconnected. So we went to the data center and consoled and found that the upgrade had finished successfully. Thats all. The one command (install all ...) does it all for the upgrade.
At this point you don't need to run into the data center and connect to the console. Simply open a new SSH connection to the N7K and you'll be on the standby supervisor. From here, you can enter the command 'show install all status' and you will begin seeing a live view of the upgrade in progress as the upgrade completes. Once you see Upgrade Successful, press CTRL-C to return to the # prompt. Odd, I know, but you are not interrupting the upgrade. You can once again issue the 'show install all status' command and this time you will see everything as well as the Completed Successfully command and be returned to the # prompt.
ReplyDelete