Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 11
Registered: ‎12-12-2013

Issues with Brocade FOS upgrade

Hi all,

 

I have a Brocade 48000 Director class switch and i am trying to upgrade its FOS from v5.3.2c to v6.0.0c and will follow the path to reach version v7.1.0a as my target code level.

 

ED_48000B:xxx> version

Kernel:     2.6.14

Fabric OS:  v5.3.2c

Made on:    Wed Sep 30 12:53:01 2009

Flash:      Wed May 18 14:31:41 2011

BootProm:   4.6.5

 

I am trying to pick the FOS from a linux server but upgrade is crashing. I uploaded the FOS to Linux server as a unpacked folder using WINSCP on my windows machine.

 

See below the error when i am trying to do firmware upgrade with unpacked version...

 

 

ED_48000B:xxx> firmwaredownload

Server Name or IP Address: xx.xx.xx.xx

User Name: xxxx

File Name: /home/myuserid/v6.0.0c/

Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 1

Password:

Checking system settings for firmwaredownload...

Protocol selected: SCP

Trying address-->AF_INET IP: xx.xx.xx.xx, flags : 2

The server is inaccessible or firmware path is invalid. Please make sure the server name or IP address, the user/password and the firmware path are valid. If SCP is selected, SSH server must support password authentication.

 

In above, you can see that the switch is not able to pick unpacked file. So, i tried to repack it in Linux and reused it. See below Output

 

ED_48000B:xxx> firmwaredownload

Server Name or IP Address: xx.xx.xx.xx

User Name: xxxx

File Name: /home/myuserid/v6.0.0c.tar/

Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 3

Password: Password:

Checking system settings for firmwaredownload...

This command will upgrade the firmware on both CP blades. If you want to

upgrade firmware on a single CP only, please use -s option.

 

You may run firmwaredownloadstatus to get the status of this

command.

 

This command will cause a warm/non-disruptive boot on the active CP,

but 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.

Firmware download failed on standby CP - Unable to access the package list file. Check whether the file name is specified properly. (0x12)

Please use firmwaredownloadstatus and firmwareshow to see the firmware status.

 

 

Output from my linux home directory

 

[ /home/myuserid ]

myuserid@linux_server > ls -l

total 1189904

drwxr-xr-x  2 myuserid users      4096 2013-12-02 14:25 bin

drwxr-xr-x  2 myuserid users      4096 2013-12-06 15:56 brocade

-rw-r--r--  1 myuserid users         90663 2013-12-12 09:50 config.txt

drwxr-xr-x  3 myuserid users      4096 2013-12-06 16:15 v6.0.0c

-rw-r--r--  1 myuserid users         393011286 2013-12-12 11:37 v6.0.0c.tgz

drwxr-xr-x 31 myuserid users     4096 2013-12-06 16:54 v7.0.2

-rw-r--r--  1 myuserid users         824130220 2013-12-06 17:06 v7.0.2.tar

 

 

One note, configupload, download is working fine from this linux image. Supportsave is failing though.

Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: Issues with Brocade FOS upgrade

Hi,

 

Try as the File name the following:

 

File Name: /home/myuserid/v6.0.0c/release.plist

 

This file does not exist but in old FOS releases, the upgrade procedure requested to do it this way. I am not sure if v6.0.0c is one of them...

 


Rgds

Occasional Contributor
Posts: 11
Registered: ‎12-12-2013

Re: Issues with Brocade FOS upgrade

Hi, In general, i am not able to see release.plist file, if i am listing firmware folder in my home directory [ /home/myuserid/v6.0.0c ] myuserid@linux > ls -l total 1832 -rw-r--r-- 1 myuserid users 187 2013-12-06 16:11 app_names -rw-r--r-- 1 myuserid users 606880 2013-12-06 16:11 FabosSDK.tar.gz -rw-r--r-- 1 myuserid users 31826 2013-12-06 16:11 fw_files.log -rw-r--r-- 1 myuserid users 24232 2013-12-06 16:11 install -rw-r--r-- 1 myuserid users 6686 2013-12-06 16:11 install_verify drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:55 mibs -rw-r--r-- 1 myuserid users 1207 2013-12-06 16:11 platform_names -rw-r--r-- 1 myuserid users 272 2013-12-06 16:11 pubkey.pem drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:55 sbin -rw-r--r-- 1 myuserid users 35702 2013-12-06 16:11 sig_files.log -rw-r--r-- 1 myuserid users 993280 2013-12-06 16:11 signature.tar -rw-r--r-- 1 myuserid users 128 2013-12-06 16:11 signature.tar.sig drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:56 SWBD21 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD23 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD29 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD32 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD34 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:56 SWBD36 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD37 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:57 SWBD42 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD43 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD44 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD45 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD46 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD47 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD50 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD51 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD52 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:57 SWBD55 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD58 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:58 SWBD62 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:58 SWBD63 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:58 SWBD64 But anyway, i tried to run this command with plist to upgrade, and its still failing. ED_48000B:xxxx> firmwaredownload Server Name or IP Address: xx.xx.xx.xx User Name: myuserid File Name: /home/myuserid/v6.0.0c/release.plist Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 3 Password: Password: Checking system settings for firmwaredownload... Protocol selected: SCP Trying address-->AF_INET IP: xx.xx.xx.xx, flags : 2 The server is inaccessible or firmware path is invalid. Please make sure the server name or IP address, the user/password and the firmware path are valid. If SCP is selected, SSH server must support password authentication. ED_48000B:xxxx> firmwaredownload Server Name or IP Address: xx.xx.xx.xx User Name: myuserid File Name: /home/myuserid/v6.0.0c.tar/release.plist Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 3 Password: Checking system settings for firmwaredownload... This command will upgrade the firmware on both CP blades. If you want to upgrade firmware on a single CP only, please use -s option. You may run firmwaredownloadstatus to get the status of this command. This command will cause a warm/non-disruptive boot on the active CP, but 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. Firmware download failed on standby CP - Unable to access the package list file. Check whether the file name is specified properly. (0x12) Please use firmwaredownloadstatus and firmwareshow to see the firmware status. may be i should try to download v6.0.0 instead of v6.0.0c although will be hard to find such a old package Smiley Sad
Occasional Contributor
Posts: 11
Registered: ‎12-12-2013

Re: Issues with Brocade FOS upgrade

Hi, previous post looks messed up so here we go again Hi, In general, i am not able to see release.plist file, if i am listing firmware folder in my home directory [ /home/myuserid/v6.0.0c ] myuserid@linux > ls -l total 1832 -rw-r--r-- 1 myuserid users 187 2013-12-06 16:11 app_names -rw-r--r-- 1 myuserid users 606880 2013-12-06 16:11 FabosSDK.tar.gz -rw-r--r-- 1 myuserid users 31826 2013-12-06 16:11 fw_files.log -rw-r--r-- 1 myuserid users 24232 2013-12-06 16:11 install -rw-r--r-- 1 myuserid users 6686 2013-12-06 16:11 install_verify drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:55 mibs -rw-r--r-- 1 myuserid users 1207 2013-12-06 16:11 platform_names -rw-r--r-- 1 myuserid users 272 2013-12-06 16:11 pubkey.pem drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:55 sbin -rw-r--r-- 1 myuserid users 35702 2013-12-06 16:11 sig_files.log -rw-r--r-- 1 myuserid users 993280 2013-12-06 16:11 signature.tar -rw-r--r-- 1 myuserid users 128 2013-12-06 16:11 signature.tar.sig drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:56 SWBD21 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD23 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD29 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD32 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD34 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:56 SWBD36 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:56 SWBD37 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:57 SWBD42 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD43 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD44 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD45 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD46 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD47 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD50 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD51 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD52 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:57 SWBD55 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:57 SWBD58 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:58 SWBD62 drwxr-xr-x 3 myuserid users 12288 2013-12-19 11:58 SWBD63 drwxr-xr-x 2 myuserid users 4096 2013-12-19 11:58 SWBD64 But anyway, i tried to run this command with plist to upgrade, and its still failing. ED_48000B:xxxx> firmwaredownload Server Name or IP Address: xx.xx.xx.xx User Name: myuserid File Name: /home/myuserid/v6.0.0c/release.plist Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 3 Password: Password: Checking system settings for firmwaredownload... Protocol selected: SCP Trying address-->AF_INET IP: xx.xx.xx.xx, flags : 2 The server is inaccessible or firmware path is invalid. Please make sure the server name or IP address, the user/password and the firmware path are valid. If SCP is selected, SSH server must support password authentication. ED_48000B:xxxx> firmwaredownload Server Name or IP Address: xx.xx.xx.xx User Name: myuserid File Name: /home/myuserid/v6.0.0c.tar/release.plist Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 3 Password: Checking system settings for firmwaredownload... This command will upgrade the firmware on both CP blades. If you want to upgrade firmware on a single CP only, please use -s option. You may run firmwaredownloadstatus to get the status of this command. This command will cause a warm/non-disruptive boot on the active CP, but 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. Firmware download failed on standby CP - Unable to access the package list file. Check whether the file name is specified properly. (0x12) Please use firmwaredownloadstatus and firmwareshow to see the firmware status. May be i should try to download v6.0.0 instead of v6.0.0c although will be hard to find such a old package.
Occasional Contributor
Posts: 11
Registered: ‎12-12-2013

Re: Issues with Brocade FOS upgrade

Even tried to use FOS from brocade site directly but its ending with the same errors. I can not suspect SCP between linux server and brocade switch because scp from root seems to be working from both end. SCP from switch to Linux server: ED_48000B:root> ssh myuserid@xx.xx.xx.xx ls /home/myuserid/v6.0.0c Password: v6.0.0c SCP from Linux server to switch: myuserid@linux > ssh root@xx.xx.xx.xx ls /tmp root@xx.xx.xx.xx's password: __actplock.0 cal_flag cal_shm_file.0 calcache
Regular Contributor
Posts: 161
Registered: ‎12-30-2009

Re: Issues with Brocade FOS upgrade

Felipon did suggest you should list your home dir.

He suggested you try to append your path in firmwaredownload with /release.plist

ie in full something like /home/myuserid/v6.0.0c/release.plist

Did you try that?

If you did what were the results?

Occasional Contributor
Posts: 11
Registered: ‎12-12-2013

Re: Issues with Brocade FOS upgrade

Hi Dion, Yes, i tried the steps suggested by Felipon but upgrade is stil failing. I even download v6.0.0c from brocade site but didn’t work. See below, list of my directory structure on linux server and also list of fabric OS folder on linux server. File release.plist is missing from it. xxxx@linuxserver > ls -l total 384320 drwxr-xr-x 2 xxxx users 4096 2013-12-02 14:25 bin -rw-r--r-- 1 xxxx users 95364 2013-12-19 15:41 config.txt drwxr-xr-x 3 xxxx users 4096 2013-12-19 18:08 v6.0.0c -rw-r--r-- 1 xxxx users 393040520 2013-12-19 18:14 v6.0.0c.tar xxxx@linuxserver > cd v6.0.0c [ /home/xxxx/v6.0.0c ] xxxx@linuxserver > ls -l total 1812 -rw-r--r-- 1 xxxx users 187 2007-02-12 09:51 app_names -rw-r--r-- 1 xxxx users 606831 2008-02-11 12:39 FabosSDK.tar.gz -rw-r--r-- 1 xxxx users 29768 2008-02-11 12:43 fw_files.log -rw-r--r-- 1 xxxx users 24232 2008-01-03 16:44 install -rw-r--r-- 1 xxxx users 6686 2005-03-24 12:27 install_verify -rw-r--r-- 1 xxxx users 1207 2007-05-15 21:18 platform_names -rw-r--r-- 1 xxxx users 272 2007-05-15 20:31 pubkey.pem drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:08 sbin -rw-r--r-- 1 xxxx users 33644 2008-02-11 12:43 sig_files.log -rw-r--r-- 1 xxxx users 993280 2008-02-11 12:43 signature.tar -rw-r--r-- 1 xxxx users 128 2008-02-11 12:43 signature.tar.sig drwxr-xr-x 3 xxxx users 12288 2013-12-19 18:08 SWBD21 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:08 SWBD23 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:08 SWBD29 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:08 SWBD32 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:08 SWBD34 drwxr-xr-x 3 xxxx users 4096 2013-12-19 18:09 SWBD36 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:09 SWBD37 drwxr-xr-x 3 xxxx users 12288 2013-12-19 18:10 SWBD42 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD43 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD44 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD45 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD46 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD47 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD50 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD51 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD52 drwxr-xr-x 3 xxxx users 4096 2013-12-19 18:10 SWBD55 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:10 SWBD58 drwxr-xr-x 3 xxxx users 12288 2013-12-19 18:12 SWBD62 drwxr-xr-x 3 xxxx users 12288 2013-12-19 18:12 SWBD63 drwxr-xr-x 2 xxxx users 4096 2013-12-19 18:12 SWBD64 I tried to upgrade switch OS with above version is its failing with below errors ED_48000B:xxxx> firmwaredownload Server Name or IP Address: xx.xx.xx.xx User Name: xxxx File Name: /home/xxxx/v6.0.0c/release.plist Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 3 Password: Checking system settings for firmwaredownload... Protocol selected: SCP Trying address-->AF_INET IP: xx.xx.xx.xx, flags : 2 The server is inaccessible or firmware path is invalid. Please make sure the server name or IP address, the user/password and the firmware path are valid. If SCP is selected, SSH server must support password authentication. I tried to repack this FOS folder as download command is not able to pick it and in this case, it moves forward a bit ED_48000B:xxxx> firmwaredownload Server Name or IP Address: xx.xx.xx.xx User Name: xxxx File Name: /home/xxxx/v6.0.0c.tar Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 3 Password: Checking system settings for firmwaredownload... This command will upgrade the firmware on both CP blades. If you want to upgrade firmware on a single CP only, please use -s option. You may run firmwaredownloadstatus to get the status of this command. This command will cause a warm/non-disruptive boot on the active CP, but 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. Firmware download failed on standby CP - Unable to access the package list file. Check whether the file name is specified properly. (0x12) Please use firmwaredownloadstatus and firmwareshow to see the firmware status.
Occasional Contributor
Posts: 11
Registered: ‎12-12-2013

Re: Issues with Brocade FOS upgrade

This is horrible, the way this page is accepting the text Smiley Sad I will try to attach it as document
Occasional Contributor
Posts: 11
Registered: ‎12-12-2013

Re: Issues with Brocade FOS upgrade

 
Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: Issues with Brocade FOS upgrade

Why dont you try to upgrade it via FTP instead?

You could also run the firmwaredownload from a win server to see if it fails.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.