Cisco Nexus 7000 Series NX-OS Software Upgrade and

Add to My manuals
35 Pages

advertisement

Cisco Nexus 7000 Series NX-OS Software Upgrade and | Manualzz

Step 4

Verify that the "Current Boot Variables" and the "Boot Variables on the next reload" match the expected image.

Current Boot Variables: sup-2 kickstart variable = bootflash:/n7000-s2-kickstart.8.0.1.bin system variable = bootflash:/n7000-s2-dk9.8.0.1.bin

No module boot variable set

Boot Variables on next reload: sup-1 kickstart variable = bootflash:/n7000-s2-kickstart.8.0.1.bin system variable = bootflash:/n7000-s2-dk9.8.0.1.bin

sup-2 kickstart variable = bootflash:/n7000-s2-kickstart.8.0.1.bin system variable = bootflash:/n7000-s2-dk9.8.0.1.bin

No module boot variable set

Step 5

Verify that the image location and the image name match the above boot statements. In redundant supervisor chassis, the images auto-synchronize from to standby once the boot statements are set.

switch#

show boot auto-copy list

switch# dir bootflash://sup-active/

161980383

29471232

May 15 17:52:03 2016 n7000-s2-dk9.8.0.1.bin

May 15 18:01:38 2016 n7000-s2-kickstart.8.0.1.bin

switch# dir bootflash://sup-standby/

161980383 May 15 18:04:55 2016 n7000-s2-dk9.8.0.1.bin

29471232 May 15 18:06:18 2016 n7000-s2-kickstart.8.0.1.bin

Step 6

After you verify the image location and statements, reload the Cisco NX-OS device.

switch#

reload

Example Outputs from Cisco NX-OS Software Upgrades

This section includes example outputs from Cisco NX-OS software upgrades.

• The output of the install all command depends on the software image, especially the upgrade required (Upg-Required) field information in the upgrade table.

• Any time you perform a disruptive ISSU, the supervisor modules will be reloaded.

Example Nondisruptive Upgrade of a Device with Dual Supervisors

The following example has the console session output that shows a nondisruptive execution of the install all command on a device with dual supervisor modules: switch#

install all kickstart n7000-s2-kickstart.8.0.1.bin system n7000-s2-dk9.8.0.1.bin

Verifying image bootflash:/n7000-s2-kickstart.8.0.1.bin for boot variable "kickstart".

[####################] 100% -- SUCCESS

Verifying image bootflash:/n7000-s2-dk9.8.0.1.bin for boot variable "system".

[####################] 100% -- SUCCESS

Verifying image type.

[####################] 100% -- SUCCESS

24

Extracting "lc-m2-n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "bios" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc-f1-n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc-m2-n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc-m2-n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "system" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "kickstart" version from image bootflash:/n7000-s2-kickstart.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc-m2-n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc-m2-n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc-f1-n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc-m2-n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "fexth" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "fexth" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "fexth" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "cmp" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "cmp-bios" version from image bootflash:/n7000-s2-dk9.8.0.1.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 rolling

2

3

8 yes non-disruptive yes non-disruptive yes non-disruptive rolling rolling rolling

9

10

11

14

16

18

101

102

103 yes yes yes yes yes yes yes yes yes non-disruptive non-disruptive non-disruptive non-disruptive non-disruptive non-disruptive non-disruptive non-disruptive non-disruptive reset reset rolling rolling rolling rolling rolling rolling rolling

25

Images will be upgraded according to following table:

Module Image Running-Version(pri:alt) New-Version Upg-Required

------------------------------------------------------------------------------------

1 lc-m1-n7k 7.3(1) 8.0(1) yes

1

2

2

3 bios lc-f1-n7k bios lc-m1-n7k

3 bios

8 lc-m1-n7k

------v1.10.17(04/25/16): v1.10.17(04/25/15)

7.3(1) v1.10.17(04/25/16): v1.10.17(04/25/15)

7.3(1) v1.10.17(04/25/16): v1.10.17(04/25/15)

7.3(1)

-------

Do you want to continue with the installation (y/n)? [n]

y

8.0(1)

8.0(1)

8.0(1) no yes no yes no yes

Install is in progress, please wait.

Performing runtime checks.

[####################] 100% -- SUCCESS

Syncing image bootflash:/n7000-s2-kickstart.8.0.1.bin to standby.

[####################] 100% -- SUCCESS

Syncing image bootflash:/n7000-s2-dk9.8.0.1.bin to standby.

[####################] 100% -- SUCCESS

Setting boot variables.

[####################] 100% -- SUCCESS

Performing configuration copy.

[####################] 100% -- SUCCESS

Module 1: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 2: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 3: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 8: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 9: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 10: Refreshing compact flash and upgrading bios/loader/bootrom.

Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 11: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 14: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 16: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

Module 18: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time.

[####################] 100% -- SUCCESS

26

2016 Oct 24 09:55:57 switch-B %$ VDC-1 %$ %PLATFORM-2-MOD_REMOVE: Module 10 removed (Serial number JAB1229002Q)

2016 Oct 24 10:01:00 switch-B %$ VDC-1 %$ %IDEHSD-STANDBY-2-MOUNT: slot0: online

2016 Oct 24 10:01:39 switch-B %$ VDC-1 %$ %IDEHSD-STANDBY-2-MOUNT: logflash: online

2016 Oct 24 10:01:41 switch-B %$ VDC-1 %$ %CMPPROXY-STANDBY-2-LOG_CMP_UP: Connectivity Management processor(on module 10) is now UP

Module 10: Waiting for module online.

-- SUCCESS

Notifying services about the switchover.

[####################] 100% -- SUCCESS

As displayed, once the active supervisor module reloads, the output for the standby supervisor module is displayed.

writing reset reason 7, SAP(93): Swover due to install 2016 May ?

NX7 SUP Ver 3.22.0

Serial Port Parameters from CMOS

On Standby sup: switch-B(standby)# NX7 SUP Ver 3.22.0

Serial Port Parameters from CMOS PMCON_1: 0x200

PMCON_2: 0x0 PMCON_3: 0x3a PM1_STS: 0x101

Performing Memory Detection and Testing Total mem found : 8192 MB

Performing memory test... Passed. NumCpus = 2.

Status 61: PCI DEVICES Enumeration Started Status 62: PCI DEVICES Enumeration Ended Status 9F: Dispatching

Drivers

Status 9E: IOFPGA Found

Status 9A: Booting From Primary ROM Status 98: Found Cisco IDE

Status 98: Found Cisco IDE Status 98: Found Cisco IDE

Y??2??0```````````````?0```````````````? Reset Reason Registers: 0x0 0x8

Filesystem type is ext2fs, partition type 0x83

GNU GRUB version 0.97

Autobooting bootflash:/n7000-s2-kickstart.8.0.1.bin bootflash:/n7000-s1-dk9

.8.0.1.bin...

Filesystem type is ext2fs, partition type 0x83

Booting kickstart image: bootflash:/n7000-s2-kickstart.8.0.1.bin....

...............................................................................

.................Image verification OK

INIT:

Checking all filesystems..r.r.r..r done. Loading system software

/bootflash//n7000-s2-dk9.8.0.1.bin read done

Uncompressing system image: bootflash:/n7000-s2-dk9.8.0.1.bin Mon May 24 10:00:07 PST 2016 blogger: nothing to do.

..done Mon May 24 10:00:12 PST 2016

Load plugins that defined in image conf: /isan/plugin_img/img.conf Loading plugin 0: core_plugin...

num srgs 1

0: swid-core-supdc3, swid-core-supdc3 num srgs 1

0: swid-supdc3-ks, swid-supdc3-ks INIT: Entering runlevel: 3

Continuing with installation, please wait

2016 May 24 10:01:00 switch-B %$ VDC-1 %$ %IDEHSD-2-MOUNT: slot0: online 2016 May 24 10:01:39 switch-B %$ VDC-1

%$ %IDEHSD-2-MOUNT: logflash: online

2016 May 24 10:01:41 switch-B %$ VDC-1 %$ %CMPPROXY-2-LOG_CMP_UP: Connectivity Management processor(on module

10) is now UP

Module 10: Waiting for module online.

-- SUCCESS

2016 May 24 10:04:53 switch-B %$ VDC-1 %$ Oct 24 10:04:53 %KERN-2-SYSTEM_MSG: [ 480.115904] Switchover started by redundancy driver - kernel

2016 May 24 10:04:53 switch-B %$ VDC-1 %$ %SYSMGR-2-HASWITCHOVER_PRE_START: This supervisor is becoming active

(pre-start phase).

27

2016 May 24 10:04:53 switch-B %$ VDC-1 %$ %SYSMGR-2-HASWITCHOVER_START: Supervisor 10 is becoming active. 2016

May 24 10:04:55 switch-B %$ VDC-1 %$ %SYSMGR-2-SWITCHOVER_OVER: Switchover completed.

2016 May 24 10:05:01 switch-B %$ VDC-1 %$ %CALLHOME-2-EVENT: HARDWARE_REMOVAL

2016 May 24 10:05:01 switch-B %$ VDC-1 %$ %PLATFORM-2-MOD_REMOVE: Module 6 removed (Serial number ) 2016 May

24 10:11:03 switch-B %$ VDC-1 %$ %IDEHSD-STANDBY-2-MOUNT: slot0: online

2016 May 24 10:11:12 switch-B %$ VDC-1 %$ %CMPPROXY-STANDBY-2-LOG_CMP_UP: Connectivity Management processor(on module 9) is now UP

2016 May 24 10:11:15 switch-B %$ VDC-1 %$ %CALLHOME-2-EVENT: PERIODIC_CONFIGURATION

2016 May 24 10:12:02 switch-B %$ VDC-1 %$ %IDEHSD-STANDBY-2-MOUNT: logflash: online

Module 1: Non-disruptive upgrading.

[####################] 100% -- SUCCESS

Module 2: Non-disruptive upgrading.

[####################] 100% -- SUCCESS

Module 3: Non-disruptive upgrading.

[####################] 100% -- SUCCESS

Module 8: Non-disruptive upgrading.

[####################] 100% -- SUCCESS

Module 11: Non-disruptive upgrading.

[####################] 100% -- SUCCESS

Module 14: Non-disruptive upgrading.

[####################] 100% -- SUCCESS

Module 16: Non-disruptive upgrading.

[####################] 100% -- SUCCESS

Module 18: Non-disruptive upgrading.

[####################] 100% -- SUCCESS

Module 10: Upgrading CMP image.

Warning: please do not reload or power cycle CMP module at this time.

[####################] 100% -- SUCCESS

Module 9: Upgrading CMP image.

Warning: please do not reload or power cycle CMP module at this time.

[####################] 100% -- SUCCESS

Recommended action::

"Please reload CMP(s) manually to have it run in the newer version.". Install has been successful.

User Access Verification switch-B login: 2016 May 24 10:54:44 switch-B %$ VDC-1 %$ %COPP-2-COPP_PROFILE_DIFF:

CoPP Default Profile may have changed, please check the diffs using show copp diff profile <profile-type> prior-ver profile <profile-type>

User Access Verification switch-B login: admin Password:<password>

Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac

Copyright (c) 2002-2016, Cisco Systems, Inc. All rights reserved.

The copyrights to certain works contained in this software are owned by other third parties and used and distributed under license.

Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or the

GNU

Lesser General Public License (LGPL) Version 2.1.

A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://www.opensource.org/licenses/lgpl-2.1.php

Note

A supervisor module switchover has occurred, and the active supervisor module is now the standby supervisor module.

28

Example Disruptive Upgrade of a Device with Dual Supervisors

The following console session example output shows a disruptive execution of the install all command on a device with dual supervisor modules: switch#

install all kickstart n7000-s2-kickstart.8.0.1.bin system n7000-s2-dk9.8.0.1.bin

Verifying image bootflash:/n7000-s2-kickstart.8.0.1.bin for boot variable "kickstart".

[####################] 100% -- SUCCESS

Verifying image bootflash:/n7000-s2-dk9.8.0.1.bin for boot variable "system".

[####################] 100% -- SUCCESS

Verifying image type.

[####################] 100% -- SUCCESS

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "bios" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "system" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "kickstart" version from image bootflash:/n7000-s2-kickstart.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "cmp" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "cmp-bios" version from image bootflash:/n7000-s2-dk9.8.0.1.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 disruptive reset Incompatible image

3

4

5

6

10 yes yes yes yes yes disruptive disruptive disruptive disruptive disruptive reset reset reset reset reset

Incompatible image

Incompatible image

Incompatible image

Incompatible image

Incompatible image

Images will be upgraded according to following table:

Module Image Running-Version(pri:alt) New-Version Upg-Required

------------------------------------------------------------------------------------

8.0(1) 1

1

3 lc1n7k bios lc1n7k

7.3(1) v1.10.17(04/25/16): v1.10.17(04/25/16)

7.3(1) 8.0(1) yes no yes

29

3

4

4

5 bios system

5 kickstart

----

---bios lc1n7k v1.10.17(04/25/16): v1.10.17(04/25/16)

7.3(1) v1.10.17(04/25/16): v1.10.17(04/25/16)

7.3(1)

7.3(1)

Switch will be reloaded for disruptive upgrade.

Do you want to continue with the installation (y/n)?

[n]

y

8.0(1)

8.0(1)

8.0(1) no yes no yes yes

Note

A supervisor module switchover has occurred and the active supervisor module is now the standby supervisor module.

The following example console session output from the standby supervisor module shows that the standby supervisor module switches over to become the active supervisor module: switch(standby)#

NX7 SUP Ver 3.17.0

Serial Port Parameters from CMOS

PMCON_1: 0x20

PMCON_2: 0x0

PMCON_3: 0x3a

PM1_STS: 0x101

Performing Memory Detection and Testing

Testing 1 DRAM Patterns

Total mem found : 4096 MB

Memory test complete.

NumCpus = 2.

Status 61: PCI DEVICES Enumeration Started

Status 62: PCI DEVICES Enumeration Ended

Status 9F: Dispatching Drivers

Status 9E: IOFPGA Found

Status 9A: Booting From Primary ROM

Status 98: Found Cisco IDE

Status 98: Found Cisco IDE

Status 90: Loading Boot Loader

Reset Reason Registers: 0x10 0x0

Filesystem type is ext2fs, partition type 0x83

GNU GRUB version 0.97

Autobooting bootflash:/n7000-s1-kickstart.8.0.1a.bin bootflash:/n7000-s2-kickstart.8.0.1.bin...

Filesystem type is ext2fs, partition type 0x83

Booting kickstart image: bootflash:/n7000-s1-kickstart.8.0.1a.bin....

........................................................................Image verification OK

Starting kernel...

INIT: version 2.85 booting

Checking all filesystems..r.r.r.. done.

n7000-s2-kickstart.8.0.1.bin read done duplicate password entry delete line `adminbackup:x:0:0::/var/home/adminbackup:/bin/bash'?

No

duplicate password entry delete line `adminbackup:x:2003:504::/var/home/adminbackup:/isan/bin/vsh_perm'?

No

pwck: no changes

Setting kernel variables: sysctlnet.ipv4.ip_forward = 0 net.ipv4.ip_default_ttl = 64 net.ipv4.ip_no_pmtu_disc = 1

.

Setting the System Clock using the Hardware Clock as reference...System Clock set.

30

Local time: Fri Apr 18 02:33:42 UTC 2008

Loading system software

Uncompressing system image: n7000-s2-kickstart.8.0.1.bin

Load plugins that defined in image conf: /isan/plugin_img/img.conf

Loading plugin 0: core_plugin...

INIT: Entering runlevel: 3

Exporting directories for NFS kernel daemon...done.

Starting NFS kernel daemon:rpc.nfsd.

rpc.mountddone.

User Access Verification switch login:

admin

Password:

<password>

Example Disruptive Upgrade of a Device with a Single Supervisor

The following console session example output shows a disruptive execution of the install all command on a device with a single supervisor module: switch#

install all kickstart n7000-s2-kickstart.8.0.1.bin system n7000-s2-dk9.8.0.1.bin

Verifying image bootflash:/n7000-s2-kickstart.8.0.1.bin for boot variable "kickstart".

[####################] 100% -- SUCCESS

Verifying image bootflash:/n7000-s2-dk9.8.0.1.bin for boot variable "system".

[####################] 100% -- SUCCESS

Verifying image type.

[####################] 100% -- SUCCESS

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "bios" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "system" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "kickstart" version from image bootflash:/n7000-s2-kickstart.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "lc1n7k" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "cmp" version from image bootflash:/n7000-s2-dk9.8.0.1.bin.

[####################] 100% -- SUCCESS

Extracting "cmp-bios" version from image bootflash:/n7000-s2-dk9.8.0.1.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

------------------------------------------

31

advertisement

Related manuals