Documente Academic
Documente Profesional
Documente Cultură
Supporting Fabric OS v4.x and 5.x Supporting SilkWorm 200E, 3250, 3850, 3900, 4100, 12000, 24000, and 48000
*53-1000039-02*
Publication Date: 11/16/2007
Copyright 2005, Brocade Communications Systems, Incorporated. ALL RIGHTS RESERVED. Publication Number: 53-1000039-02, Rev. A
Brocade, the Brocade B weave logo, Secure Fabric OS, and SilkWorm are registered trademarks of Brocade Communications Systems, Inc., in the United States and/or in other countries. FICON, IBM BladeCenter are registered trademarks of IBM Corporation in the U.S. and other countries. All other brands, products, or service names are or may be trademarks or service marks of, and are used to identify, products or services of their respective owners. Notice: The information in this document is provided AS IS, without warranty of any kind, including, without limitation, any implied warranty of merchantability, noninfringement or fitness for a particular purpose. Disclosure of information in this material in no way grants a recipient any rights under Brocade's patents, copyrights, trade secrets or other intellectual property rights. Brocade reserves the right to make changes to this document at any time, without notice, and assumes no responsibility for its use. The authors and Brocade Communications Systems, Inc. shall have no liability or responsibility to any person or entity with respect to any loss, cost, liability, or damages arising from the information contained in this book or the computer programs that accompany it. Notice: The product described by this document may contain open source software covered by the GNU General Public License or other open source license agreements. To find-out which open source software is included in Brocade products, view the licensing terms applicable to the open source software, and obtain a copy of the programming source code, please visit http://www.brocade.com/ support/oscd. Export of technical data contained in this document may require an export license from the United States Government.
Document History
The following table lists all versions of the Firmware Download Best Practice Notes. Document Title Firmware Download Best Practice Notes Firmware Download Best Practice Notes Firmware Download Best Practice Notes Publication Number 53-0000039-01 53-0000039-02 53-1000039-02, Rev. A Changes New document. Updated content. Added note on page 7 Publication Date June 2005 September 2005 November 2007
2 of 14
This document describes the best practices for upgrading firmware in a SilkWorm switch, and contains the following topics:
Preparing for Firmware Download next Firmware Download Recommendations on page 4 Single CP Firmware Download Procedure on page 6 Validating the Firmware Download on page 9 Troubleshooting on page 10 Configuration Forms on page 12
8. 9.
3 of 14
10. Enter the supportShow and supportSave commands (these commands are version dependent) to provide baseline information for advanced support. The supportShow command outputs a large amount of data that you can browse, and the supportSave command produces a file that can only be viewed by your switch service provider. Make sure that you enter the supportSave command on the standby CP (in SilkWorm 12000, 24000) as well. Note If you do not know the CP address, use the ipAddrShow command to view a list of all CP IP addresses associated with the switch. 11. Establish a telnet session with the standby CP and execute the saveCore (on both the active and standby CPs) and supportSave commands (versions v4.4.0 and later for supportSave) and remove all extra core files prior to executing the firmware download.
General Recommendations
Below are general recommendations when upgrading the firmware on a SilkWorm switch:
Before you enter the firmwareDownload command, read the release notes for the new firmware to find out if there are any firmware download issues. For advanced users who administer production environments, use firmwareDownload -s -n if you want to control the download process with more precision, and if:
You want to test drive a new version of firmware with the intension of restoring to the original firmware afterwards. The existing switch firmware is older than v4.1. The existing switch firmware and the test drive switch firmware are more than two releases apart. In a director switch, the two CPs have different versions of firmware. In a director switch, the two CPs are not in HA synchronization.
Brocade supports firmware upgrades within two feature releases (a feature release is a major release indicated by the second digit "Y" of the release number, for example, X.Y.Z); while upgrades of two releases is supported, single release upgrades are recommended. Following are the major upgrade versions for the Fabric OS:
On initial setup of a factory-delivered switch, make sure that all IP address have been set and the switch has been rebooted prior to running a firmware download.
4 of 14
If you get an error stating that the plist file cannot be found, make sure you have entered the path correctly. When you enter the firmwareDownload command, the root directory of the firmware distribution must be entered even though the directory does not contain a release.plist file. Also, review the release notes to ensure that your platform is supported for the release. Open a serial connection to the switch, and enable session logging during the firmware download to monitor the process. For improved support, use the serial console to perform the firmware upgrade or downgrade because additional realtime information is sent to the console (which can expedite problem diagnosis). Note that a serial console session is always CP-specific, whereas a telnet session always logs into the active CP.
If you encounter a cannot find .plist message, verify on the FTP server that the path to the firmware download archive is entered using the correct case (that is, the capitalization of directories used in the path). Verify that you can ping the FTP server from another host on the LAN, prior to running the upgrade. Disable any firewall or anti-virus applications on the FTP server. Remove any Ethernet hub between the FTP server and the switch. Optionally set the switch's autonegotiating Ethernet port to match the speed and duplex setting of the IP environment (for example, enter the ifModeSet command to change the switch settings to match both ends of the Ethernet link. Enter help ifModeSet and help ifModeShow on the switch to view more details about these commands). Enable session logging on the FTP server so that the log can be viewed during the execution of the firmwareDownload command. Set the FTP server's timeout value to sixty minutes. Ensure that the unzip process created SWBDxx folders in the main folder. If the files are unpacked without folder creation, then the firmwareDownload command will be unable to locate the .plist file.
Verify that you can use telnet to access each CP. Enter the ipAddrShow command to list all assigned IP addresses for the switch. Do not attempt to perform a firmware downgrade from 5.0.1 to 4.2.2 when you have a zone configuration larger than 128K. If test driving do not enable new features in a different version and then attempt to downgrade.The older firmware may not be able to handle the newer settings. If your fabric is set to the extended edge PID format and you want to downgrade to an older Fabric OS version that does not support extended edge, you must change the PID to a supported format. For more information about PID formats, refer to the Fabric OS Administrators Guide.
5 of 14
Use the haShow command to verify that your CPs are synchronized prior to running a firmware download. If the CPs are not in sync run the haSyncStart command. If the problem persists, review Troubleshooting on page 10; If the troubleshooting information fails to help you resolve the issue, contact your switch service provider. Open a serial connection to both CPs and enable session logging during the firmware download to monitor progress. Use the saveCore command to save any session log files and then delete them from the switch. Using the saveCore command is the only way to remove core files; in this way you can make more space available (To remove all core files in all directories, you can use the saveCore -R command). Use the supportSave command (v4.4.0 and above) to create a snapshot of the switch before starting a firmware download operation.
1. Prepare
a. b. c. Start a telnet session to the Brocade logical switch IP address. Enter the ipAddrShow command and note the address of CP0 and CP1. Enter the haShow command and note which CP is active and which CP is standby. Verify that both CPs are in sync. If the CPs are not in sync, refer to Troubleshooting on page 10. If you still cannot synchronize the CPs, contact your service provider. Enter the firmwareShow command and confirm that the current firmware on both partitions on both CPs is as expected. Exit the telnet session.
d. e.
6 of 14
c. d.
At this point the firmware should download to the standby CP only. When finished, enter the firmwareShow command to confirm that the secondary partition of the standby CP contains the new firmware. Enter the reboot command on standby CP. The telnet session is disconnected automatically. Note The message System going down for reboot now! appears, however the director is not shutting down. Do not be mislead by this messagethe director will reboot the standby CP only and the active CP will continue to pass traffic.
3. Failover to standby CP
a. b. c. d. e. f. Start a telnet session on the active CP. Enter the haShow command to get status of standby CP. Once the standby CP is reporting status, run the firmwareShow command to confirm the standby CP has new firmware in primary partition and previous firmware in the secondary partition. Enter the haShow command to verify that HA synchronization is complete. Enter the haFailover command. The telnet session is disconnected automatically. At this point the active and standby functions have changed CPs.
4. Verify failover
a. b. c. d. e. Start a telnet session on the active CP. Enter the haShow command and confirm the CP is in active role. Enter the haShow command until the standby CP is reporting. It will take a minute or two for the standby CP to reboot and synchronize with the active CP. Exit the telnet session. The upgraded (or downgraded) version of firmware is now running on the active CP (you can confirm this by entering the firmwareShow command). Also, make sure that servers using the fabric can access their storage devices.
7 of 14
c.
d. e.
Enter Y to perform a full install. Enter N to autocommit. Enter N to reboot the system.
At this point, the firmware should download to the standby CP only. After the firmware has been downloaded to the standby CP, enter the firmwareShow command to confirm that the secondary partition of standby CP contains the new firmware. Enter the reboot command on the standby CP. The telnet session is disconnected automatically. Note Stop! If you wish to restore the firmware, stop here and skip ahead to step 8; otherwise, continue to step 6 to commit the firmware on both CPs.
8 of 14
5. 6.
Verify that the compact flash usage is not above 90%. If the compact flash usage is above 90%, enter the saveCore command to clear any excess core files.
9 of 14
nsShow
Displays all devices directly connected to the switch that have logged into the Name Server. Make sure the number of attached devices after the firmware download is exactly the same as the number of attached devices prior to the firmware download. Displays all connected devices to a fabric. Make sure the number of attached devices after the firmware download is exactly the same as the number of attached devices prior to the firmware download. Displays all switches in a fabric. Make sure the number of switches in the fabric after the firmware download is exactly the same as the number of attached devices prior to the firmware download.
nsAllShow fabricShow
Troubleshooting
Good troubleshooting practices for firmware download should begin before you start the procedure, and include:
Keep all telnet session and serial console logs. Enter the supportSave (for Fabric OS v4.4.0 or 5.0.1; for Fabric OS 4.2 or earlier, enter supportShow) command after completion of the firmware download. Ensure that you save all support information gathered at the start of the procedure. If a problem persists, enter the supportSave command again, and package together all of the information (the telnet session logs and serial console logs, output from the supportSave command) for support.
10 of 14
The Troubleshooting chapter in the Fabric OS Administrators Guide for basic troubleshooting steps. Call your switch service provider.
The following section provides forms for recording configuration information prior to the firmware download. The port setting tables can be used on 16- and 32- port blades to record configuration information.
11 of 14
Configuration Forms
Use the following forms as a hardcopy reference for your configuration information. Table 1 SilkWorm Configuration and Connection
SilkWorm Configuration Settings IP address Gateway address chassisConfig Option Management Connections Serial cable tag Ethernet cable tag Configuration Information Domain ID Switch Name Ethernet IP Address Ethernet Subnetmask Total number of local devices (nsShow) Total number of devices in fabric (nsAllShow) Total number of switches in the fabric (fabricShow)
12 of 14
Table 2
FC Port Port Numbers Configuration 0 Device connected Speed Trunk Long Distance VC Link Init Locked L_Port Locked G_Port Disable E-Port MCast loopback Delay Flogi
ISL R_RDY
10
11
12
13
14
15
13 of 14
Table 3
FC Port Configuration
Device connected Speed Trunk Long Distance VC Link Init Locked L_Port Locked G_Port Disable E-Port MCast loopback Delay Flogi
ISL R_RDY
14 of 14