Вы находитесь на странице: 1из 0

2006 Brocade Communications Systems, Incorporated.

Revision CFP264 ILT 0806


Page 5-1
1
Brocade Education Services
Brocade

Product Training
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
CFP264
Brocade 4 Gbit/sec Accelerated BCFP
Instructor-Led Module 5
Switch & Firmware Maintenance
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-2
2
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Following this module and associated lab, an attendee
should be able to:
Backup and restore a switch configuration
Download firmware to a given switch
Please review supplemental appendix material
Objectives
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-3
3
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Archiving Switch Configuration
configupload
Saves the switch configuration as an ASCII text file to an
FTP server
Perform this anytime before and after the configuration
changess:
Zoning or Fabric Watch is modified
License keys are added
New switch is added to the fabric
Changes are made to switch configuration
Remove from FTP server to a secure location for security reasons
Ways to perform
CLI
Web Tools
Fabric Manager
This command uploads a current switch configuration to a host file on a FTP server. The
upload process uses either FTP (File Transfer Protocol) or the RSHD protocol (TCP service
514). Both of these services are widely available on Unix hosts, but less so on Windows
hosts. For security reasons it is recommended to remove the switch configuration file from
the FTP server to a secure location.
The command may be invoked without any parameters, in which case the user is prompted
for input, including choice or FTP or RSHD (VxWorks switches only). RSHD is not an
option on Linux based switches. In the case of VxWorks switches, if invoked from one
command line session (non-interactive) with three parameters then RSHD is used, the
presence of the fourth parameter (FTP password) selects FTP. Here is an example from of
an interactive session on a VxWorks switch:
rsl1_st07_b38_1:admin> configupload
Server Name or IP Address [host1] : 10.255.252.50
User Name [none] : anonymous
File Name [config.txt] : config.txt
Protocol (RSHD or FTP) [FTP] : ftp
Password :
upload complete
The upload may fail for many reasons:
- the host name is not known to the switch
- the host IP address can't be contacted
- the user doesn't have permission on the host
- the user runs a script that prints something at login
- the RSHD (VxWorks only) or FTP server isn't running on the destination host
Note: Opening the ASCII txt files in Microsoft Word could change formatting and cause the
file to become corrupt.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-4
4
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Archiving Switch Configuration
configupload Example
FTP
Server
configupload
RSL1_ST05_B41:admin> configupload
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 10.255.252.50
User Name [user]: configs
File Name [config.txt]: sw4100_st05_date.txt
Password:
Upload complete
Management
Server
txt file
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-5
5
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Archiving Switch Configuration
configupload ASCII Text File Contents
[Switch RSL1_ST05_B41 configuration saved on Jun 13 04:30:47]
[Boot Parameters]
boot.name:RSL1_ST05_B41
boot.ipa:10.255.248.153:ffffff00
boot.mac:10:00:00:05:1e:02:a5:49
boot.device:fei
boot.server.name:host
boot.server.ipa:
boot.gateway.ipa:10.255.248.190
boot.user:user
boot.file:/usr/switch/firmware
[Licenses]
bQeSzScRdechjT0N
cRe9ecRzSe7SfAff
<truncated output>
fabric.domain:7
fabric.ididmode:0
fabric.ops.BBCredit:16
fabric.ops.E_D_TOV:2000
fabric.ops.R_A_TOV:10000
fabric.ops.dataFieldSize:2112
fabric.ops.max_hops:7
fabric.ops.mode.fcpProbeDisable:0
fabric.ops.mode.isolate:0
fabric.ops.mode.longDistance:0
fabric.ops.mode.noClassF:0
fabric.ops.mode.pidFormat:1
<truncated output>
The Boot Parameters (boot.xxx) are uploaded for information only.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-6
6
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Downloads ASCII text file from an FTP server to the switch
When to perform
Switch replacement
Restore switch settings
Replicate Fabric Watch profiles
Restore SNMP settings
Restore zoning
Boot parameters are not restored (switch name, IP
address, etc.)
A license key is only accepted if boot.mac line = WWN
Restoring Switch Configuration
configdownload
FTP
Server
configdownload
Switch
must be
disabled
txt file
Management
Server
This command downloads the switch configuration from a host file. The
configuration file may have been generated previously using configupload
or may have been created by a user to download only specific configuration
changes.
rsl1_st07_b41_1:admin> switchdisable
rsl1_st07_b41_1:admin> configdownload
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 10.255.252.50
User Name [user]: configs
File Name [config.txt]: config.txt
Password:
*** CAUTION ***
This command is used to download a backed-up configuration
for a specific switch. If using a file from a different
switch, this file's configuration settings will override
any current switch settings. Downloading a configuration
file, which was uploaded from a different type of switch,
may cause this switch to fail. A switch reboot might be
required for some parameter changes to take effect.
Do you want to continue [y/n]: y
download completed.
Note: you must re-enable the switch to see the effects of the configuration
changes.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-7
7
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Secure File Copy Protocol (SCP)
In Fabric OS v4.4 and above, SCP is a new protocol that is available for
upload and download tasks
Provides full data encryption
Focused on configuration files, not firmware downloads
Can be enforced via the configure command
RSL1_ST05_B41:admin> configure
Not all options will be available on an enabled switch.
To disable the switch, use the "switchDisable" command.
Configure...
System services (yes, y, no, n): [no]
ssl attributes (yes, y, no, n): [no]
http attributes (yes, y, no, n): [no]
snmp attributes (yes, y, no, n): [no]
rpcd attributes (yes, y, no, n): [no]
cfgload attributes (yes, y, no, n): [no] y
Enforce secure config Upload/Download (yes, y, no, n): [no] y
The Secure File Copy protocol (SCP) allows files to be transferred between
a Fabric OS v4.4+ switch and a SSH client with full data encryption. In all
cases, SCP is offered in parallel with the more-traditional FTP protocol.
To ensure security, Fabric OS supports secure shell (SSH) encrypted
sessions. SSH encrypts all messages, including the login password. Fabric
OS v4.4 includes an SSH daemon (sshd), and supports a wide variety of
encryption algorithms (including Blowfish-CBC and AES). Commands that
require a secure login channel must be issued from an original SSH session.
If you start an SSH session, then use the login command to start a nested
SSH session, commands that require a secure channel will be rejected.
SCP is supported with the Fabric OS commands configdownload and
configupload. As needed, each command prompts the user for the
password (if necessary).
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-8
8
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Firmware Maintenance
There are differences in maintaining firmware between
VxWorks-based switches and Linux-based switches:
New firmware always;
old firmware may be
retained
New firmware only
Firmware in Flash,
post-reboot
v4.x, v5.x v2.x, v3.x Firmware versions
New and old firmware
both retained
New firmware only
(old firmware
overwritten)
Firmware in Flash,
post-download
FTP only RSH, FTP Download utilities
A set of Linux package
files (RPMs)
A single binary file Firmware organization
Linux-based
switches
VxWorks-based
switches
Description
The format of the Fabric OS firmware has been adapted to suit the
Linux kernel. Firmware is downloaded as a series of RPM (Red Hat
Package Manager) files that can be installed as needed.
To improve the security of Fabric OS downloads, only FTP is supported
with Fabric OS v4.x.
After the firmware download is completed and a subsequent reboot has
been performed, the new version of firmware is retained while the old
version may optionally be retained. This is controlled through the
firmware commitment process (more about this later).
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-9
9
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Firmware Maintenance
Firmware Download Considerations
Read the release notes for any issues relating to firmware
download
Upgrades by more than two releases are not supported
v4.0.x v4.1.x v4.2.x v4.4.x v5.0.x v5.1.x
Supported
Not Supported
X
v4.0.x v4.1.x v4.2.x v4.4.x v5.0.x v5.1.x
Supported Step 1
Step 2
Brocade does not support upgrades from more than two previous releases.
For example, upgrading from v4.0.0 to v4.2.0 is supported but upgrading
from v4.2.0 to v5.1.0 is not. A supported upgrade would be to first do an
upgrade from v4.2.0 to v5.0.1, then do an upgrade from v5.0.1 to v5.1.0.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-10
10
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Firmware Maintenance
Obtaining the Appropriate Release
Before downloading firmware to a SilkWorm switch or
Director, identify the release that is appropriate for the
environment
Any VxWorks-based switches?
What other switches are connected in the fabric?
Consult your support provider to obtain the appropriate
firmware release
While firmware version and compatibility information is available from other
sources, including Brocade Connect and the firmware release notes, always
follow the recommendations of your support provider. They have carefully
tested the firmware according to their specific SAN design recommendations
and may not support other versions of firmware.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-11
11
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Firmware Scalability Support
v5.0.1 200E, 48000
Using Secure
Fabric OS
v5.1.0 4900
v5.0.1
3850, 3900, 4100,
12000, 24000
2300 56 2560
v4.2.0 3250, 3850, 24000
v4.2.0 3900, 12000
v3.1.2 3200, 3800
1200 44 1280
v4.1.0 3900, 12000
v3.1.0 3200, 3800
v2.6.1 2000 Series
728 32 832
v5.1.0 4900
v5.0.1 200E, 48000
v4.4.0
3850, 3900, 4100,
12000, 24000
2300 56 2560
v4.2.0 3250, 3850, 24000
v4.1.0 3900, 12000
v3.1.2 3200, 3800
1200 44 1280
v4.0.1 3900, 12000
v3.0.2 3200, 3800
v2.6.0 2000 Series
728 32 832
No use of
Secure Fabric
OS
Minimum
Fabric OS
Switch Platform SAN Devices Domains Fabric Ports Secure SAN
Support
This table indicates the minimum version of the FOS needed by the
SilkWorm switch platform.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-12
12
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Firmware Maintenance
Preparing for Download
The firmware package is a zipped file (*.zip or
*.tar.gz)
Because firmware downloads are performed via FTP,
place the package on an FTP server
Decompress the firmware using the UNIX gzip command or a
Windows unzip program
Server should provide read access to the user account used in the
download operation (write access is not needed)
To ensure a successful firmware download operation, the
FTP server should have LAN access to all switches in the
SAN
Ensures that firmware downloads can be performed as required
The firmware download, boot and commit for a dual-CP
director can take up to 30 minutes to complete
The File Transfer Protocol (FTP) is used in downloading firmware to a
SilkWorm switch or Director.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-13
13
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Firmware Maintenance
VxWorks-based Switches
Firmware downloaded from management station to switch
FOS v3.x is for SilkWorm 3200 and 3800 switches only
Transport protocols are rshd or FTP (preferred)
Switch must be rebooted after firmware download with the
fastboot or reboot command
Download using CLI, Web Tools or Fabric Manager
Switch will beacon during a firmware download
Can be run interactively or as a single command
sw3800:admin> firmwaredownload host, user, file,
password
A firmware download is a one way process that requires the switch be
restarted in order for the new code to become active. After downloading
firmware, the firmware version should be verified with firmwareshow
and with the command version after the switch has re-initialized from
the switch restart.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-14
14
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
sw3800:admin> firmwaredownload
Server Name or IP Address [host]: 10.255.250.11
User Name [user]: anonymous
File Name [/usr/switch/firmware]: /firmware/v3.x/v3.1.0
Protocol (RSHD or FTP) [rshd]: ftp
Password:
DO NOT power cycle the switch!
writing flash 0 ........................................
writing flash 1 ........................................
download complete
sw3800:admin> fastboot
Firmware Maintenance
VxWorks Firmware Download Example
Notice that there are two banks of flash, so that if one goes bad there is
another one as a backup.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-15
15
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Firmware Maintenance
Linux-based Switches
The Compact Flash memory is logically
partitioned into two equal-sized partitions
Partition size:
128 MB (SilkWorm 3900, 24000)
256 MB (SilkWorm 4100, 4900)
512 MB (SilkWorm 7500, 48000)
At boot, the firmware is loaded from the
Primary Partition
The other partition is identified as the
Secondary Partition
May hold current firmware or a past
version
Downloads begin with the Secondary
Partition
FOS v5.0.1 FOS v5.0.1
Primary
Partition
Secondary
Partition
Compact Flash
In the above example, the Primary Partition holds the version of firmware currently
running on this CP card (v5.0.1). The Secondary Partition holds the same revision
of Fabric OS firmware (v5.0.1). It could however, hold a previous version of the
firmware.
The previous version of firmware can be retained in the Secondary Partition if the
new firmware is not committed. If the previous firmware version is needed, it can be
restored from the Secondary Partition to the Primary Partition.
The size of the Compact Flash memory depends on the SilkWorm switch as noted
above.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-16
16
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Brocade SilkWorm Hot Code Activation
With Fabric OS v4.1 and above, while a new firmware
image is being activated, there is no disruption to end-to-
end Fibre Channel data flow
No loss of light
No dropped frames
No retries
No timeouts
Once routes are established the FOS is no longer required
for data flow
Fabric and management services are unavailable (quiet
period)
Less than 4 seconds for dual-CP directors
Less than 50 seconds for other switch types
For a SilkWorm 7500 or FR4-18i blade
GbE traffic is disrupted for about 30 seconds
Hot code activation (HCA) is one of the features starting with Fabric OS
v4.1.0. The defining characteristic of hot code activation is that while a new
firmware image is being activated on a switch there is no disruption of end-
to-end data flow between the hosts and storage devices. No disruption
means no dropped frames, no retries, and no time-outs. The ASICs on the
switch continue to process frames while the new firmware is being activated.
Hosts that are logged into their targets will never be aware that anything has
happened.
A redundantly configured SilkWorm Director can pass control to its standby
Control Processor as part of the firmware activation. Critical fabric services
are available in about 2 seconds, with all fabric and management services
fully available in less than ten seconds. The SilkWorm 3900, with only one
Control Processor, must shutdown and reboots Linux as part of the HCA
process. This process completes in less than 60 seconds, with the critical
fabric services available in about 50 seconds.
For the SilkWorm 7500 or FR4-18i blade, the GbE port hardware is reloaded
during the firmware download. This requires about 30 seconds to load and
reset the hardware.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-17
17
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
1. The firmwaredownload command is entered
2. Firmware is downloaded to Secondary Partition
3. Primary and Secondary boot pointers are swapped
4. CP boots from firmware in new Primary Partition
5. Firmware in Primary Partition is committed to Secondary
6. Download complete!
SilkWorm Single CP Switch
Firmware Download Internal Process
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-18
18
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Single-CP Switch
Current Firmware Status
Compact Flash
v5.0.1 v5.0.1
Primary
Partition
Secondary
Partition
Running in
Switch RAM
v5.0.1
The firmware download process for a single-CP switch is less complex than for
the SilkWorm directors.
The flash is divided into two equal size partitions. The version of the firmware
running on the switch is in the Primary Partition and another version of firmware
is kept in the Secondary Partition. The version in the Secondary can be the
same as the Primary or different.
The following slides will illustrate the individual steps that occur when a
firmwaredownload command is issued.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-19
19
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Single-CP Switch
Issue firmwaredownload Command
Compact Flash
Primary
Partition
Secondary
Partition
firmwaredownload
10.255.23.43,admin,/v5.x/5.1.0/release.plist,password
Running in
Switch RAM
v5.0.1 v5.0.1
v5.0.1
The firmwaredownload command is issued to download Fabric OS version
5.1.0.
The default firmwaredownload options are automatically executed. The
default settings are to auto-reboot and auto-commit. If the -s option is used and
auto-boot mode is not enabled, a reboot command must be issued to activate
the downloaded firmware. If the -s option is used and auto-commit mode is not
enabled, a firmwarecommit command must be issued to replicate the
downloaded firmware to the Secondary Partition.
Current status:
Firmware v5.0.1 is in the Primary Partition and has been committed to the
Secondary Partition.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-20
20
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Single-CP Switch
Firmware Downloaded to Secondary Partition
Compact Flash
Primary
Partition
Secondary
Partition
Running in
Switch RAM
v5.0.1 v5.0.1
v5.0.1
v5.1.0
The firmware is downloaded into the Secondary Partition.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-21
21
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Single-CP Switch
Primary and Secondary Pointers are Swapped
Compact Flash
Primary
Partition
Secondary
Partition
Running in
Switch RAM
v5.0.1 v5.0.1
v5.0.1
v5.1.0
Upon completion of the download, the Secondary Partition becomes the Primary
and the Primary Partition becomes the Secondary.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-22
22
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Single-CP Switch
New Firmware Reboots
Compact Flash
Primary
Partition
Secondary
Partition
Running in
Switch RAM
v5.0.1
v5.0.1
v5.1.0
v5.1.0
After rebooting, version 5.1.0 is now running on the switch.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-23
23
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Single-CP Switch
New Firmware Commits
Compact Flash
v5.1.0
Primary
Partition
Secondary
Partition
Running in
Switch RAM
v5.1.0
v5.0.1 v5.1.0
The firmware in the Primary Partition is committed to the Secondary Partition.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-24
24
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Single-CP Switch
Firmware Download is Complete
Compact Flash
v5.1.0 v5.1.0
Primary
Partition
Secondary
Partition
Success!
Running in
Switch RAM
v5.1.0
The results of firmwaredownload are:
sw4100:admin> firmwareshow
Primary version: v5.1.0
Secondary version: v5.1.0
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-25
25
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Displaying Control Processor Status
firmwareshow
Before invoking a firmwaredownload on a dual CP director verify that
the CPs are in sync and the firmware versions match
Issue the firmwareshow and hashow commands
SW48000:admin> firmwareshow
Local CP (Slot 5, CP0): Active
Primary partition: v5.0.3
Secondary Partition: v5.0.3
Remote CP (Slot 6, CP1): Standby
Primary partition: v5.0.3
Secondary Partition: v5.0.3
Note: If Local CP and Remote CP have different
versions of firmware, please retry
firmwaredownload command.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-26
26
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
hashow
Displays status of the Local and Remote CPs
Displays status of High Availability, Heartbeat, and
synchronization
Verify that all are enabled, up, and/or synchronized
Active CP now indicates the status of the most recent HA
failover
Non-disruptive failover (warm recovery)
Disruptive failover (cold recovery)
SW48000:admin> hashow
Local CP (Slot 5, CP0): Active, Warm Recovered
Remote CP (Slot 6, CP1): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
The hashow command output may include one of the following four
messages:
Warm Recovered The SilkWorm 48000 is on-line, and the most
recent CP failover was non-disruptive.
Warm-Recovering The SilkWorm 48000 is currently completing
a non-disruptive failover.
Cold Recovered The SilkWorm 48000 is on-line, and the most
recent CP failover was disruptive.
Cold-Recovering The SilkWorm 48000 is currently completing
a disruptive failover.
In the example above, CP0 is the Active CP. The most recent failover was
non-disruptive (Warm Recovered).
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-27
RSL_48K8:admin> firmwaredownload
This command will upgrade both CPs in the switch. If you want to
upgrade a single CP only, please use -s option.
You can run firmwareDownloadStatus to get the status of this
command.
This command will cause the active CP to reset and will require
that existing telnet, secure telnet or SSH sessions be restarted.
Do you want to continue [Y]: y
Server Name or IP Address: 10.255.253.43
User Name: root
File Name: /training/firmware/v5.x/v5.1.0/release.plist
Password:
Firmwaredownload has started on Standby CP. It may take up to 30
minutes.
Firmwaredownload has completed successfully on Standby CP.
Standby CP reboots.
Standby CP booted up.
Standby CP booted up with new firmware.
Rather than specifying a single binary file for the firmware, you specify a single text file
release.plist that contains pointers to the dozens of RPM files that comprise the SilkWorm
12000, 24000 or 48000 firmware which is located in two different subdirectories. When you unzip
or gzip the compressed Fabric OS firmware, the RPM files are placed in a directory that is
named for the release level of the firmware (for example, /v5.1.0). When downloading
firmware, the pathname should include this directory (/v5.1.0/release.plist); the actual
release.plist file, however, will not actually reside in this directory. It will be in the
appropriate switch related subdirectory.
27
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
1. firmwaredownload command is entered on Active CP
2. Firmware is downloaded to Standby CP
3. Standby CP reboots
4. Failover causes Active and Standby CPs to reverse roles
5. Firmware is downloaded to new Standby CP
6. New Standby CP reboots, commits firmware
7. New Active CP commits firmware
8. Download complete!
SilkWorm Director
Firmware Download Internal Process
release.plist file
actually resides in a
switch type related
subdirectory
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-28
28
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Current Firmware Status
CP0
CompactFlash
CP1
CompactFlash
v5.0.1 v5.0.1 v5.0.1 v5.0.1
Active CP Standby CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Running on
CP0
Running on
CP1
v5.0.1 v5.0.1
.
The firmware download process for a SilkWorm Directors is more complex than
the other SilkWorm switches. It has dual Control Processor cards (CP0 and
CP1) with one performing an active role and the other a standby role.
Each CP card has a Compact Flash card that holds the Fabric OS firmware.
The flash is divided into two equal size partitions. The version of the firmware
controlling the switch is in the Primary Partition and another version of firmware
is kept in the Secondary Partition. The version in the Secondary can be the
same as the Primary or different.
It is these factors that make the firmware process more complex. The following
slides will illustrate the individual steps that occur when a firmwaredownload
command is issued.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-29
29
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Download Firmware v5.1.0
CP0
Compact Flash
CP1
Compact Flash
Active CP Standby CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
firmwaredownload
10.255.23.43,admin,/v5.x/5.1.0/release.plist,password
Running on
CP0
Running on
CP1
v5.0.1 v5.0.1 v5.0.1 v5.0.1
v5.0.1 v5.0.1
The firmwaredownload command is issued from the Active CP to download Fabric
OS version 5.1.0.
The default firmwaredownload options are automatically executed. The default
settings are to auto-reboot and auto-commit. If the -s option is used and auto-boot
mode is not enabled, a reboot command must be issued to activate the downloaded
firmware. If the -s option is used and auto-commit mode is not enabled, a
firmwarecommit command must be issued to replicate the downloaded firmware to
the Secondary Partition.
Current status:
The Active CP is CP0; the Standby CP is CP1.
Firmware v5.0.1 is in the Primary Partition and is committed to the Secondary
Partition on both CP cards.
The firmwareshow command issued from the current standby CP will have this
output (notice that the Secondary Partition is being written)
RSL_48K8:admin> firmwareshow
Local CP (Slot 6, CP1): Standby
Primary partition: v5.0.1
Secondary Partition: Version is not available
Remote CP (Slot 5, CP0): Active
Primary partition: v5.0.1
Secondary Partition: v5.0.1
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-30
30
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Active CP Instructs Standby CP to Perform Download
CP0
Compact Flash
CP1
Compact Flash
Active CP Standby CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Firmware
download
Running on
CP0
Running on
CP1
v5.1.0
v5.0.1 v5.0.1 v5.0.1 v5.0.1
v5.0.1 v5.0.1
The Active CP instructs the Standby CP to perform a firmware download of version
5.1.0.
The firmware is downloaded into the Secondary Partition. Upon completion, the
Secondary Partition becomes the Primary and the Primary Partition becomes the
Standby.
If the Standby CP does not respond within 10 minutes, the Active CP will time out and
abort the command.
As mentioned above, we perform all SilkWorm Directors firmware downloads to the
Standby CP card.
Before the firmware download process begins, Fabric OS checks to see that
both CP cards are running the same version of Fabric OS. If they are running
different versions, you will have to update each CP card separately.
Before proceeding from this step, new firmware should be downloaded to the
standby CP. The Standby CP should send a status=OK to the Active CP, Active
CP will respond with reboot instructions and then the Standby will begin the
reboot.
The results of the firmwaredownloadstatus command, issued from the standby CP
appears as follows:
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:53 2005
cp0: Firmwaredownload has started on Standby CP. It may take up to 30
minutes.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-31
31
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Standby CP Notifies Active CP Download Successful
CP0
Compact Flash
CP1
Compact Flash
v5.1.0
Active CP Standby CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Status = OK
Running on
CP0
Running on
CP1
v5.0.1 v5.0.1 v5.0.1
v5.0.1 v5.0.1
Upon successful completion of the firmware download, the Standby CP returns
status to the Active CP.
The results of the firmwaredownloadstatus command issued from current
Standby CP are:
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:53 2005
cp0: Firmwaredownload has started on Standby CP. It may take up
to 30 minutes.
[1]: Thu Aug 28 20:07:15 2005
cp0: Firmwaredownload has completed successfully on Standby CP.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-32
32
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Active CP Instructs Standby CP to Reboot
CP0
Compact Flash
CP1
Compact Flash
v5.1.0
Active CP Standby CP
Primary
Partition
Secondary
Partition
Reboot
Primary
Partition
Secondary
Partition
Running on
CP0
Running on
CP1
v5.0.1 v5.0.1 v5.0.1
v5.0.1 v5.0.1
v5.1.0 v5.1.0
If the return status is OK, the Active CP instructs the Standby CP to reboot.
After reboot, version 5.1.0 is now running on CP1 (and is still the Standby).
If it doesnt receive a heartbeat from the Standby CP within 4 minutes, the
Active CP will time out and abort the command.
The results of the firmwaredownloadstatus command issued from current
Standby CP are:
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:53 2005
cp0: Firmwaredownload has started on Standby CP. It may take up
to 30 minutes.
[1]: Thu Aug 28 20:07:15 2005
cp0: Firmwaredownload has completed successfully on Standby CP.
[2]: Thu Aug 28 20:07:18 2005
cp0: Standby CP reboots.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-33
33
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Standby CP Synchronizes with Active CP
CP0
Compact Flash
CP1
Compact Flash
Active CP Standby CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Heartbeat
Running on
CP0
Running on
CP1
v5.1.0
v5.1.0 v5.1.0
v5.0.1 v5.0.1 v5.0.1
v5.0.1
After reboot, the Standby CP synchronizes with the Active CP by a heartbeat
signal. The output of the firmwaredownloadstatus command:
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:54 2005
cp0: Firmwaredownload has started on Standby CP. It may take up to
30 minutes.
[1]: Thu Aug 28 20:07:15 2005
cp0: Firmwaredownload has completed successfully on Standby CP.
[2]: Thu Aug 28 20:07:18 2005
cp0: Standby CP reboots.
[3]: Thu Aug 28 20:10:13 2005
cp0: Standby CP booted up
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-34
34
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Active CP Initiates Failover
CP0
Compact Flash
CP1
Compact Flash
Active CP Standby CP
Primary
Partition
Secondary
Partition
Failover
Primary
Partition
Secondary
Partition
Running on
CP0
Running on
CP1
v5.1.0
v5.1.0 v5.1.0
v5.0.1 v5.0.1 v5.0.1
v5.0.1
The Active CP is ready to initiate a failover to the Standby CP.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-35
35
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Standby CP and Active CP Exchange Roles
CP0
Compact Flash
CP1
Compact Flash
Active CP Standby CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Active CP Standby CP
Running on
CP0
Running on
CP1
v5.1.0
v5.1.0 v5.1.0
v5.0.1 v5.0.1 v5.0.1
v5.0.1
Failover will cause the Standby CP to become the Active and the Active CP to become the
Standby. Notice the hashow, still synchronized output:
RSL_48K8:admin> hashow
Local CP (Slot 5, CP0): Standby
Remote CP (Slot 6, CP1): Active
HA enabled, Heartbeat Up, HA State synchronized
Notice firmwareshow, issued from standby CP shows the new Active CP, Primary Partition and
Secondary Partition firmware status:
RSL_48K8:admin> firmwareshow
Local CP (Slot 5, CP0): Standby
Primary partition: v5.0.1
Secondary Partition:Version is not available
Remote CP (Slot 6, CP1): Active
Primary partition: v5.1.0
Secondary Partition:v5.0.1
Here is the same command issued from Active CP:
RSL_48K8:admin> firmwareshow
Local CP (Slot 6, CP1): Active
Primary partition: v5.1.0
Secondary Partition:v5.0.1
Remote CP (Slot 5, CP0): Standby
Primary partition: v5.0.1
Secondary Partition:Version is not available
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-36
36
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Standby CP Synchronizes with Active CP
CP0
Compact Flash
CP1
Compact Flash
Standby CP Active CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Heartbeat
Running on
CP0
Running on
CP1
v5.1.0
v5.1.0 v5.1.0
v5.0.1 v5.0.1 v5.0.1
v5.0.1
NOTE: From this slide forward, the Active CP refers to CP1 and the Standby
CP refers to CP0.
The Active CP waits for the Standby CP to synchronize with a heartbeat
signal. This indicates failover has completed. Notice the firmware download
status at this time:
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:53 2005
cp0: Firmwaredownload has started on Standby CP. It may take up
to 30 minutes.
[1]: Thu Aug 28 20:07:15 2005
cp0: Firmwaredownload has completed successfully on Standby CP.
[2]: Thu Aug 28 20:07:18 2005
cp0: Standby CP reboots.
[3]: Thu Aug 28 20:10:14 2005
cp0: Standby CP booted up.
[4]: Thu Aug 28 20:13:04 2005
cp1: Active CP forced failover succeeded. Now this CP becomes
Active.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-37
37
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Active CP Instructs Standby CP to Perform Download
CP0
Compact Flash
CP1
Compact Flash
Standby CP Active CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Firmware
download
Running on
CP0
Running on
CP1
v5.0.1 v5.0.1 v5.0.1
v5.0.1
v5.1.0
v5.1.0 v5.1.0
v5.1.0
The Active CP instructs the Standby CP to perform a firmware download of
version 5.1.0.
The firmware is downloaded into the Secondary Partition. Upon completion, the
Secondary Partition becomes the Primary and the Primary Partition becomes the
Secondary.
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:54 2005
cp0: Firmwaredownload has started on Standby CP. It may take up to 30
minutes.
[1]: Thu Aug 28 20:07:15 2005
cp0: Firmwaredownload has completed successfully on Standby CP.
[2]: Thu Aug 28 20:07:18 2005
cp0: Standby CP reboots.
[3]: Thu Aug 28 20:10:13 2005
cp0: Standby CP booted up.
[4]: Thu Aug 28 20:13:04 2005
cp1: Active CP forced failover succeeded. Now this CP becomes Active.
[5]: Thu Aug 28 20:13:07 2005
cp1: Firmwaredownload has started on Standby CP. It may take up to 30
minutes.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-38
38
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Standby CP Notifies Active CP Download Successful
CP0
Compact Flash
CP1
Compact Flash
Standby CP Active CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Status = OK
Running on
CP0
Running on
CP1
v5.0.1 v5.0.1
v5.0.1
v5.1.0
v5.1.0 v5.1.0
v5.1.0
Upon successful completion of the firmware download, the Standby CP returns
status to the Active CP. Current outputs as this process occurs:
RSL_48K8:admin> hashow
Local CP (Slot 6, CP1): Active
Remote CP (Slot 5, CP0): Standby, Healthy
HA enabled, Heartbeat Up, HA State not in sync
RSL_48K8:admin> hashow
Local CP (Slot 6, CP1): Active
Remote CP (Slot 5, CP0): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-39
39
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Active CP Instructs Standby CP to Reboot and Commit
CP0
Compact Flash
CP1
Compact Flash
Standby CP Active CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Reboot,
Commit
Running on
CP0
Running on
CP1
v5.0.1 v5.0.1
v5.0.1
v5.1.0
v5.1.0 v5.1.0
v5.1.0
If the return status is OK, the Active CP instructs the Standby CP to reboot and
perform a commit of the firmware.
RSL_48K8:admin> hashow
Local CP (Slot 6, CP1): Active
Remote CP (Slot 5, CP0): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:54 2005
cp0: Firmwaredownload has started on Standby CP. It may take up to 30
minutes.
[1]: Thu Aug 28 20:07:15 2005
cp0: Firmwaredownload has completed successfully on Standby CP.
[2]: Thu Aug 28 20:07:18 2005
cp0: Standby CP reboots.
[3]: Thu Aug 28 20:10:13 2005
cp0: Standby CP booted up.
[4]: Thu Aug 28 20:13:04 2005
cp1: Active CP forced failover succeeded. Now this CP becomes Active.
[5]: Thu Aug 28 20:13:07 2005
cp1: Firmwaredownload has started on Standby CP. It may take up to 30
minutes.
[6]: Thu Aug 28 20:18:41 2005
cp1: Firmwaredownload has completed successfully on Standby CP.
[7]: Thu Aug 28 20:18:43 2005
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-40
40
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Standby CP Reboots
CP0
Compact Flash
CP1
Compact Flash
Standby CP Active CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Running on
CP0
Running on
CP1
v5.0.1 v5.0.1
v5.0.1
v5.1.0
v5.1.0 v5.1.0
v5.1.0
v5.1.0
After reboot, version 5.1.0 is now running on CP0.
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:54 2005
cp0: Firmwaredownload has started on Standby CP. It may take up
to 30 minutes.
[1]: Thu Aug 28 20:07:15 2005
cp0: Firmwaredownload has completed successfully on Standby CP.
[2]: Thu Aug 28 20:07:18 2005
cp0: Standby CP reboots.
[3]: Thu Aug 28 20:10:13 2005
cp0: Standby CP booted up.
[4]: Thu Aug 28 20:13:04 2005
cp1: Active CP forced failover succeeded. Now this CP becomes
Active.
[5]: Thu Aug 28 20:13:07 2005
cp1: Firmwaredownload has started on Standby CP. It may take up
to 30 minutes.
[6]: Thu Aug 28 20:18:41 2005
cp1: Firmwaredownload has completed successfully on Standby CP.
[7]: Thu Aug 28 20:18:43 2005
cp1: Standby CP reboots.
[8]: Thu Aug 28 20:22:02 2005
cp1: Standby CP booted up with new firmware.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-41
41
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Standby CP Commits Firmware
CP0
Compact Flash
CP1
Compact Flash
v5.1.0
Standby CP Active CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Running on
CP0
Running on
CP1
v5.1.0
v5.0.1 v5.0.1 v5.1.0
v5.1.0 v5.1.0
v5.1.0
The firmware in the Primary Partition on the Standby CP is committed to the
Secondary Partition.
RSL_48K8:admin> firmwaredownloadstatus
[0]: Thu Aug 28 20:01:54 2005
cp0: Firmwaredownload has started on Standby CP. It may take up to 30
minutes.
[1]: Thu Aug 28 20:07:15 2005
cp0: Firmwaredownload has completed successfully on Standby CP.
[2]: Thu Aug 28 20:07:18 2005
cp0: Standby CP reboots.
[3]: Thu Aug 28 20:10:13 2005
cp0: Standby CP booted up.
[4]: Thu Aug 28 20:13:04 2005
cp1: Active CP forced failover succeeded. Now this CP becomes Active.
[5]: Thu Aug 28 20:13:07 2005
cp1: Firmwaredownload has started on Standby CP. It may take up to 30
minutes.
[6]: Thu Aug 28 20:18:41 2005
cp1: Firmwaredownload has completed successfully on Standby CP.
[7]: Thu Aug 28 20:18:43 2005
cp1: Standby CP reboots.
[8]: Thu Aug 28 20:22:02 2005
cp1: Standby CP booted up with new firmware.
[9]: Thu Aug 28 20:22:05 2005
cp1: Firmwarecommit has started on both Active and Standby CPs.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-42
42
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Active CP Commits Firmware
CP0
Compact Flash
CP1
Compact Flash
Standby CP Active CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
v5.1.0
Running on
CP0
Running on
CP1
v5.1.0
v5.0.1 v5.1.0
v5.1.0 v5.1.0
v5.1.0 v5.1.0
The firmware in the Primary Partition on the Active CP is committed to the
Secondary Partition.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-43
43
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm Director
Firmware Download is Complete
CP0
Compact Flash
CP1
Compact Flash
v5.1.0 v5.1.0 v5.1.0 v5.1.0
Standby CP Active CP
Primary
Partition
Secondary
Partition
Primary
Partition
Secondary
Partition
Success!
Running on
CP0
Running on
CP1
v5.1.0
v5.1.0
The results of firmwaredownload are:
RSL_48K8:admin> firmwareshow
Local CP (Slot 6, CP1): Active
Primary partition: v5.1.0
Secondary Partition: v5.1.0
Remote CP (Slot 5, CP0): Standby
Primary partition: v5.1.0
Secondary Partition: v5.1.0
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-44
44
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Displaying Firmware Download Events
firmwaredownloadstatus
Displays the event log that records the progress and status of the
current firmware download
This is a point in time display.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-45
45
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Displaying Firmware
firmwareshow
Displays the version of firmware
stored in the Primary and Secondary
Partitions
Director displays both CP cards
SW48K:admin> firmwareshow
Slot Name Primary/Secondary Versions Status
-----------------------------------------------------
5 CP0 v5.1.0 Active *
v5.1.0
6 CP1 v5.1.0 Standby
v5.1.0
Indicates CP
you are
connected to
The firmwareshow command is slightly different for versions prior to
FOS v5.1.0:
Pre-FOSv5.1_Director:admin> firmwareshow
Local CP (Slot 6, CP1): Active
Primary partition: v5.0.4a
Secondary Partition: v5.0.4a
Remote CP (Slot 5, CP0): Standby
Primary partition: v5.0.4a
Secondary Partition: v5.0.4a
Note: If Local CP and Remote CP have different
versions of firmware, please retry firmwaredownload
command.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-46
46
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Single-CP Download
firmwaredownload -s
By default, a firmware download performs a download,
reboot and commit of the new firmware
The s is for a single-CP download and permits other
operands to be selected
By default, autoreboot is disabled and autocommit is
enabled
Specify b to enable autoreboot
Specify n to disable autocommit
For directors, allows download to a single CP card and
control of when firmware is rebooted and committed
For switches, provides control of when firmware is rebooted
and committed
If the autoreboot is disabled then an hareboot command should be used
for a non-disruptive failover.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-47
47
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Committing Firmware
firmwarecommit
Commits the firmware in the
Primary Partition to the Secondary
Partition
Only appropriate when autocommit
was disabled during the firmware
download
No reboot occurs
SW48K:admin> firmwarecommit
Validating primary partition. . .
Doing firmwarecommit now.
Please wait . . .
Replicating kernel image
. . . . . . . . . . . . .
Firmwarecommit completes successfully.
FOS v5.0.1 FOS v5.1.0
Primary
Partition
Secondary
Partition
FOS v5.1.0
Compact Flash
Invoke the firmwarecommit command as part of a staged firmware
installation.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-48
48
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Restoring Firmware
firmwarerestore
Restores the firmware in the Secondary
Partition to the Primary Partition:
Swaps partition pointers
Reboots to make new Primary active on
the CP
Commits new Primary Partition to
Secondary
Only appropriate when autocommit was
disabled during the firmware download
FOS v5.0.1 FOS v5.1.0
Primary
Partition
Secondary
Partition
FOS v5.0.1
Secondary
Partition
Primary
Partition
SW48K:admin> firmwarerestore
Restore old image to be active . . .
Restore both primary and secondary image after
reboot.
The system is going down for a reboot now !!
Doing firmwarecommit now.
Please wait . . .
Compact Flash
If the previous firmware version is needed, it can be restored from the Secondary
Partition to the Primary Partition.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-49
49
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm 7500 & FR4-18i
Application Processor (AP) is the hardware and software
that together implement specific functions
Blade Processor (BP) is the control processor internal to the
AP which manages its overall function
Blade Fabric OS (BFabric OS) is the portion of the Fabric OS
firmware that runs on the BP
Blade Manager (BM) is the control firmware for the Blade
Processor
Auto-leveling is when the (Active) CP detects that the AP
contains a different version of the firmware, the AP firmware
is downloaded regardless of which version is older
The CP and AP must have identical versions of the
firmware
Application Processor is a generic term. The application implemented on the FR4-
18i is FC routing and FC over IP. Other blades may be developed that implement
other functions.
The FC4-16 and FC4-32 port cards are not Application Processors. They are
controlled entirely by the CP and the functions that are implemented do not require
any additional Fabric OS code.
Auto-leveling during firmware download.
If there is an FR4-18i blade present in a director: At the point of the
failover an auto-leveling process is activated. Auto-leveling is triggered when
the active CP detects the FR4-18i blade that contains a different version of
the firmware, regardless of which version is older. Auto-leveling downloads
firmware to the FR4-18i blade, swaps partitions, reboots the blade, and
copies the new firmware from the primary partition to the secondary partition.
If you have multiple FR4-18i blades, they are updated simultaneously;
however, the downloads can occur at different rates.
Auto-leveling takes place in parallel with the firmware download being
performed on the CPs, but does not have an affect on performance. Fibre
Channel traffic is not disrupted during auto-leveling, but GbE traffic is. Auto-
leveling does not apply to the FC4-16 and FC4-32 port cards.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-50
50
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
The firmware package contains multiple RPM packages,
including Fabric OS and the BFabric OS
Fabric OS and BFabric OS form a single image
In the image, CP firmware and AP firmware have the same version
number
When downloading firmware to a SilkWorm 7500 or a 48000
with a FR4-18i blade, use the standard firmwaredownload
command
The firmwaredownload command downloads Fabric OS and
BFabric OS
No separate commands or command-line options
A SilkWorm 7500 upgrades both the internal CP and AP
A SilkWorm 48000 upgrades both CPs and all FR4-18i blades in the
chassis
SilkWorm 7500 & FR4-18i
Firmware downloads
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-51
51
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
SilkWorm 48000 with FR4-18i Blade
firmwareshow
Displays the version of firmware stored in the Primary and
Secondary Partitions of both CP cards and the FR4-18i
blade
The FR4-18i is auto-leveled to the Primary partition on the
Active CP
SW48K:admin> firmwareshow
Slot Name Primary/Secondary Versions Status
-----------------------------------------------------
5 CP0 v5.1.0a Active *
v5.1.0
6 CP1 v5.1.0a Standby
v5.1.0
10 FR4-18i v5.1.0a Enabled
v5.1.0a
The example above was executed on the Active CP in a dual-CP SilkWorm
48000. Fabric OS v5.1.0a is installed on the Primary partitions of CP0 and
CP1. Fabric OS v5.1.0 is installed on the Secondary partitions of CP0 and
CP1. Fabric OS v5.1.0a is installed on both the Primary and Secondary
partitions of the FR4-18i blade in slot 10. Note: Both partitions on an FR4-18i
are always auto-leveled to the firmware on the Active CP, Primary partition.
When this command is executed on the Standby CP, only the CP cards are
displayed. The FR4-18i blades are not included in the firmwareshow
command output.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-52
52
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Summary
Switch settings are archived with the configupload
command
Switch settings can be restored with the configdownload
command
Firmware is managed by the firmwaredownload,
firmwarecommit and firmwarerestore commands
Please see the appendix of this module for supplemental
firmware download material
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-53
53
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
Review Questions
1. How can you determine what firmware is running on a switch?
2. What size is each partition of the Compact Flash on a SilkWorm 48000?
3. Firmware is first downloaded to which CP on a director?
4. Which parameters are not restored on a configdownload?
1 . v 3 . x - v e r s i o n c o m m a n d ; v 4 . x , v 5 . x v e r s i o n o r f i r m w a r e s h o w
c o m m a n d
2 . 5 1 2 M B
3 . S t a n d b y C P
4 . I P a d d r e s s , s w i t c h n a m e , W W N , e t c . ( a n y b o o t . p a r a m e t e r )
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-54
54
Brocade Education Services
Brocade

Product Training
2006 Brocade Communications Systems, Incorporated.
CFP264 ILT 0806
CFP264
Brocade 4 Gbit/sec Accelerated BCFP
End of Instructor-Led Module 5
Switch & Firmware Maintenance
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-55
Firmware Download to a dual-CP SilkWorm 48000 with a SilkWorm FR4-18i
Note: In this example, CP0 is the Standby CP, and CP1 is the Active CP. The director is running Fabric OS
v5.1.0_rc1. The firmware to be downloaded is v5.1.0_beta2.
The following are the messages sent to the console of CP0 (initially, the Standby CP) during the
firmware download.
NDA-ST01-B48:admin> hashow
Local CP (Slot 5, CP0): Standby
Remote CP (Slot 6, CP1): Active
HA enabled, Heartbeat Up, HA State synchronized
NDA-ST01-B48:admin> firmwareshow
Slot Name Primary/Secondary Versions Status
---------------------------------------------------------------
5 CP0 v5.1.0_rc1 Standby *
v5.1.0_rc1
6 CP1 v5.1.0_rc1 Active
v5.1.0_rc1
10 FR4-18i v5.1.0_rc1 Enabled
v5.1.0_rc1
Both CPs and the FR4-18i have v5.1.0_rc1 firmware.
Firmware Download started on Active CP1
NDA-ST01-B48:admin> firmwaredownload
Server Name or IP Address: 10.128.128.201
FTP User Name: ftp
File Name: /pub/firmware/v5.x/v5.1.0_beta2/release.plist
FTP Password:
You can run firmwaredownloadstatus to get the status
of this command.
This command will cause the switch to reset and will
require that existing telnet, secure telnet or SSH
sessions be restarted.
Do you want to continue [Y]: y
Checking system settings for firmwaredownload...
Start to install packages...
dir ##################################################
ldconfig ##################################################
glibc ##################################################
bash ##################################################
readline ##################################################
terminfo ##################################################
termcap ##################################################
fileutils ##################################################
textutils ##################################################
setup ##################################################
swbd21-setup ##################################################
which ##################################################
findutils ##################################################
bzip ##################################################
zlib ##################################################
chkconfig ##################################################
sed ##################################################
procps ##################################################
psmisc ##################################################
modutils ##################################################
sin ##################################################
rcinit ##################################################
misc ##################################################
pam ##################################################
util-linux ##################################################
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-56
sh-utils ##################################################
popt ##################################################
grep ##################################################
rpm ##################################################
sysvinit ##################################################
man ##################################################
less ##################################################
gzip ##################################################
tar ##################################################
rsync ##################################################
tftp-server ##################################################
telnet ##################################################
cpio ##################################################
dev ##################################################
bootenv ##################################################
wdtd ##################################################
wget ##################################################
fwdl ##################################################
swbd23-prom ##################################################
Please avoid powering off the system during prom update.
kernel ##################################################
sysklogd ##################################################
getty ##################################################
net-tools ##################################################
vixie-cron ##################################################
uucp ##################################################
binutils-libs ##################################################
binutils ##################################################
ksymoops ##################################################
portmap ##################################################
inetd ##################################################
iptables ##################################################
tcpd ##################################################
telnet-server ##################################################
rsh-server ##################################################
rsh ##################################################
openssl-libs ##################################################
openssh ##################################################
openssh-server ##################################################
rusers-server ##################################################
rdate ##################################################
logrotate ##################################################
ntp ##################################################
pciutils ##################################################
strace ##################################################
ftp ##################################################
ncftp ##################################################
sendmail ##################################################
iproute2 ##################################################
libxml2 ##################################################
fss ##################################################
fabos-setup ##################################################
fabos-drivers ##################################################
fabos-driversdev ##################################################
fabos-libs ##################################################
fabos-diag ##################################################
fabos-diagdev ##################################################
fabos-man ##################################################
fabos ##################################################
fabos-daemons ##################################################
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-57
fabos-zoning ##################################################
fabos-fw ##################################################
fabos-routing ##################################################
fabos-hmon ##################################################
fabos-wwnhs ##################################################
fabos-swbd42 ##################################################
mmlib ##################################################
apache ##################################################
fastcgi ##################################################
fabos-webtools ##################################################
tz ##################################################
mtracer-tool ##################################################
lkcd ##################################################
sysstat ##################################################
bpimage-swbd36 ##################################################
Writing kernel image into flash.
..............................
00000000 00020000 00040000 00060000 00080000 00
0a0000 000c0000 000e0000 00100000 00120000 0014
0000 00160000 00180000 001a0000 001c0000 001e00
00 00200000 00220000 00240000 00260000 00280000
002a0000 002c0000 002e0000 00300000 00320000
00340000 00360000 00380000 003a0000 Finished
writing kernel image.
Removing unneeded files, please wait ...
Finished removing unneeded files.
All packages have been downloaded successfully.
The initial Standby CP (CP0) reboots.
Standby CP is going to reboot now
Broadcast message from root Tue Feb 28 18:21:04 2006...
The system is going down for reboot NOW !!
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
2006/02/28-18:21:06, [FSSM-1003], 923,, WARNING, SilkWorm48000, HA State out of
sync
Unmounting all filesystems.
Please stand by while rebooting the system...
flushing ide devices: hda
Restarting system.
<NULL>
The system is coming up, please wait...
Read board ID of 0x8b from addr 0x23
Read extended model ID of 0x17 from addr 0x22
Matched board/model ID to platform index 5
Read board ID of 0x8b from addr 0x23
Read extended model ID of 0x17 from addr 0x22
Matched board/model ID to platform index 5
Checking system RAM - press any key to stop test
Checking memory address: 00100000
System RAM test using Default POST RAM Test succeeded.
Press escape within 4 seconds to enter boot interface.
Booting "Fabric Operating System" image.
Linux/PPC load:
BootROM command line: quiet
Uncompressing Linux...done.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-58
Now booting the kernel
Attempting to find a root file system on hda1...
INIT: version 2.78 booting
INIT: Entering runlevel: 3
eth0: Link status change: Link Up. 100 Mbps Half duplex Auto (autonegotiation
complete).
eth1: Link status change: Link Up. 100 Mbps Full duplex Auto (autonegotiation
complete).
eth2: Link status change: Link Up. 100 Mbps Full duplex Manual (forced).
Fabric OS (cp0)
cp0 console login:
gen_chk: primary switch configuration NOT EQUAL
gen_chk: Secondary switch configuration NOT EQUAL
before arb: wr=0x20,rd=0x45,cperr=0x4
after arb (2): wr=0x20,rd=0x45,cperr=0x4 (standby)
PCI: Enabling device 00:01.0 (0000 -> 0003)
PCI: Enabling device 00:02.0 (0000 -> 0003)
PCI: Enabling device 00:03.0 (0000 -> 0003)
Proxy: ip2ipc started (run=1, rc=0), debug=0
Proxy: ipc2ip started (rc=0)
2006/02/28-18:22:52, [HAM-1004], 924,, INFO, SilkWorm48000, Processor rebooted -
FirmwareDownload
Heartbeat Up
SNMP Research SNMP Agent Resident Module Version 15.3.1.4
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001 SNMP Research, Inc.
2006/02/28-18:23:09, [FCR-1069], 925,, INFO, NDA-ST01-B48, The FC Routing service
is enabled
sysctrld: all services Standby
---- em_hsm_bind_machine: slot:10 switching to sm<ap>
2006/02/28-18:22:16, [LOG-1000], 926,, INFO, NDA-ST01-B48, Previous message
repeated 1 time(s)
2006/02/28-18:22:16, [FSSM-1002], 927,, INFO, SilkWorm48000, HA State is in sync
Heartbeat Down
CP1, now the Standby CP, is reset.
2006/02/28-18:22:23, [PLAT-1001], 928,, INFO, SilkWorm48000, Resetting standby CP
(double reset may occur)
2006/02/28-18:22:23, [HAMK-1004], 929,, INFO, SilkWorm48000, Resetting standby CP
(dScan:ouble reset may occur)
2006/02/28-18:22:23, [FSSM-1003], 930,, WARNING, SilkWorm48000, HA State -1- out
of sync
-5- -6- -9- done!
CP0, is coming up as the Active CP.
Services starting a WARM recovery
Scan slot 10...
2006/02/28-18:22:25, [TRCK-1004], 931,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006/02/28-18:22:25, [ZONE-1022], 932,, INFO, NDA-ST01-B48, The effective
configuration has changed to CfgBB
2006/02/28-18:22:27, [TRCK-1004], 933,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-59
2006/02/28-18:22:28, [EM-1033], 934,, ERROR, SilkWorm48000, CP in Slot 6 set to
faulty because CP ERROR asserted
2006/02/28-18:22:28, [EM-1047], 935,, INFO, SilkWorm48000, CP in slot 6 not
faulty, CP ERROR deasserted
2006/02/28-18:22:28, [TRCK-1004], 936,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006/02/28-18:22:28, [LOG-1000], 940,, INFO, NDA-ST01-B48, Previous message
repeated 4 time(s)
The Active CP (CP0) recognizes the FR4-18i.
2006/02/28-18:22:29, [BM-1002], 941,, INFO, SilkWorm48000, Connection established
between CP and blade in slot 10
2006/02/28-18:22:30, [SULB-1021], 942,, WARNING, SilkWorm48000, Firmware is being
downloaded to the blade in slot 10.
2006/02/28-18:22:30, [BM-1004], 943,, INFO, SilkWorm48000, Blade firmware
5.1.0_rc1 on slot 10 is not consistent with system firmware Fabos Version
5.1.0_beta2
Auto-leveling FR4-18i firmware to match system firmware.
2006/02/28-18:22:30, [TRCK-1004], 944,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006/02/28-18:22:32, [LOG-1000], 952,, INFO, NDA-ST01-B48, Previous message
repeated 8 time(s)
eth1: Link status change: Link Down.
eth1: Link status change: Link Up. 100 Mbps Full duplex Auto (autonegotiation
complete).
Heartbeat Up
connect from 10.0.0.6:8000
setmodem.sh: WARNING: Can't detect any MODEM on ttyS1.
chassis0(0): Advance to next dumping 2
2006/02/28-18:23:27, [FSSM-1002], 953,, INFO, SilkWorm48000, HA State is in sync
Forced failover succeeded. New Active CP (CP0) is running new firmware
2006/02/28-18:23:29, [SULB-1006], 954,, INFO, SilkWorm48000, Forced failover
succeeded. New Active CP is running new firmware.
2006/02/28-18:23:29, [TRCK-1004], 955,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
Firmware is being download to standby CP. This step may take up to 30 minutes.
2006/02/28-18:23:36, [SULB-1001], 956,, WARNING, SilkWorm48000, Firmwaredownload
command has started.
2006/02/28-18:23:36, [SULB-1036], 957,, INFO, SilkWorm48000, The current Version:
Fabric OS v5.1.0_beta2
2006/02/28-18:23:36, [TRCK-1004], 958,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
Firmware download to FR4-18i blade in slot 10 started.
2006/02/28-18:24:03, [SULB-1025], 959,, WARNING, SilkWorm48000, The blade in slot
10 will reboot with the new firmware.
2006/02/28-18:24:03, [BL-1025], 960,, INFO, NDA-ST01-B48, All GigE/FCIP ports on
the blade in slot 10 will be reset as part of the firmware upgrade.
2006/02/28-18:24:03, [TRCK-1004], 961,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006/02/28-18:24:03, [LOG-1000], 962,, INFO, NDA-ST01-B48, Previous message
repeated 1 time(s)
sysctrld: all services Active
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-60
2006/02/28-18:24:46, [BM-1002], 963,, INFO, SilkWorm48000, Connection established
between CP and blade in slot 10
2006/02/28-18:24:47, [SULB-1026], 964,, WARNING, SilkWorm48000, Firmware commit
operation started on the blade in slot 10.
2006/02/28-18:24:48, [TRCK-1004], 965,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006/02/28-18:24:48, [LOG-1000], 967,, INFO, NDA-ST01-B48, Previous message
repeated 2 time(s)
setmodem.sh: WARNING: Can't detect any MODEM on ttyS1.
2006/02/28-18:25:28, [SULB-1024], 968,, WARNING, SilkWorm48000, Firmware commit
has completed on the blade in slot 10.
2006/02/28-18:25:28, [TRCK-1004], 969,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006/02/28-18:25:28, [LOG-1000], 970,, INFO, NDA-ST01-B48, Previous message
repeated 1 time(s)
2006/02/28-18:25:46, [IPS-1006], 971,, WARNING, NDA-ST01-B48, Tunnel Configuration
Mismatch for slot (10) port(0) tunnel ID(1) reason (Compression; mismatch.)
Both AP and Standby CP firmware has downloaded successfully.
Firmware has been downloaded successfully on Standby CP (CP1).
2006/02/28-18:29:19, [TRCK-1004], 972,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
Standby CP reboots.
2006/02/28-18:29:26, [SULB-1007], 973,, INFO, SilkWorm48000, Standby CP reboots.
2006/02/28-18:29:26, [TRCK-1004], 974,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006/02/28-18:29:27, [FSSM-1003], 975,, WARNING, SilkWorm48000, HA State out of
sync
Heartbeat Down
2006/02/28-18:29:36, [HAMK-1004], 976,, INFO, SilkWorm48000, Resetting standby CP
(double reset may occur)
2006/02/28-18:29:36, [EM-1033], 977,, ERROR, SilkWorm48000, CP in Slot 6 set to
faulty because CP ERROR asserted
eth1: Link status change: Link Down.
eth1: Link status change: Link Up. 100 Mbps Full duplex Auto (autonegotiation
complete).
2006/02/28-18:29:39, [EM-1047], 978,, INFO, SilkWorm48000, CP in slot 6 not
faulty, CP ERROR deasserted
eth1: Link status change: Link Down.
eth1: Link status change: Link Up. 100 Mbps Full duplex Auto (autonegotiation
complete).
2006/02/28-18:30:13, [TRCK-1004], 979,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
Heartbeat Up
connect from 10.0.0.6:8000
chassis0(0): Advance to next dumping 2
2006/02/28-18:30:45, [FSSM-1002], 980,, INFO, SilkWorm48000, HA State is in sync
Standby CP booted successfully with new firmware.
2006/02/28-18:30:49, [SULB-1008], 981,, INFO, SilkWorm48000, Standby CP booted
successfully with new firmware.
2006/02/28-18:30:49, [TRCK-1004], 982,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-61
Firmware commit operation has started on both active and standby CPs.
Validating primary partition...
Doing firmwarecommit now.
Please wait ...
Replicating kernel image.
................................
Firmware commit completes successfully.
Firmware commit operation has completed successfully on both CPs.
2006/02/28-18:30:53, [LOG-1000], 983,, INFO, NDA-ST01-B48, Previous message
repeated 1 time(s)
2006/02/28-18:35:03, [SULB-1002], 984,, INFO, SilkWorm48000, Firmwaredownload
command has completed successfully.
2006/02/28-18:35:03, [TRCK-1004], 985,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
2006/02/28-18:35:03, [SULB-1036], 986,, INFO, SilkWorm48000, The new Version:
Fabric OS v5.1.0_beta2
2006/02/28-18:35:03, [TRCK-1004], 987,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
Fabric OS (cp0)
cp0 console login: admin
Password:
2006/02/28-18:36:13, [TRCK-1001], 988,, INFO, NDA-ST01-B48, Successful login by
user admin.
Please change passwords for switch default accounts now.
Use Control-C to exit or press 'Enter' key to proceed.
Password was not changed. Will prompt again at next login until password is
changed.
NDA-ST01-B48:admin> hashow
Local CP (Slot 5, CP0): Active, Warm Recovered
Remote CP (Slot 6, CP1): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
NDA-ST01-B48:admin> firmwareshow
Slot Name Primary/Secondary Versions Status
---------------------------------------------------------------
5 CP0 v5.1.0_beta2 Active *
v5.1.0_beta2
6 CP1 v5.1.0_beta2 Standby
v5.1.0_beta2
10 FR4-18i v5.1.0_beta2 Enabled
v5.1.0_beta2
NDA-ST01-B48:admin>
Both CPs and the FR4-18i now have Fabric OS v5.1.0_beta2 firmware installed.
This completes the review of console messages sent to the console of CP0 (initially, the
Standby CP) during the firmware download.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-62
The following are the messages sent to the console of CP1 (initially, the Active CP) during the
firmware download.
NDA-ST01-B48:admin> hashow
Local CP (Slot 6, CP1): Active, Warm Recovered
Remote CP (Slot 5, CP0): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
NDA-ST01-B48:admin> firmwareshow
Slot Name Primary/Secondary Versions Status
---------------------------------------------------------------
5 CP0 v5.1.0_rc1 Standby
v5.1.0_rc1
6 CP1 v5.1.0_rc1 Active *
v5.1.0_rc1
10 FR4-18i v5.1.0_rc1 Enabled
v5.1.0_rc1
Both CPs and AP have v5.1.0_rc1 firmware.
Firmware Download started on Active CP1
NDA-ST01-B48:admin> firmwaredownload
Server Name or IP Address: 10.128.128.201
FTP User Name: ftp
File Name: /pub/firmware/v5.x/v5.1.0_beta2/release.plist
FTP Password:
The following AP blades are installed in the system.
Slot Name Versions Traffic Disrupted
-----------------------------------------------------------------
10 FR4-18i v5.1.0_rc1 GigE
This command will upgrade both CPs and all AP blade above. If
you want to upgrade a single CP only, please use -s option.
You can run firmwaredownloadstatus to get the status of this
command.
This command will cause the active CP to reset and will require
that existing telnet, secure telnet or SSH sessions be restarted.
Do you want to continue [Y]: y
Firmware is being downloaded to standby CP. This step may take up to 30 minutes.
2006/02/28-18:15:23, [SULB-1001], 1122,, WARNING, SilkWorm48000, Firmwaredownload
command has started.
2006/02/28-18:15:23, [SULB-1036], 1123,, INFO, SilkWorm48000, The current Version:
Fabric OS v5.1.0_rc1
2006/02/28-18:15:23, [TRCK-1004], 1124,, INFO, NDA-ST01-B48, Config file change
from task:PDMIPC
Firmware has been downloaded successfully to Standby CP.
Standby CP is going to reboot with new firmware.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-63
2006/02/28-18:20:56, [LOG-1000], 1125,, INFO, NDA-ST01-B48, Previous
message repeated 1 time(s)
2006/02/28-18:21:03, [SULB-1007], 1126,, INFO, SilkWorm48000, Standby CP
reboots.
2006/02/28-18:21:03, [TRCK-1004], 1127,, INFO, NDA-ST01-B48, Config file
change from task:PDMIPC
2006/02/28-18:21:04, [FSSM-1003], 1128,, WARNING, SilkWorm48000, HA State
out of sync
Heartbeat Down
2006/02/28-18:21:13, [HAMK-1004], 1129,, INFO, SilkWorm48000, Resetting
standby CP (double reset may occur)
2006/02/28-18:21:13, [EM-1033], 1130,, ERROR, SilkWorm48000, CP in Slot 5
set to faulty because CP ERROR asserted
eth1: Link status change: Link Down.
2006/02/28-18:21:16, [EM-1047], 1131,, INFO, SilkWorm48000, CP ieth1: Link
status change: Link Up. n slot 5 not faulty, CP ERROR de asserted
Auto
100 Mbps Full duplex (autonegotiation complete).
eth1: Link status change: Link Down.
eth1: Link status change: Link Up. 100 Mbps Full duplex Auto
(autonegotiation complete).
Heartbeat Up
connect from 10.0.0.5:8000
2006/02/28-18:21:59, [TRCK-1004], 1132,, INFO, NDA-ST01-B48, Config file
change from task:PDMIPC
chassis0(0): Advance to next dumping 2
2006/02/28-18:22:16, [FSSM-1002], 1133,, INFO, SilkWorm48000, HA State is
in sync
Standby CP1 booted successfully with new firmware.
2006/02/28-18:22:20, [SULB-1008], 1134,, INFO, SilkWorm48000, Standby CP
booted successfully with new firmware.
2006/02/28-18:22:20, [TRCK-1004], 1135,, INFO, NDA-ST01-B48, Config file
change from task:PDMIPC
2006/02/28-18:22:23, [SULB-1005], 1136,, INFO, SilkWorm48000, Current
Active CP is preparing to failover.
Machine Rebooting
The system is coming up, please wait...
Read board ID of 0x8b from addr 0x23
Read extended model ID of 0x17 from addr 0x22
Matched board/model ID to platform index 5
Read board ID of 0x8b from addr 0x23
Read extended model ID of 0x17 from addr 0x22
Matched board/model ID to platform index 5
Checking system RAM - press any key to stop test
Checking memory address: 00100000
System RAM test using Default POST RAM Test succeeded.
Press escape within 4 seconds to enter boot interface.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-64
Booting "Fabric Operating System" image.
Linux/PPC load:
BootROM command line: quiet
Uncompressing Linux...done.
Now booting the kernel
Attempting to find a root file system on hda1...
INIT: version 2.78 booting
INIT: Entering runlevel: 3
eth0: Link status change: Link Up. 100 Mbps Half duplex Auto (autonegotiation
complete).
eth1: Link status change: Link Up. 100 Mbps Full duplex Auto (autonegotiation
complete).
eth2: Link status change: Link Up. 100 Mbps Full duplex Manual (forced).
Fabric OS (cp1)
cp1 console login: gen_chk: primary switch configuration NOT EQUAL
gen_chk: Second ary switch configuration NOT EQUAL
before arb: wr=0x20,rd=0x25,cperr=0x4
after arb (2): wr=0x20,rd=0x25,cperr=0x4 (standby)
PCI: Enabling device 00:01.0 (0000 -> 0003)
PCI: Enabling device 00:02.0 (0000 -> 0003)
PCI: Enabling device 00:03.0 (0000 -> 0003)
Proxy: ip2ipc started (run=1, rc=0), debug=0
Proxy: ipc2ip started (rc=0)
2006/02/28-18:24:15, [HAM-1004], 1137,, INFO, SilkWorm48000, Processor rebooted -
Hafailover
Heartbeat Up
SNMP Research SNMP Agent Resident Module Version 15.3.1.4
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001 SNMP Research, Inc.
sysctrld: all services Standby
2006/02/28-18:24:24, [FCR-1069], 1138,, INFO, NDA-ST01-B48, The FC Routing service
is enabled
2006/02/28-18:23:26, [LOG-1000], 1139,, INFO, NDA-ST01-B48, Previous message
repeated 1 time(s)
2006/02/28-18:23:27, [FSSM-1002], 1140,, INFO, SilkWorm48000, HA State is in sync
Checking system settings for firmwaredownload...
Start to install packages...
dir ##################################################
ldconfig ##################################################
glibc ##################################################
bash ##################################################
readline ##################################################
terminfo ##################################################
termcap ##################################################
fileutils ##################################################
textutils ##################################################
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-65
setup ##################################################
swbd21-setup ##################################################
which ##################################################
findutils ##################################################
bzip ##################################################
zlib ##################################################
chkconfig ##################################################
sed ##################################################
procps ##################################################
psmisc ##################################################
modutils ##################################################
sin ##################################################
rcinit ##################################################
misc ##################################################
pam ##################################################
util-linux ##################################################
sh-utils ##################################################
popt ##################################################
grep ##################################################
rpm ##################################################
sysvinit ##################################################
man ##################################################
less ##################################################
gzip ##################################################
setmodem.sh: WARNING: Can't detect any MODEM on ttyS1.
tar ##################################################
rsync ##################################################
tftp-server ##################################################
telnet ##################################################
cpio ##################################################
dev ##################################################
bootenv ##################################################
wdtd ##################################################
wget ##################################################
fwdl ##################################################
swbd23-prom ##################################################
Please avoid powering off the system during prom update.
kernel ##################################################
sysklogd ##################################################
getty ##################################################
net-tools ##################################################
vixie-cron ##################################################
uucp ##################################################
binutils-libs ##################################################
binutils ##################################################
ksymoops ##################################################
portmap ##################################################
inetd ##################################################
iptables ##################################################
tcpd ##################################################
telnet-server ##################################################
rsh-server ##################################################
rsh ##################################################
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-66
openssl-libs ##################################################
openssh ##################################################
openssh-server ##################################################
rusers-server ##################################################
rdate ##################################################
logrotate ##################################################
ntp ##################################################
pciutils ##################################################
strace ##################################################
ftp ##################################################
ncftp ##################################################
sendmail ##################################################
iproute2 ##################################################
libxml2 ##################################################
fss ##################################################
fabos-setup ##################################################
fabos-drivers ##################################################
fabos-driversdev ##################################################
fabos-libs ##################################################
fabos-diag ##################################################
fabos-diagdev ##################################################
fabos-man ##################################################
fabos ##################################################
fabos-daemons ##################################################
fabos-zoning ##################################################
fabos-fw ##################################################
fabos-routing ##################################################
fabos-hmon ##################################################
fabos-wwnhs ##################################################
fabos-swbd42 ##################################################
mmlib ##################################################
apache ##################################################
fastcgi ##################################################
fabos-webtools ##################################################
tz ##################################################
mtracer-tool ##################################################
lkcd ##################################################
sysstat ##################################################
bpimage-swbd36 ##################################################
Writing kernel image into flash.
..............................
00000000 00020000 00040000 00060000 00080000 00
0a0000 000c0000 000e0000 00100000 00120000 0014
0000 00160000 00180000 001a0000 001c0000 001e00
00 00200000 00220000 00240000 00260000 00280000
002a0000 002c0000 002e0000 00300000 00320000
00340000 00360000 00380000 003a0000 Finished
writing kernel image.
Removing unneeded files, please wait ...
Finished removing unneeded files.
All packages have been downloaded successfully.
INIT: Switching to runlevel: 6
INIT: 2006/02/28-18:29:27, [FSSM-1003], 1141,, WARNING, SilkWorm48000, HA State
out of sync
Unmounting all filesystems.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-67
Please stand by while rebooting the system...
flushing ide devices: hda
Restarting system.
<NULL>
CP1, now the Standby CP, reboots
The system is coming up, please wait...
Read board ID of 0x8b from addr 0x23
Read extended model ID of 0x17 from addr 0x22
Matched board/model ID to platform index 5
Read board ID of 0x8b from addr 0x23
Read extended model ID of 0x17 from addr 0x22
Matched board/model ID to platform index 5
Checking system RAM - press any key to stop test
Checking memory address: 00100000
System RAM test using Default POST RAM Test succeeded.
Press escape within 4 seconds to enter boot interface.
Booting "Fabric Operating System" image.
Linux/PPC load:
BootROM command line: quiet
Uncompressing Linux...done.
Now booting the kernel
Attempting to find a root file system on hda2...
INIT: version 2.78 booting
INIT: Entering runlevel: 3
eth0: Link status change: Link Up. 100 Mbps Half duplex Auto (autonegotiation
complete).
eth1: Link status change: Link Up. 100 Mbps Full duplex Auto (autonegotiation
complete).
eth2: Link status change: Link Up. 100 Mbps Full duplex Manual (forced).
Fabric OS (cp1)
CP1, now the Standby CP, logs in.
cp1 console login:
gen_chk: primary switch configuration NOT EQUAL
gen_chk: Secondary switch configuration NOT EQUAL
before arb: wr=0x20,rd=0x25,cperr=0x4
after arb (2): wr=0x20,rd=0x25,cperr=0x4 (standby)
PCI: Enabling device 00:01.0 (0000 -> 0003)
PCI: Enabling device 00:02.0 (0000 -> 0003)
PCI: Enabling device 00:03.0 (0000 -> 0003)
Proxy: ip2ipc started (run=1, rc=0), debug=0
Proxy: ipc2ip started (rc=0)
2006/02/28-18:30:24, [HAM-1004], 1142,, INFO, SilkWorm48000, Processor rebooted -
FirmwareDownload
Heartbeat Up
SNMP Research SNMP Agent Resident Module Version 15.3.1.4
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001 SNMP Research, Inc.
Validating primary partition...
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-68
2006/02/28-18:30:31, [FCR-1069], 1143,, INFO, NDA-ST01-B48, The FC Routing service
is enabled
sysctrld: all services Standby
---- em_hsm_bind_machine: slot:10 switching to sm<ap>
2006/02/28-18:30:45, [LOG-1000], 1144,, INFO, NDA-ST01-B48, Previous message
repeated 1 time(s)
2006/02/28-18:30:45, [FSSM-1002], 1145,, INFO, SilkWorm48000, HA State is in sync
Doing firmwarecommit now.
Please wait ...
setmodem.sh: WARNING: Can't detect any MODEM on ttyS1.
Replicating kernel image.
................................
Firmware commit completes successfully.
Fabric OS (cp1)
cp1 console login: admin
Password:
2006/02/28-18:36:30, [TRCK-1001], 1146,, INFO, NDA-ST01-B48, Successful login by
user admin.
*****************************************************************
Logging into STANDBY CP, not all commands are fully supported !!
*****************************************************************
NDA-ST01-B48:admin> hashow
Local CP (Slot 6, CP1): Standby
Remote CP (Slot 5, CP0): Active
HA enabled, Heartbeat Up, HA State synchronized
NDA-ST01-B48:admin> firmwareshow
Slot Name Primary/Secondary Versions Status
---------------------------------------------------------------
5 CP0 v5.1.0_beta2 Active
v5.1.0_beta2
6 CP1 v5.1.0_beta2 Standby *
v5.1.0_beta2
10 FR4-18i v5.1.0_beta2 Enabled
v5.1.0_beta2
NDA-ST01-B48:admin>
Both CPs have changed to v5.1.0_beta2. AP is not visible from the Standby CP.
This completes the review of console messages sent to the console of CP1 (initially, the Active CP)
during the firmware download.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-69
Firmware Download to a SilkWorm 7500
Note: In this example, the SilkWorm 7500 is initially is running Fabric OS v5.1.0_rc1. The firmware to be
downloaded is v5.1.0_beta2.
The following are the messages sent to the console of the SilkWorm 7500 during the firmware
download.
NDA-ST01-B48:admin> hashow
NDA-ST01-B75:admin> firmwareshow
Primary version: v5.1.0_rc1
Secondary version: v5.1.0_rc1
Both partitions have v5.1.0_rc1 firmware.
Firmware Download started on the SilkWorm 7500.
NDA-ST01-B75:admin> firmwaredownload
Server Name or IP Address: 10.128.128.201
FTP User Name: ftp
File Name: /pub/firmware/v5.x/v5.1.0_beta2/release.plist
FTP Password:
You can run firmwaredownloadstatus to get the status of this command.
This command will cause the switch to reset and will require that existing telnet,
secure telnet or SSH sessions be restarted.
Do you want to continue [Y]: y
Firmware is being downloaded to the switch.
This step may take up to 30 minutes.
2006/03/07-22:42:3 Start to install packages...
dir ##################################################
ldconfig ##################################################
glibc ##################################################
bash ##################################################
readline ##################################################
terminfo ##################################################
2006/03/07-22:42:35, [SULB-1001], 277,, WARNING, Sprint, Firmwaredownload command
has started.
2006/03/07-22:42:35, [SULB-1036], 278,, INFO, Sprint, The current Version: Fabric
OS v5.1.0_rc1
Checking system settings for firmwaredownload...
Start to install packages...
dir ##################################################
ldconfig ##################################################
glibc ##################################################
bash ##################################################
readline ##################################################
terminfo ##################################################
termcap ##################################################
fileutils ##################################################
textutils ##################################################
setup ##################################################
swbd21-setup ##################################################
which ##################################################
findutils ##################################################
bzip ##################################################
zlib ##################################################
chkconfig ##################################################
sed ##################################################
procps ##################################################
psmisc ##################################################
modutils ##################################################
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-70
sin ##################################################
rcinit ##################################################
misc ##################################################
pam ##################################################
util-linux ##################################################
sh-utils ##################################################
popt ##################################################
grep ##################################################
rpm ##################################################
sysvinit ##################################################
man ##################################################
less ##################################################
gzip ##################################################
tar ##################################################
rsync ##################################################
tftp-server ##################################################
telnet ##################################################
cpio ##################################################
dev ##################################################
bootenv ##################################################
wdtd ##################################################
wget ##################################################
fwdl ##################################################
swbd23-prom ##################################################
Please avoid powering off the system during prom update.
kernel ##################################################
sysklogd ##################################################
getty ##################################################
net-tools ##################################################
vixie-cron ##################################################
uucp ##################################################
binutils-libs ##################################################
binutils ##################################################
ksymoops ##################################################
portmap ##################################################
inetd ##################################################
iptables ##################################################
tcpd ##################################################
telnet-server ##################################################
rsh-server ##################################################
rsh ##################################################
openssl-libs ##################################################
openssh ##################################################
openssh-server ##################################################
rusers-server ##################################################
rdate ##################################################
logrotate ##################################################
ntp ##################################################
pciutils ##################################################
strace ##################################################
ftp ##################################################
ncftp ##################################################
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-71
sendmail ##################################################
iproute2 ##################################################
libxml2 ##################################################
fss ##################################################
fabos-setup ##################################################
fabos-drivers ##################################################
fabos-driversdev ##################################################
fabos-libs ##################################################
fabos-diag ##################################################
fabos-diagdev ##################################################
fabos-man ##################################################
fabos ##################################################
fabos-daemons ###############################################
fabos-zoning ###############################################
fabos-fw ###############################################
fabos-routing ###############################################
fabos-hmon ###############################################
fabos-wwnhs ###############################################
fabos-swbd46 ###############################################
mmlib ###############################################
apache ###############################################
fastcgi ###############################################
fabos-webtools ###############################################
tz ###############################################
mtracer-tool ###############################################
lkcd ###############################################
sysstat ###############################################
bpimage-swbd36 ###############################################
fpga-utils ###############################################
Removing unneeded files, please wait ...
Finished removing unneeded files.
All packages have been downloaded successfully.
Firmware has been downloaded to the secondary partition of the switch.
The firmware download to the second partition is complete..
2006/03/07-22:46:46, [SULB-1002], 279,, INFO, Sprint, Firmwaredownload comm
as completed successfully.
HA Rebooting ...
NDA-ST01-B75:admin> Loopback backup before go standby
chassis0(0): Advance to next dumping 2
2006/03/07-22:47:12, [FSSM-1002], 280,, INFO, Sprint, HA State is in sync
RCS_RCV_FSS_HALT, rc 0, close sock 30
2006/03/07-22:47:12, [FSSM-1003], 281,, WARNING, Sprint, HA State out of sync
sysctrld: all services Standby
flushing ide devices: hda
Restarting system.
<NULL>
The system is coming up, please wait...
Read board ID of 0x8b from addr 0x23
Read extended model ID of 0x1f from addr 0x22
Matched board/model ID to platform index 9
Read board ID of 0x8b from addr 0x23
Read extended model ID of 0x1f from addr 0x22
Matched board/model ID to platform index 10
Booting "Fabric Operating System" image.
2006 Brocade Communications Systems, Incorporated.
Revision CFP264 ILT 0806
Page 5-72
Entry point at 0x01000000 ...
Linux/PPC load:
BootROM command line: quiet
Uncompressing Linux...done.
Now booting the kernel
Unknown bridge resource 2: assuming transparent
Attempting to find a root file system on hda2...
INIT: version 2.78 booting
INIT: Entering runlevel: 3
restarting autonegotiation...
eth0: Link status change: Link Up. 100 Mbps Half duplex Auto (autonegotiation
complete).
eth2: Link status change: Link Up. 100 Mbps Full duplex Auto (no autonegotiation).
Fabric OS (NDA-ST01-B75)
NDA-ST01-B75 console login: uptime: 3397; sysc_qid: 0
SNMP Research SNMP Agent Resident Module Version 15.3.1.4
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
, 2001 SNMP Research, Inc.
sysctrld: all services Standby
loopback replay before go active
---- em_hsm_bind
_machine: slot:0svc_i2cReadFcipMac: Request for fcip/mac data from slot 0
switching to sm<ap>
Services starting a WARM recovery
ipcClientBuf: shmat failed: Invalid argument
2006/03/07-22:48:00, [HAM-1004], 282,, INFO, Sprint, Processor rebooted -
FirmwareDownload
2006/03/07-22:48:12, [FCR-1069], 283,, INFO, NDA-ST01-B75, The FC Routing service
is enabled
2006/03/07-22:48:14, [LOG-1000], 284,, INFO, NDA-ST01-B75, Previous message
repeated 1 time(s)
2006/03/07-22:48:23, [FSSM-1002], 285,, INFO, Sprint, HA State is in sync
2006/03/07-22:48:24, [FSSM-1003], 286,, WARNING, Sprint, HA State out of sync
sysctrld: all services Active
2006/03/07-22:48:31, [SULB-1031], 287,, WARNING, Sprint, The switch is relocating
an internal firmware image.
2006/03/07-22:48:31, [BM-1054], 288,, INFO, Sprint, AP firmware 5.1.0_rc1 is not
consistent with system firmware Fabos Version 5.1.0_beta2
. Auto-leveling AP firmware to match system firmware.
Validating primary partition...
Doing firmwarecommit now.
Please wait ...
2006/03/07-22:49:57, [BL-1030], 289,, INFO, NDA-ST01-B75, All GigE/FCIP ports on
the switch will be reset as part of the firmware upgrade.
eth2: Link status change: Link Down.
eth2: Link status change: Link Up. 100 Mbps Full duplex Auto (no autonegotiation).
2006/03/07-22:51:21, [SULB-1033], 290,, WARNING, Sprint, Switch has completed
relocating the internal firmware image.
Firmware commit completes successfully.
2006/03/07-22:51:37, [SULB-1036], 291,, INFO, Sprint, The new Version: Fabric OS
v5.1.0_beta2
2006/03/07-22:51:37, [SULB-1002], 292,, INFO, Sprint, Firmwaredownload command has
completed successfully.
Log back in.
NDA-ST01-B75:admin> firmwareshow
Primary version: v5.1.0_beta2
Secondary version: v5.1.0_beta2

Вам также может понравиться