{"id":358,"date":"2017-12-13T15:42:01","date_gmt":"2017-12-13T15:42:01","guid":{"rendered":"http:\/\/wp.spoton.cz\/?p=358"},"modified":"2017-12-13T15:42:01","modified_gmt":"2017-12-13T15:42:01","slug":"upgrading-firmware-on-a-brocade-san-switch","status":"publish","type":"post","link":"https:\/\/spoton.cz\/index.php\/2017\/12\/13\/upgrading-firmware-on-a-brocade-san-switch\/","title":{"rendered":"Upgrading firmware on a Brocade SAN switch"},"content":{"rendered":"<p>Craving for quick and dirty way for a Brocade fiber switch upgrade? Here goes&#8230;\u00a0<!--more--><\/p>\n<h2>Check<\/h2>\n<pre>switch_a:admin&gt; firmwareshow\nAppl Primary\/Secondary Versions\n------------------------------------------\nFOS v7.3.1a\n    v7.3.1a<\/pre>\n<h2>Preparation<\/h2>\n<ol>\n<li>Get firmware, in our example,\u00a0v7.4.1c.zip<\/li>\n<li><strong>Extract<\/strong> v7.4.1c.zip to a directory on a server (170.24.154.10) that the switch (switch_a) can reach. <strong>\/home\/firmware<\/strong> for us.<\/li>\n<li>Make sure you can login to the server and use sftp \/ scp, the &#8220;firmware&#8221; user in our example:\u00a0<\/li>\n<\/ol>\n<pre>scp firmware@170.24.154.10:\/home\/firmware\/v7.4.1c\/app_names .\/<\/pre>\n<p>If the above file is transferred, you&#8217;re ready to go for the upgrade.<\/p>\n<h2>The upgrade<\/h2>\n<p>go to switch_a<\/p>\n<pre>ssh admin@switch_a<\/pre>\n<p>initiate firmware upgrade, interactively<\/p>\n<pre>switch_a:admin&gt; firmwaredownload<\/pre>\n<p>In the interactive mode, make sure you add the extra &#8220;\/&#8221; at the end of the path in the misleading &#8220;File Name&#8221; section.<\/p>\n<p>Don&#8217;t make the mistake of trying to upload the .zip file and check if the trailing slash &#8220;\/&#8221; is there.<\/p>\n<pre>Server Name or IP Address: 170.24.154.10\nUser Name: firmware\nFile Name: v7.4.1c\/\nNetwork Protocol(1-auto-select, 2-FTP, 3-SCP, 4-SFTP) [1]: 4\nDo you want to input SFTP options (Y\/N) [N]:\nVerifying if the public key authentication is available.Please wait ...\nThe public key authentication is not available.\nPassword:<\/pre>\n<p>And if you are successful, this should be the result<\/p>\n<pre>Server IP: 170.24.154.10, Protocol IPv4\nChecking system settings for firmwaredownload...\nWARNING: Fabric Watch is discontinued in FOS 7.4 and will not run after \nfirmware upgrade. To continue with monitoring capability, it is recommended \nto migrate to MAPS prior to firmware upgrade. Users can convert \nexisting Fabric Watch thresholds into MAPS policies by \nusing \"mapsConfig --fwconvert\" CLI command and continue monitoring \nwith the same settings. Fabric Watch thresholds cannot be converted \nto MAPS policies after firmware upgrade. Please refer to MAPS \nAdministrator's Guide for further information.\nSystem settings check passed.\n\nYou can run firmwaredownloadstatus to get the status\nof this command.\n\nThis command will cause a warm\/non-disruptive boot but will\nrequire that existing telnet, secure telnet or SSH sessions\nbe restarted.<\/pre>\n<p>Proceed with &#8220;y&#8221;<\/p>\n<pre>Do you want to continue (Y\/N) [Y]: y\nFirmware is being downloaded to the switch. This step may take up to 30 minutes.\nPreparing for firmwaredownload...\nRemoving sysvinit\nStart to install packages...\ndir-1.0.5-5\n############################### [ 100% ]\nldconfig-2.16.2-4\n############################### [ 100% ]\nglibc-2.3.7-8\n############################### [ 100% ]\nglibc-linuxthreads-2.3.7-3\n############################### [ 100% ]\nbash-2.05-8\n############################### [ 100% ]\nreadline-4.2-4\n############################### [ 100% ]\nterminfo-11.2.1-6\n############################### [ 100% ]\ntermcap-1.4-5\n############################### [ 100% ]\nvixie-cron-3.0.2-62_4\n############################### [ 100% ]\nfileutils-4.1-4\n############################### [ 100% ]\ntextutils-1.23-4\n############################### [ 100% ]\nsetup-7.4.1c-28\n############################### [ 100% ]\nswbd12-setup-1.3.5-4\n############################### [ 100% ]\nwhich-2.13-4\n############################### [ 100% ]\nfindutils-4.2-4\n############################### [ 100% ]\nbzip-1.0.2-4\n############################### [ 100% ]\nzlib-1.1.5-5\n############################### [ 100% ]\nchkconfig-1.0.1-7\n############################### [ 100% ]\nsed-3.03-6\n############################### [ 100% ]\nprocps-3.3.1-3\n############################### [ 100% ]\npsmisc-19.0.1-5\n############################### [ 100% ]\nmodutils-3.2-9\n############################### [ 100% ]\nsin-1.1.1-6\n############################### [ 100% ]\nrcinit-1.1.5-9\n############################### [ 100% ]\nmisc-1.0.1-6\n############################### [ 100% ]\npam-0.77-29\n############################### [ 100% ]\nutil-linux-2.13o-18\n############################### [ 100% ]\nsh-utils-3.0-10\n############################### [ 100% ]\npopt-1.4-4\n############################### [ 100% ]\ngrep-2.4.3-4\n############################### [ 100% ]\nrpm-4.3-5\n############################### [ 100% ]\nsysvinit-nopoweroff-2.79-10\n############################### [ 100% ]\nman-1.6g-7\n############################### [ 100% ]\nless-3.4.1-5\n############################### [ 100% ]\ngzip-1.2.5a-4\n############################### [ 100% ]\ntar-1.13.20-4\n############################### [ 100% ]\nrsync-2.6.10-2\n############################### [ 100% ]\nuuid-libs-1.23-4\n############################### [ 100% ]\ne2fsprogs-1.39-5\n############################### [ 100% ]\ncpio-2.4.3-4\n############################### [ 100% ]\ndev-1.4.0-2\n############################### [ 100% ]\nbootenv-1.0.3-7\n############################### [ 100% ]\nwdtd-1.0.1-5\n############################### [ 100% ]\nfwdl-7.4.1c-47\n############################### [ 100% ]\ntelnet-server-0.18-7\n############################### [ 100% ]\nkernel-2.6.14.2-1028933775\n############################### [ 100% ]\nswbd21-drivers-2.4.20-4\n############################### [ 100% ]\nsysklogd-1.5-10\n############################### [ 100% ]\nsyslog-ng-3.1.0-3\n############################### [ 100% ]\ngetty-2.0.8j-8\n############################### [ 100% ]\nnet-tools-1.58-6\n############################### [ 100% ]\nuucp-1.07-6\n############################### [ 100% ]\nportmap-5.0-4\n############################### [ 100% ]\ninetd-0.18-8\n############################### [ 100% ]\niptables-1.4-1\n############################### [ 100% ]\ntcpd-7.7-4\n############################### [ 100% ]\nrsh-server-0.18-4\n############################### [ 100% ]\nrsh-0.18-4\n############################### [ 100% ]\nopenssl-libs-1.0.1e-1\n############################### [ 100% ]\nopenssh-6.2p1-1\nmd5sum: \/etc\/sshd_config.default: No such file or directory\n############################### [ 100% ]\nwarning: \/etc\/sshd_config saved as \/etc\/sshd_config.rpmsave\nopenssh-server-6.2p1-1\n############################### [ 100% ]\nrusers-server-0.18-4\n############################### [ 100% ]\nrdate-990821.0.1-5\n############################### [ 100% ]\nlogrotate-3.5.5-6\n############################### [ 100% ]\nntp-5.94e-4\n############################### [ 100% ]\npciutils-2.1.9-4\n############################### [ 100% ]\nstrace-4.3-4\n############################### [ 100% ]\nsendmail-8.10-11\n############################### [ 100% ]\niproute2-2.5-10\n############################### [ 100% ]\nlibxml2-2.6.31-1\n############################### [ 100% ]\nfss-7.4.1c-11\n############################### [ 100% ]\nwarning: \/etc\/fabos\/rbac\/dynamic created as \/etc\/fabos\/rbac\/dynamic.rpmnew\nfabos-setup-7.4.1c-15\n############################### [ 100% ]\nfabos-drivers-7.4.1c-11\n############################### [ 100% ]\nfabos-libs-7.4.1c-11\n############################### [ 100% ]\nfabos-7.4.1c-16\n############################### [ 100% ]\nfabos-daemons-7.4.1c-4\n############################### [ 100% ]\nfabos-zoning-7.4.1c-10\n############################### [ 100% ]\nsqlite-3.2.2-4\n############################### [ 100% ]\ndhcpcd-1.4-4\n############################### [ 100% ]\ndhclient-1.1-1\n############################### [ 100% ]\nfabos-newdiag-7.4.1c-14\n############################### [ 100% ]\nfabos-vf-7.4.1c-10\n############################### [ 100% ]\nfabos-hmon-7.4.1c-10\n############################### [ 100% ]\nfabos-wwnhs-7.4.1c-10\n############################### [ 100% ]\nfabos-man-7.4.1c-13\n############################### [ 100% ]\nfabos-swbd72-7.4.1c-3\n############################### [ 100% ]\napache-2.4.6-10\n############################### [ 100% ]\nfastcgi-2.3-4\n############################### [ 100% ]\nfabos-webtools-7.4.1c-11\n############################### [ 100% ]\ntz-7.12-6\n############################### [ 100% ]\nmtracer-tool-2.4.20-13\n############################### [ 100% ]\nsysstat-5.0.5-8\n############################### [ 100% ]\nprom-440epx-1.0.11-1\nPlease avoid powering off the system during prom update.\n############################### [ 100% ]\nipv6-1.3-8\n############################### [ 100% ]\nawk-3.1.1-6\n############################### [ 100% ]\nipsec-1.1-1\n############################### [ 100% ]\nRemoving unneeded files, please wait ...\nFinished removing unneeded files.\n\ncreating the old storage file\nAll packages have been downloaded successfully.\nFirmware has been downloaded to the secondary partition of the switch.\nHA Rebooting ...<\/pre>\n<p>Done, enjoy, check.<\/p>\n<pre>switch_a:admin&gt; firmwareshow\nAppl Primary\/Secondary Versions\n------------------------------------------\nFOS v7.4.1c\n    v7.4.1c<\/pre>\n<p>Set access gateway for Blade switches, don&#8217;t forget. \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Craving for quick and dirty way for a Brocade fiber switch upgrade? Here goes&#8230;\u00a0<\/p>\n","protected":false},"author":1,"featured_media":359,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,7],"tags":[],"_links":{"self":[{"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/posts\/358"}],"collection":[{"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/comments?post=358"}],"version-history":[{"count":0,"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/posts\/358\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/media\/359"}],"wp:attachment":[{"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/media?parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/categories?post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spoton.cz\/index.php\/wp-json\/wp\/v2\/tags?post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}