<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Kickstart - Tag - Fryguy's Blog</title><link>https://hugo.fryguy.net/tags/kickstart/</link><description>Kickstart - Tag - Fryguy's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 10 Aug 2010 16:40:56 +0000</lastBuildDate><atom:link href="https://hugo.fryguy.net/tags/kickstart/" rel="self" type="application/rss+xml"/><item><title>Nexus 7000 NXOS Upgrade via ISSU</title><link>https://hugo.fryguy.net/2010/08/10/nexus-7000-nxos-upgrade-via-issu/</link><pubDate>Tue, 10 Aug 2010 16:40:56 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2010/08/10/nexus-7000-nxos-upgrade-via-issu/</guid><description><![CDATA[<p>Before we release our Nexus 7000’s to the productions packets, we are upgrading to a newer version of code.  Since we are doing this, I figured it would be a good opportunity to  document the ISSU upgrade process.<br>
The Nexus 7000 has two images in order to run.  The first is a Kickstart image and the second is the actual System image. The  Kickstart image contains the Linux kernel, basic drivers,   and initial file system. The System Image contains the system  software and infrastructure code.<br>
I prefer to use FTP to transfer large files; you can also copy  them via TFTP or USB if you wish.  For this post, I will  demonstrate FTP.<br>
1.  Start your local FTP server (or place files on common FTP  server). In my case the IP of the FTP server is 10.1.3.11<br>
2.  On the Nexus 7000, execute the following command to copy the kickstart image using the management VRF in this example:<br>
<span style="color:#ff0000;"><em>N7K1# <strong>copy ftp://nexus@10.1.3.11/n7000-s1-kickstart.5.0.3.bin bootflash://sup-local/</strong></em></span>_<br>
_ <span style="color:#ff0000;"><em> Enter vrf (If no input, current vrf ‘default’ is considered): <strong>management</strong><br /> Password: <strong>nexus</strong><br /> [##                       ]         4.15MB </em></span><span style="color:#ff0000;"><span style="color:#0000ff;"><strong><br /> </strong>This is the progress indicator bar that shows you transfer status</span><br /> <em>***** Transfer of file Completed Successfully <em><strong><strong></em></span><br>
3. Now you can copy the NXOS code to the bootflash:<br>
<span style="color:#ff0000;"><em> N7K1# <strong>copy</strong> <strong>ftp://nexus@10.1.3.11/n7000-s1-dk9.5.0.3.bin bootflash://sup-local/</strong><br /> Enter vrf (If no input, current vrf ‘default’ is considered): <strong>management</strong><br /> Password: <strong>nexus</strong><br /> [##                       ]         4.15MB<br /> </em></span>_ <span style="color:#ff0000;"></strong></strong></em> Transfer of file Completed Successfully ***** </span>_<br>
4.  Now that you have the files on the Active supervisor, copy them to the standby supervisor:<br>
<em><span style="color:#ff0000;">N7K1# <strong>copy bootflash:/n7000-s1-dk9.5.0.3.bin bootflash://sup-2/</strong><br /> Copy progress 100% 107430KB !This is the progress indicator bar that shows you transfer status<br /> N7K1# <strong>copy bootflash:/n7000-s1-kickstart.5.0.3.bin bootflash://sup-2/<br /> </strong>Copy progress 100% 24522KB</span></em><br>
5.  To validate that you have successfully copied to the standby supervisor, you should also attach to it and check the directory.<br>
<span style="color:#ff0000;"><em> N7K1# <strong>attach module 6</strong><br /> Attaching to module 6 …<br /> To exit type ‘exit’, to abort type ‘$.’<br /> Cisco Nexus Operating System (NX-OS) Software<br /> TAC support: <a href="http://www.cisco.com/tac" target="_blank" rel="noopener noreffer ">http://www.cisco.com/tac</a><br /> Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.<br /> The copyrights to certain works contained in this software are<br /> owned by other third parties and used and distributed under<br /> license. Certain components of this software are licensed under<br /> the GNU General Public License (GPL) version 2.0 or the GNU<br /> Lesser General Public License (LGPL) Version 2.1. A copy of each<br /> such license is available at (SNIP)<br /> <span style="color:#ff0000;">N7K1(standby)# <strong>dir</strong><br /> 3610    Jul 14 20:37:16 2010  aaa_cnv.log<br /> 16384    Jan 13 12:40:30 2008  lost+found/<br /> 100118021    Jan 14 11:11:23 2008  n7000-s1-dk9.4.2.4.bin<br /> 107369112    Jul 14 19:58:04 2010  n7000-s1-dk9.5.0.2a.bin<br /> <strong> 107430217    Aug 10 14:14:19 2010  n7000-s1-dk9.5.0.3.bin </strong></span> </em><span style="color:#ff0000;"><strong><br /> </strong><em>24727552    Jan 14 11:11:37 2008  n7000-s1-kickstart.4.2.4.bin<br /> 23613440    Jul 14 19:56:49 2010  n7000-s1-kickstart.5.0.2a.bin<br /> <strong>24522752    Aug 10 14:21:11 2010  n7000-s1-kickstart.5.0.3.bin</strong></em><em><br /> 4096    Jan 13 14:29:21 2008  vdc_2/<br /> 4096    Jan 13 14:29:21 2008  vdc_3/<br /> 4096    Jan 13 14:29:21 2008  vdc_4/</em></span></span><br>
<span style="color:#ff0000;"><em>Usage for bootflash://<br /> 513769472 bytes used<br /> 1296130048 bytes free<br /> 1809899520 bytes total<br /> N7K1(standby)#</em></span><br>
6.  Now you can return to the active supervisor by typing exit<br>
<em><span style="color:#ff0000;">N7K1(standby)# <strong>exit</strong><br /> rlogin: connection closed.<br /> N7K1#</span></em><br>
7.  Before continuing, make sure that all your configs are saved and backed up to an external device.  I suggest copying them to a TFTP server for disaster recovery.  A rollback will automatically be created when you perform the upgrade, but an added insurance policy is suggested.<br>
<span style="color:#ff0000;"><em> N7K1# <strong>checkpoint file bootflash:081010_MainVDC.cfg<br /> </strong>Done<br /> N7K1# <strong>switchto vdc coreSwitch1<br /> </strong>Cisco Nexus Operating System (NX-OS) Software<br /> TAC support: <a href="http://www.cisco.com/tac" target="_blank" rel="noopener noreffer ">http://www.cisco.com/tac</a><br /> Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.<br /> The copyrights to certain works contained in this software are<br /> owned by other third parties and used and distributed under<br /> license. Certain components of this software are licensed under<br /> the GNU General Public License (GPL) version 2.0 or the GNU<br /> Lesser General Public License (LGPL) Version 2.1. A copy of each<br /> such license is available at<br /> (SNIP)<br /> N7K1-CoreSwitch1# <strong>checkpoint file bootflash:081010_VDC1.cfg</strong><br /> Done<br /> N7K1-CoreSwitch1# <strong>switchback</strong></em></span>_<br>
<span style="color:#ff0000;"></span><span style="color:#ff0000;">N7K1#</span>_<br>
8.  Prior to the upgrade of the code, I highly recommend checking the impact of the upgrade.  This is a good command to run<br>
when you are preparing your Chance Controls as you can validate the file as well as the impact.<br>
You can do this by using the following command:<br>
<span style="color:#ff0000;"><em> N7K1# <strong>show install all impact kickstart bootflash:n7000-s1-kickstart.5.0.3.bin system bootflash:n7000-s1-dk9.5.0.3.bin<br /> </strong><br /> Verifying image bootflash:/n7000-s1-kickstart.5.0.3.bin for boot variable “kickstart”.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Verifying image bootflash:/n7000-s1-dk9.5.0.3.bin for boot variable “system”.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Verifying image type.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “bios” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “system” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “kickstart” version from image bootflash:/n7000-s1-kickstart.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “cmp” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “cmp-bios” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Performing module support checks.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Notifying services about system upgrade.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Compatibility check is done:<br /> Module  bootable          Impact  Install-type  Reason<br /> ——  ——–  ————–  ————  ——<br /> 2       yes  non-disruptive       rolling<br /> 3       yes  non-disruptive       rolling<br /> 4       yes  non-disruptive       rolling<br /> 5       yes  non-disruptive         reset<br /> 6       yes  non-disruptive         reset<br /> 7       yes  non-disruptive       rolling<br /> 8       yes  non-disruptive       rolling<br /> 9       yes  non-disruptive       rolling<br /> 10       yes  non-disruptive       rolling</em></span><br>
<span style="color:#ff0000;"><em>[==== Output Omitted ====]<br /> N7K1#</em></span><br>
<span style="color:#ff0000;"><span style="color:#0000ff;"> Note: The key piece of information here is the Impact column.  As you can see here,<br /> this upgrade is non-disruptive (call it minimal) to traffic.  The only two modules<br /> that need to be reset are the Supervisors (Mod 5 and 6)</span></span><span style="color:#ff0000;"><br /> </span><br>
9.  Once you have validated the images, you can now proceed with the upgrade.  To upgrade the images, use the install command.<br>
<span style="color:#ff0000;"><em>N7K1<strong>#  install all kickstart bootflash:n7000-s1-kickstart.5.0.3.bin system bootflash:n7000-s1-dk9.5.0.3.bin<br /> </strong><br /> Verifying image bootflash:/n7000-s1-kickstart.5.0.3.bin for boot variable “kickstart”.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Verifying image bootflash:/n7000-s1-dk9.5.0.3.bin for boot variable “system”.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Verifying image type.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “bios” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “system” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “kickstart” version from image bootflash:/n7000-s1-kickstart.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “cmp” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Extracting “cmp-bios” version from image bootflash:/n7000-s1-dk9.5.0.3.bin.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Performing module support checks.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Notifying services about system upgrade.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Compatibility check is done:<br /> Module  bootable          Impact  Install-type  Reason<br /> ——  ——–  ————–  ————  ——<br /> 2       yes  non-disruptive       rolling<br /> 3       yes  non-disruptive       rolling<br /> 4       yes  non-disruptive       rolling<br /> 5       yes  non-disruptive         reset<br /> 6       yes  non-disruptive         reset<br /> 7       yes  non-disruptive       rolling<br /> 8       yes  non-disruptive       rolling<br /> 9       yes  non-disruptive       rolling<br /> 10       yes  non-disruptive       rolling</em></span><br>
<em><span style="color:#ff0000;">Images will be upgraded according to following table:<br /> Module       Image                  Running-ersion(pri:alt)           New-Version  Upg-Required<br /> [===== Output Omitted ====]</span><br>
_<br>
<span style="color:#0000ff;">Note: As you can see, it does the impact analysis for you anyways when you do the install.<br /> You will now need to confirm if you do want to do the upgrade by entering Y</span><br>
<span style="color:#ff0000;"><em>Do you want to continue with the installation (y/n)?  [n] <strong><strong>y</strong></strong></em></span><br>
<span style="color:#ff0000;"><em>Install is in progress, please wait.</em></span><br>
<span style="color:#ff0000;"><em>Performing runtime checks.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Syncing image bootflash:/n7000-s1-kickstart.5.0.3.bin to standby.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Syncing image bootflash:/n7000-s1-dk9.5.0.3.bin to standby.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Setting boot variables.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Performing configuration copy.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 2: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 3: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 4: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 5: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 6: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 7: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 8: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 9: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 10: Refreshing compact flash and upgrading bios/loader/bootrom.<br /> Warning: please do not remove or power off the module at this time.<br /> [####################] 100% — SUCCESS<br /> 2010 Aug 10 15:22:34 N7K1 %PLATFORM-2-MOD_REMOVE: Module 6 removed (Serial number JAF14XXXXXX)</em></span><br>
<span style="color:#ff0000;"><em>2010 Aug 10 15:26:43 N7K1 %CMPPROXY-STANDBY-2-LOG_CMP_UP: Connectivity Management processor(on module 6) is now UP</em></span><br>
<span style="color:#ff0000;"><em>Module 6: Waiting for module online.<br /> — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Notifying services about the switchover.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>“Switching over onto standby”.<br /> 2010 Aug 10 15:33:55 N7K1 %$ VDC-1 %$ %CMPPROXY-STANDBY-2-LOG_CMP_UP: Connectivity Management processor(on module 5) is now UP</em></span><br>
<span style="color:#ff0000;"><em>Module 2: Non-disruptive upgrading.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 3: Non-disruptive upgrading.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 4: Non-disruptive upgrading.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 7: Non-disruptive upgrading.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 8: Non-disruptive upgrading.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 9: Non-disruptive upgrading.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Module 10: Non-disruptive upgrading.<br /> [####################] 100% — SUCCESS</em></span><br>
<span style="color:#ff0000;"><em>Install has been successful.</em></span><br>
<span style="color:#ff0000;"><em>User Access Verification<br /> N7K1 login:</em></span></em><br>
_<br>
<span style="color:#ff0000;"></span><span style="color:#000000;">10. And just like that, both supervisors have been upgraded and are running the new code:<br /> </span><br>
<em><span style="color:#ff0000;">N7K1# <strong>sh ver</strong><br /> Cisco Nexus Operating System (NX-OS) Software<br /> TAC support: <a href="http://www.cisco.com/tac" target="_blank" rel="noopener noreffer ">http://www.cisco.com/tac</a><br /> Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.<br /> The copyrights to certain works contained in this software are<br /> owned by other third parties and used and distributed under<br /> license. Certain components of this software are licensed under<br /> the GNU General Public License (GPL) version 2.0 or the GNU<br /> Lesser General Public License (LGPL) Version 2.1. A copy of each<br /> such license is available at<br /> (SNIP)</span></em><br>
<span style="color:#ff0000;"><em>Software<br /> BIOS:      version 3.22.0<br /> loader:    version N/A<br /> <strong>kickstart: version 5.0(3)<br /> system:    version 5.0(3)</strong><br /> BIOS compile time:       02/20/10<br /> kickstart image file is: bootflash:/n7000-s1-kickstart.5.0.3.bin<br /> kickstart compile time:  7/12/2010 18:00:00 [07/24/2010 11:47:30]<br /> system image file is:    bootflash:/n7000-s1-dk9.5.0.3.bin<br /> system compile time:     7/12/2010 18:00:00 [07/24/2010 13:21:35]</em></span></p>]]></description></item></channel></rss>