Connectrix Brocade:FOS 升级失败,并显示事件代码“syntax error near unexpected token '=~'”

Summary: FOS 升级失败,并显示事件代码“syntax error near unexpected token”和“$duplicates_exist =~ ERROR”。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

BrocadeSwitch:管理> 固件下载
服务器名称或 IP 地址:172.xxx.xxx.xxx
用户名:ftpuser
文件名:v9.1.1d1_G6_ENTRY
网络协议(1-自动选择、2-FTP、3-SCP、4-SFTP)[1]:2
密码:
服务器 IP:172.xxx.xxx.xxx,协议 IPv4
正在检查固件下载的系统设置...
您是否接受并同意此产品的最终用户许可协议 (EULA) 中概述的条款?
请回复 (Y/y) 表示接受,(N/n) 表示不接受,或 (D/d) 显示 EULA):y
/tmp/fwdl-1139/preinst: line 3454: conditional binary operator expected
/tmp/fwdl-1139/preinst: line 3454: syntax error near unexpected token '=~'
/tmp/fwdl-1139/preinst: line 3454:' if [[ $duplicates_exist =~ ERROR ]]then'

在下载指定的固件之前,请解决以下问题:

固件下载失败。
BrocadeSwitch:admin>

Cause

当使用“firmwaredownload”命令时跳过升级路径中的跃点时,会出现此问题。
例如,在这种情况下,FOS 升级会尝试绕过 9.0.x 版本,直接从版本 8.2.3c 移至版本 9.1.1d1。

Resolution

要避免此问题,请按照以下步骤进行无中断升级:
 

  1. 从 Fabric OS v8.2.x 升级到 Fabric OS 9.0.x。

  2. 从 Fabric OS 9.0.x 升级到 Fabric OS 9.1.x(确保您具有有效的 Brocade TruFOS 证书)。

  3. 从 Fabric OS 9.1.x 升级到 Fabric OS 9.2.0.x。

  4. 最后,从 Fabric OS 9.2.0.x 升级到 Fabric OS 9.2.1

此顺序可确保顺利和稳定的升级过程。

Additional Information

Fabric OS 软件不支持从早于所安装主版本的任何版本进行无中断升级。
例如,仅从 Fabric OS v9.2.0x 开始支持到 Fabric OS v9.2.1 的无中断升级。
从较早版本的 Fabric OS(例如 Fabric OS v9.1.x)升级只能以中断方式进行。

 

可以使用“firmwaredownload -s”命令执行中断性直接升级,以在单 CP 模式下从 Fabric OS v9.0.1x 移至 v9.2.1。

参考手册:
https://techdocs.broadcom.com/content/dam/broadcom/techdocs/us/en/pdf/fc-networking/software-upgrade/fos-92x-upg.pdf
第三方链接图标
https://techdocs.broadcom.com/content/dam/broadcom/techdocs/us/en/pdf/fc-networking/software-upgrade/fos-91x-upg.pdf 第三方链接图标
https://techdocs.broadcom.com/content/dam/broadcom/techdocs/us/en/pdf/fc-networking/software-upgrade/fos-90x-upg.pdf 第三方链接图标

Affected Products

Connectrix B-Series Fabric OS 9.X
Article Properties
Article Number: 000227492
Article Type: Solution
Last Modified: 02 Aug 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.