TM Upgrade de NX-OS y power-sequencer para equipos NEXUS 5020 Juan Olivares HTE, FTS. Corporate Headquarters Cisco 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100
Upgrade de NX-OS en NEXUS 5020 Intencion de este documento: Tiene la intención de apoyar a ingenieros y clientes finales a seguir el correcto procedimiento para el upgrade de NX-OS, ya que algunos NEXUS 5020 han presentado fallas que se describen en el bug ID CSCsy21017. Como parte del upgrade el proceso debe ser ejecutado dos veces, como se muestra a continuacion: Prerrequisitos: a) Tener instalada la imagen n5000-uk9-kickstart.4.2.1.n1.1.bin en bootflash: del equipo a actualizar. b) Tener instalada la imagen n5000-uk9.4.2.1.n1.1.bin en bootflash: del equipo a actualizar. c) Contar con cable de consola. Pasos: 1. Conectarse por consola al equipo NEXUS 5K. 2. Identificar y registrar la versión actual del equipo NEXUS 5K. CIESPRN5K02# sh version Software BIOS: version 1.0.0 loader: version N/A kickstart: version 4.1(3)N1(1) system: version 4.1(3)N1(1) BIOS compile time: 04/01/08 kickstart image file is: bootflash:/n5000-uk9-kickstart.4.1.3.n1.1.bin kickstart compile time: 7/23/2009 17:00:00 [07/23/2009 19:53:59] system image file is: bootflash:/n5000-uk9.4.1.3.n1.1.bin system compile time: 7/23/2009 17:00:00 [07/23/2009 20:42:52] Tomando como base esta salida, confirmamos que el equipo tiene la versión 4.1(3)N1(1)
3. Identificar que los archivos están instalados en bootflash:, este procedimiento ya fue explicado con anterioridad en el documento Copiar archivos NX-OS a NEXUS 5020.pdf CIESAPN5K01# dir 21126144 Aug 05 13:23:41 2009 n5000-uk9-kickstart.4.1.3.n1.1.bin 21097472 Sep 02 01:45:01 2010 n5000-uk9-kickstart.4.1.3.n1.1a.bin 21097472 Sep 02 01:45:01 n5000-uk9-kickstart.4.2.1.n1.1.bin 134362986 Aug 05 13:23:06 2009 n5000-uk9.4.1.3.n1.1.bin 134371942 Sep 02 01:40:18 2010 n5000-uk9.4.1.3.n1.1a.bin 134371942 Sep 29 01:40:18 n5000-uk9.4.2.1.n1.1.bin Los archivos deben estar en bootflash: de lo contrario referirse al documento Copiar archivos NX-OS a NEXUS 5020.pdf : 4. Una vez confirmados los archivos instalados en bootflash: se procede a ejecutar el comando de verificación de actualización de NX-OS, en donde se indica el nombre de la nueva versión 4.2.1.N1.1. COMANDO A EJECUTAR show install all impact kickstart bootflash:n5000-uk9-kickstart.4.2.1.n1.1.bin system n5000-uk9.4.2.1.n1.1.bin Las salidas de este comando deben ser 100% success Verifying image bootflash:/n5000-uk9-kickstart.4.2.1.n1.1.bin for boot variable "kickstart". Verifying image bootflash:/n5000-uk9.4.2.1.n1.1.bin for boot variable "system". Verifying image type. [########### ] 50% Extracting "system" version from image bootflash:/n5000-uk9.4.2.1.n1.1.bin. Extracting "kickstart" version from image bootflash:/n5000-uk9-kickstart.4.2.1.n 1.1.bin. Extracting "bios" version from image bootflash:/n5000-uk9.4.2.1.n1.1.bin. Notifying services about system upgrade. Compatibility check is done: Module bootable Impact Install-type Reason ------ -------- -------------- ------------ ------ 1 yes disruptive reset Reset due to single supervisor Images will be upgraded according to following table: Module Image Running-Version New-Version Upg-Required ------ ---------- ---------------------- ---------------------- ------------ 1 system 4.1(3)N1(1) 4.2(1)N1(1) yes 1 kickstart 4.1(3)N1(1) 4.2(1)N1(1) yes 1 bios v1.2.0(06/19/08) no
5. Una vez confirmados los archivos instalados en bootflash: y ser verificados, se procede a ejecutar el comando de instalación de la nueva versión 4.2.1.N1.1. install all kickstart bootflash:n5000-uk9-kickstart.4.2.1.n1.1.bin system n5000- uk9.4.2.1.n1.1.bin CIESAPN5K01# install all kickstart bootflash:n5000-uk9-kickstart.4.2.1.n1.1.bin system bootflash:n5000-uk9.4.2.1.n1.1.bin Verifying image bootflash:/n5000-uk9-kickstart.4.2.1.n1.1.bin for boot variable "kickstart". Verifying image bootflash:/n5000-uk9.4.2.1.n1.1.bin for boot variable "system". Verifying image type. Extracting "system" version from image bootflash:/n5000-uk9.4.2.1.n1.1.bin. Extracting "kickstart" version from image bootflash:/n5000-uk9-kickstart.4.2.1.n1.1.bin. Extracting "bios" version from image bootflash:/n5000-uk9.4.2.1.n1.1.bin. Extracting "fex" version from image bootflash:/n5000-uk9.4.2.1.n1.1.bin. Notifying services about system upgrade. Compatibility check is done: Module bootable Impact Install-type Reason ------ -------- -------------- ------------ ------ 1 yes disruptive reset Reset due to single supervisor 100 yes disruptive reset Reset due to single supervisor Images will be upgraded according to following table: Module Image Running-Version New-Version Upg-Required ------ ---------- ---------------------- ---------------------- ------------ 1 system 4.1(3)N1(1) 4.2(1)N1(1) yes 1 kickstart 4.1(3)N1(1) 4.2(1)N1(1) yes 1 bios v1.3.0(09/08/09) no 100 fex 4.1(3)N1(1) 4.2(1)N1(1) yes
6. Una vez ejecutado el comando, el equipo NEXUS 5020 solicita confirmación para seguir con el procedimiento de upgrade, el equipo se reinicia por si solo. Se debe seleccionar y (YES). Switch will be reloaded for disruptive upgrade. Do you want to continue with the installation (y/n)? [n] y Install is in progress, please wait. Setting boot variables. Performing configuration copy. Module 1: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. Pre-loading modules. [This step might take up to 20 minutes to complete - please wait.] [# ] 0%2010 Jun 10 18:27:25 N5K1 %$ VDC-1 %$ %SATCTRL-2- SATCTRL_IMAGE: FEX100 Image update in progress. [##### ] 20% [###### ] 25%2010 Jun 10 18:32:54 N5K1 %$ VDC-1 %$ %SATCTRL-2- SATCTRL_IMAGE: FEX100 Image update complete. Install pending Finishing the upgrade, switch will reboot in 10 seconds. Rebooting... Restarting system. Una vez que el equipo se reinicia, cargara la nueva versión 4.2.1.N1.1 7. Una vez con el equipo activo nuevamente, es necesario confirmar la nueva versión instalada con el comando show version. En este punto se ha concluido el upgrade de la la imagen NX-OS, faltando upgrade del power-sequencer. show version Cisco Nexus Operating System (NX-OS) Software Software BIOS: version 1.2.0 loader: version N/A kickstart: version 4.2(1)N1(1) [build 4.2(1)N1(0.96)] system: version 4.2(1)N1(1) [build 4.2(1)N1(0.96)] BIOS compile time: 06/19/09 kickstart image file is: bootflash:/n5000-uk9-kickstart.4.2.1.n1.0.96.bin kickstart compile time: 7/14/2010 4:00:00 [07/14/2010 04:27:38] system image file is: bootflash:/n5000-uk9.4.2.1.n1.0.96.bin system compile time: 7/14/2010 4:00:00 [07/14/2010 05:20:12]
8. Repetir el paso 5 para completar el upgrade de power-sequencer, esta vez el reload debe ser de forma física y no de forma automática, esto es, una vez que el equipo termine todo el proceso de upgrade por segunda ocasión, será necesario desconectar las dos fuentes de los equipos NEXUS 5020 y volver a conectar, una vez que observamos el mensaje 100% SUCCESS. Compatibility check is done: Module bootable Impact Install-type Reason ------ -------- -------------- ------------ ------ 1 yes non-disruptive copy-only Images will be upgraded according to following table: Module Image Running-Version New-Version Upg-Required ------ ---------- ---------------------- ---------------------- ------------ 1 system 4.2(1)N1(1) 4.2(1)N1(1) no 1 kickstart 4.2(1)N1(1) 4.2(1)N1(1) no 1 bios v1.2.0(06/19/08) v1.3.0(09/08/09) yes 1 power-seq v1.0 v1.2 yes Do you want to continue with the installation (y/n)? [n] y Install is in progress, please wait. Setting boot variables. Performing configuration copy. Module 1: Refreshing compact flash and upgrading bios/loader/bootrom/power-seq. Warning: please do not remove or power off the module at this time. Note: Power-seq upgrade needs a power-cycle to take into effect. On success of power-seq upgrade, SWITCH OFF THE POWER to the system and then, power it up. Install has been successful. Despues de ver este mensaje y ver nuevamente el CLI prompt (CIESxxx5K0x#) se desconectan los cables de las fuentes de poder y vuelven a conectarse.
9. Confirmar que el equipo cuenta con la versión 4.2(1)N1(1) instalada y el power-sequencer con versión v1.2 una vez que volvió a conectarse. show version Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright ) 2002-2010, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained herein are owned by other third parties and are used and distributed under license. Software BIOS: version 1.2.0 loader: version N/A kickstart: version 4.2(1)N1(1) [build 4.2(1)N1(0.96)] system: version 4.2(1)N1(1) [build 4.2(1)N1(0.96)] power-seq: version v1.2 BIOS compile time: 06/19/09 kickstart image file is: bootflash:/n5000-uk9-kickstart.4.2.1.n1.0.96.bin kickstart compile time: 7/14/2010 4:00:00 [07/14/2010 04:27:38] system image file is: bootflash:/n5000-uk9.4.2.1.n1.0.96.bin system compile time: 7/14/2010 4:00:00 [07/14/2010 05:20:12] La salida de show versión debe ser igual a la indicada en el recuadro anterior, si tenemos la misma salida, confirmamos que el equipo NEXUS 5020 se actualizo correctamente. Links de referencia: 1. http://www.cisco.com/en/us/products/ps9710/index.html 2. http://www.cisco.com/en/us/docs/switches/datacenter/nexus5000/sw/upgrade/421_n2_1/cis co_nexus_5000_series_nx- OS_Software_Upgrade_and_Downgrade_Guide Release_421_chapter1.html#task_1099164 3. http://tools.cisco.com/support/downloads/pub/redirect.x?mdfid=282099479