问题
尝试升级时,为什么会出现以下错误:
Failure downloading upgrade list. (Error performing upgrade: I/O error).
Errors when trying to upgrade. Failure downloading upgrade list.
(Error performing upgrade: I/O error opening URL '<download URL>')?
出现此错误的原因有以下几个:
- 无法通过DNS解析升级服务器主机名(缓存条目可能为负数)
- 用于升级的接口无法与升级服务器通信。
请参阅以下每个场景的解决方案。
无法解析升级服务器DNS(缓存条目可能为负)
要验证错误的DNS是否导致了此问题,请运行以下CLI命令:
WSA.CLI > nslookup downloads.ironport.com
如果未返回任何关联的IP地址,请运行dnsflush命令。这将强制WSA重新请求升级服务器的DNS。
Is 'nslookup' of the domain "downloads.ironport.com" successful on the WSA?
-------------------------------------------------------------------------------------
- 在这种情况下,建议尝试其他DNS服务器或检查原因
已配置的DNS服务器未解析思科更新服务器的主机名
- 如果是,请使用CLI命令“dnsflush”刷新DNS缓存并强制DNS查找
WSA.CLI> dnsflush
Are you sure you want to clear out the DNS cache? [N]> y
现在可以成功运行upgrade命令。
检查CLI命令“upgrade”是否返回错误。
wsa.example.com (SERVICE)> upgrade
Failure downloading upgrade list. (Error performing upgrade: I/O error
opening URL
'http://downloads.ironport.com/asyncos/upgrade/?serial=
&version=
&product=
')
示例
wsa.example.com (SERVICE)> nslookup downloads.ironport.com
A=64.62.193.129 TTL=30m
A=64.62.193.134 TTL=30m
wsa.example.com (SERVICE)> dnsflush
Are you sure you want to clear out the DNS cache? [N]> y
wsa.example.com (SERVICE)>
wsa.example.com (SERVICE)> upgrade
Upgrades available:
1. AsyncOS 7.5.2 build 303 upgrade For Web .....
[1]>
The interface being used for upgrades cannot communicate to the
upgrades server
如果用于升级的接口不正确,也可能会返回此错误。
当使用M1和P1接口时,根据网络部署,可能只有P1接口可以访问Internet,并且应该是用于升级的正确接口。如果将WSA配置为在这种情况下使用M1,则可能导致升级回迁失败,导致“下载失败……”错误。
以下是通过CLI更改升级界面的说明:
WSA.CLI> updateconfig
Upgrade source: http://downloads.qa/asyncos/upgrade/
Upgrade interface: AUTO
Proxy server: not in use
Choose the operation you want to perform:
- SETUP - Edit upgrade configuration.
[]> setup
Please select the upgrade source you want to use for AsyncOS updates:
1. Use Cisco update servers
2. Use own server
[1]>
.......
Choose the routing table to use
1. Data
2. Management
[1]> 1
..... Press
till you reach the CLI prompt ......
WSA.CLI> commit
注意:请注意,除非发出“commit”,否则上述更改不会生效。