How to Update Brocade SAN Switch Firmware?

Here is the update I made for Brocade 6505 SAN Switch:

I’m checking the firmware on the current switch. I’ll check again when the firmware update is finished.

 SAN-SW1:admin> firmwareshow

Appl     Primary/Secondary Versions

——————————————

FOS        v7.4.2a

               v7.4.2a

SAN-SW1:admin>

The firmware I want to install is 8.2.1j

First, I open the Release Notes of the firmware I want to install and examine the migration path.

Migrating from FOS v7.4

Any Brocade 16G (Gen 5) platform and all blades in the “Supported Blades” table running any

FOS v7.4 firmware must be upgraded to FOS v8.0.x firmware before it can be non-disruptively

upgraded to FOS v8.1.2g. For a DCX8510 with FC8-64, FC8-32E, or FC8-48E Blades running

any FOS v7.4 firmware, it must be upgraded to FOS v8.0.2 or later firmware before it can be

non-disruptively upgraded to FOS v8.1.2h.

As it can be understood from the document, in order to switch from v7.4 to 8.2.1x without interruption, v8.0.x firmware must first be passed. It will be possible to switch from v8.0.x to v8.2.1x without interruption.

If a direct pass is made, the configuration will be lost and there will be an interruption. Even a two-step firmware update takes about 30 min. in progress. Since upgrading takes a short time, I prefer the risk-free method, that is, a two-step upgrade.

After learning this very critical information, we can download the latest 8.0.2f and 8.2.1j firmwares and start the operation.

The firmware is located on the FTP server in the v8.0.2f folder. Do not put the firmware in the root directory of FTP or access to the firmware will fail.

FTP server settings:

Username: ftp

Password: ftp123

Directory: v8.0.2f

FTP Server IP Address : 10.1.1.10      

1) The first step for upgrade:

SAN-SW1:admin> firmwaredownload -p ftp 10.1.1.10 ,ftp,v8.0.2f,ftp123

Server IP: 10.1.1.10, Protocol IPv4

Checking system settings for firmwaredownload…

System settings check passed.

You can run firmwaredownloadstatus to get the status

of this command.

This command will cause a warm/non-disruptive boot but will

require that existing telnet, secure telnet or SSH sessions

be restarted.

Do you want to continue (Y/N) [Y]:

Firmware is being downloaded to the switch. This step may take up to 30 minutes.

2020/04/30-10:48:42, [SULB-1001], 106, CHASSIS, WARNING, IBM_2498_X24, Firmwaredownload command has started. (Fr                              om v7.4.2a To v8.0.2f).

Preparing for firmwaredownload…

Start to install packages…

dir-1.0.5-5

############################### [ 100% ]

ldconfig-2.16.2-4

############################### [ 100% ]

glibc-2.3.7-8

############################### [ 100% ]

glibc-linuxthreads-2.3.7-3

############################### [ 100% ]

bash-2.05-8

############################### [ 100% ]

…………………………………………………….

…………………………………………………….

…………………………………………………….

…………………………………………………….

mtracer-tool-2.4.20-13

############################### [ 100% ]

sysstat-5.0.5-8

############################### [ 100% ]

prom-440epx-1.0.11-1

Please avoid powering off the system during prom update.

############################### [ 100% ]

ipv6-1.3-8

############################### [ 100% ]

awk-3.1.1-6

############################### [ 100% ]

ipsec-1.1-1

############################### [ 100% ]

Removing unneeded files, please wait …

Finished removing unneeded files.

/fabos/cliexec/lscfg_util: requires VF to be supported.

/fabos/cliexec/lscfg_util: requires VF to be supported.

All packages have been downloaded successfully.

Firmware has been downloaded to the secondary partition of the switch.

Text Box: Firmware ikinci partitiona da yüklendi Warm boot yapılıyor.2020/04/30-10:53:01, [SULB-1044], 107, CHASSIS, INFO, IBM_2498_X24, Firmwaredownload to secondary partition has completed successfully.  

HA Rebooting …

Loopback Backup (hda1:hda2)

Start loopback

All service instances in sync

2020/04/30-10:53:08, [FSSM-1002], 108, CHASSIS, INFO, IBM_2498_X24, HA State is in sync.

Block ASIC Reset For Warm Reboot

Service instances out of sync

2020/04/30-10:53:10, [FSSM-1003], 109, CHASSIS, WARNING, IBM_2498_X24, HA State out of sync.

ki_state_set: redundant DEACTIVATE for instance 1

2020/04/30-10:53:12, [RAS-1007], 110, CHASSIS, INFO, IBM_2498_X24, System is about to reload.

Restarting system.

The system is coming up, please wait…

U-Boot 1.1.3 (Oct 10 2018 – 09:32:11)

CPU:   AMCC PowerPC 440EPx Rev. A at 660 MHz (PLB=132, OPB=66, EBC=33 MHz)

       No Security/Kasumi support

       I2C boot EEPROM enabled

       Bootstrap Option G – Boot ROM Location I2C (Addr 0x54)

       Internal PCI arbiter enabled, PCI async ext clock used

       32 kB I-Cache 32 kB D-Cache

Board: Tomtoo

I2C:   ready

DRAM:  Initializing DDRSDRAM

DQS calibration – Window detected:

max_passing_cases = 57

wr_dqs_shift      = 95

dll_dqs_delay_X   = 32

dll_dqs_delay_X window = 4 – 60

DDR0_09=0x00011d5f

DDR0_22=0x03267f0b

DDR0_17=0x20005f00

DDR0_18=0x20202020

DDR0_19=0x20202020

Zeroing SDRAM…   DONE

    DDR: 1024 MB

POST RAM test disabled.

Now running in RAM – U-Boot at: 3fb26000

trap_init : 0x0

system inventory subsystem initialized

FLASH: Tomtoo CFI Flash Driver Initialized

 4 MB

CPLD:

DEBUG: ASIC Reset Enable Register Offset:0x88 Value:0x02…

CPLD: Reseting Bridge…

Init complete

PCI: gd->brcd_flags = 0, PCI init

Skip our host bridge

        01  00  1657  001d  0280  1a

        00  07  10b5  8112  0604  18

In:    serial

Out:   serial

Err:   serial

Net:

set_bootstatus: BS_LOAD_OS, platform_idx = 16

Type run flash_nfs to mount root filesystem over NFS

Hit ESC to stop autoboot:  0

Map file at LBA sector 0x1350c0

do_bootm 171: load_addr 0x00100000 addr 0x00400000

do_bootm 174: ## Booting image at 00400000 load_addr 0x00100000 …

   Image Name:   Linux-2.6.14.2

   Image Type:   PowerPC Linux Multi-File Image (uncompressed)

   Data Size:    4306459 Bytes =  4.1 MB

   Load Address: 00000000

   Entry Point:  00000000

   Contents:

   Image 0:  3227782 Bytes =  3.1 MB

   Image 1:  1078663 Bytes =  1 MB

do_bootm_linux 565: ## Current stack ends at 0x3FAE4BA8 => set upper limit to 0x00C00000

## initrd at 0x007140D4 … 0x0081B65A (len=1078663=0x107587)

   Loading Ramdisk to 1fef8000, end 1ffff587 … OK

 initrd_start = 1fef8000, initrd_end = 1ffff587

## Transferring control to Linux (at address 00000000) …

Start Autoneg

Installing Linux 2.6 Kernel

Attempting to find a root file system on hda2…

GLIBC detected first boot after install.

INIT: version 2.78 booting

Bypassing firmware validation.

INIT: Entering runlevel: 3

Binding Shell with Loopback address

Enabling FOS failure detection feature

enable fabos log

Starting Fabric OS Services…

FIPS off, RRD…

Enter trace_initialize

Exit trace_initialize rc=0

fablog module loaded with mtracer!

sys_chip_init: class 0 max 24 Done

ethsw_ha_enabled = 1

uptime: 4293890690; sup_qid: 0

.

2020/04/30-10:54:03, [HAM-1004], 110, CHASSIS, INFO, IBM_2498_X24, Processor rebooted – FirmwareDownload.

Loopback Replay

Start loopback

Fabric OS (SAN-SW1)

Let’s check the firmware:

When the system was booted, I logged in with the current user/password and checked the status of the upgrade.

Firmware is being committed. When it is commited, rollback cannot be done, when it needs to be rolled back, the firmware must be reloaded.

SAN-SW1:admin> firmwaredownloadstatus

[1]: Thu Apr 30 10:48:42 2020

Firmware is being downloaded to the switch. This step may take up to 30 minutes.

[2]: Thu Apr 30 10:53:01 2020

Firmware has been downloaded to the secondary partition of the switch.

[3]: Thu Apr 30 10:54:59 2020

The firmware commit operation has started. This may take up to 10 minutes.

SAN-SW1:admin> firmwaredownloadstatus

[1]: Thu Apr 30 10:48:42 2020

Firmware is being downloaded to the switch. This step may take up to 30 minutes.

[2]: Thu Apr 30 10:53:01 2020

Firmware has been downloaded to the secondary partition of the switch.

[3]: Thu Apr 30 10:54:59 2020

The firmware commit operation has started. This may take up to 10 minutes.

[4]: Thu Apr 30 10:58:12 2020

The commit operation has completed successfully.

[5]: Thu Apr 30 10:58:12 2020

Firmwaredownload command has completed successfully. Use firmwareshow to verify the firmware versions.

Let’s check the firmware again:

The new version seems to have been successfully installed on both partitions. The first step of firmware upgrade is complete.

SAN-SW1:admin> firmwareshow

Appl     Primary/Secondary Versions

——————————————

FOS         v8.0.2f

               v8.0.2f

1) The second step of the upgrade:

SAN-SW1:admin> firmwaredownload -p ftp 10.7.0.213,ftp,v8.1.2j,ftp123

Server IP: 10.7.0.213, Protocol IPv4

Checking system settings for firmwaredownload…

System settings check passed.

You can run firmwaredownloadstatus to get the status

of this command.

This command will cause a warm/non-disruptive boot but will

require that existing telnet, secure telnet or SSH sessions

be restarted.

Do you want to continue (Y/N) [Y]:

Firmware is being downloaded to the switch. This step may take up to 30 minutes.

2020/04/30-11:02:06, [SULB-1001], 120, CHASSIS, WARNING, IBM_2498_X24, Firmwaredownload command has started. (From v8.0.2f To v8.1.2j).

Preparing for firmwaredownload…

Removing strace

Removing sysstat

Start to install packages…

dir-1.0.5-5

############################### [ 100% ]

ldconfig-2.16.2-4

############################### [ 100% ]

glibc-2.3.7-8

############################### [ 100% ]

glibc-linuxthreads-2.3.7-3

############################### [ 100% ]

bash-2.05-8

############################### [ 100% ]

…………………………………………………….

…………………………………………………….

…………………………………………………….

awk-3.1.1-6

############################### [ 100% ]

ipsec-1.1-1

############################### [ 100% ]

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.

2020/04/30-11:06:53, [SULB-1044], 121, CHASSIS, INFO, IBM_2498_X24, Firmwaredownload to secondary partition has completed successfully.

HA Rebooting …

·        Sistem otomatik olarak reboot başlatıyor. Açıldığında kullanıcı/parola ile giriş yapıyorum.

SAN-SW1:admin> firmwaredownloadstatus

[1]: Thu Apr 30 11:02:06 2020

Firmware is being downloaded to the switch. This step may take up to 30 minutes.

[2]: Thu Apr 30 11:06:53 2020

Firmware has been downloaded to the secondary partition of the switch.

SAN-SW1:admin> Service instances out of sync

2020/04/30-11:09:34, [FSSM-1003], 129, CHASSIS, WARNING, IBM_2498_X24, HA State out of sync.

Apr 30 11:09:34  All service instances on Active

Broadcast message from root Thu Apr 30 11:09:34 2020…

*******************************************

Notice: System has changed state to active.

All active commands are available now.

*******************************************

ki_state_set: redundant ACTIVATE for instance 1

2020/04/30-11:09:38, [SULB-1003], 130, CHASSIS, INFO, IBM_2498_X24, Firmwarecommit has started.

Validating the filesystem …

Let’s check it again:

SAN-SW1:admin> firmwaredownloadstatus

[1]: Thu Apr 30 11:02:06 2020

Firmware is being downloaded to the switch. This step may take up to 30 minutes.

[2]: Thu Apr 30 11:06:53 2020

Firmware has been downloaded to the secondary partition of the switch.

[3]: Thu Apr 30 11:09:38 2020

The firmware commit operation has started. This may take up to 10 minutes.

There is no sync to the second partition yet, keep waiting.

SAN-SW1:admin> firmwareshow

Appl     Primary/Secondary Versions

——————————————

FOS      v8.1.2j

         v8.0.2f

WARNING: Firmwaredownload is in progress.

SAN-SW1:admin>

SAN-SW1:admin> firmwareshow

Appl     Primary/Secondary Versions

——————————————

FOS        v8.1.2j

               Unknown

WARNING: Firmwaredownload is in progress.

SAN-SW1:admin> Thu Apr 30 11:12:55 2020: Firmware commit completed successfully.

2020/04/30-11:12:55, [SULB-1004], 131, CHASSIS, INFO, IBM_2498_X24, Firmwarecommit has completed.

2020/04/30-11:12:55, [SULB-1036], 132, CHASSIS, INFO, IBM_2498_X24, The new Version: Fabric OS v8.1.2j.

2020/04/30-11:12:55, [SULB-1002], 133, CHASSIS, INFO, IBM_2498_X24, Firmwaredownload command has completed successfully.

SAN-SW1:admin> firmwaredownloadstatus

[1]: Thu Apr 30 11:02:06 2020

Firmware is being downloaded to the switch. This step may take up to 30 minutes.

[2]: Thu Apr 30 11:06:53 2020

Firmware has been downloaded to the secondary partition of the switch.

[3]: Thu Apr 30 11:09:38 2020

The firmware commit operation has started. This may take up to 10 minutes.

[4]: Thu Apr 30 11:12:55 2020

The commit operation has completed successfully.

[5]: Thu Apr 30 11:12:55 2020

Firmwaredownload command has completed successfully. Use firmwareshow to verify the firmware versions.

SAN-SW1:admin> firmwareshow

Appl     Primary/Secondary Versions

——————————————

FOS         v8.1.2j

               v8.1.2j

SAN-SW1:admin>2

It took about 10 minutes to load the system again. Thus, we have completed the firmware update.

 

By:


Leave a comment