Connectrix:如何使用 SANnav、CLI 和织锦 USB 收集织锦 Supportsave 日志
Summary: Connectrix:如何使用 SANnav、CLI 和织锦 USB 收集织锦 Supportsave 日志。
Symptoms
提供有关如何使用 SANnav UI、SSH (CLI) 和织锦 USB 正确收集织锦 Supportsave 的说明和示例。
用户不熟悉如何收集织锦 Supportsave 的过程。
Cause
Resolution
使用 SANnav 收集交换机 Supportsave 文件:
-
选择 SANnav >ServicesSupportsave Management>

- 此时将显示 Supportsave Management 对话框。选择要生成 Supportsave 的所有或单个交换机。
- 选择交换机右侧的下拉箭头,然后选择 Generate 以收集各个交换机

-
-
选中 Chassis Name左侧的复选框,然后从 Action 下拉框中选择 Generate以收集所有交换机
-

-
选择 Generate 后, 将打开 Generate Supportsave 对话框,其中包含多个选项供用户选择:
1 - Select the desired protocol => SFTP / SCP 2 - FRU Dump: => only FRU dump data will be collected. 3 - Include prefix to the file name: => Can add for example datacenter name, or any other prefix. 4 - Upload Generated file after completion: => Can automatically upload the file to FTP / SFTP / SCP site. 5 - Use password to protect file: => Can give the compressed file a password if needed. 6 - Reset Counter: => Reset the counters on the switch AFTER the collection.

-
启动 Supportsave 后,“ Supportsave 管理”对话框中的状态会在 “状态”列下显示进度

-
完成 Supportsave 的生成后,在 Generated Files选项卡上的同一对话框中,可以看到收集的 Supportsave。使用右侧的下拉框,将收集的 Supportsave 下载到本地系统以进行进一步处理。

使用 Fabric OS CLI 收集交换机 SupportSaves:
提醒:这需要与交换机位于同一 IP 网络上的内部文件传输协议 (FTP) 或安全复制协议 (SCP) 服务器,或者 IP 网络中必须有可连接到 FTP 或 SCP 服务器的路由。
- 使用 telnet 或 SSH 上的用户帐户登录交换机
- 在命令提示符处,键入以下 CLI 命令以进行交互式使用
supportsave
- 回答以下提示:
- 提供 FTP 服务器的 IP 地址
- 提供 FTP 服务器的用户名和密码
- 选择协议(例如 FTP)
- 要将文件转储到的 FTP 服务器上的远程目录
supportftp 命令,运行 supportsave 将这些保存的参数使用 supportsave -c 命令指定可选的 spindle-group 参数,您可以实现这一点。
示例:
#> supportsave
此命令从活动和备用 CP 收集 RASLOG、TRACE、supportShow、核心文件、FFDC 数据和其他支持信息,然后将其传输到 FTP、SCP 或 SFTP 服务器或 USB 设备。本地 CP、远程 CP 和 BP 的信息将被保存,但 Supportshow 信息仅在活动 CP 上可用。此作可能需要几分钟时间。
OK to proceed? (yes, y, no, n): [no] y Host IP or Host Name: 10.10.10.10 (IP address of FTP/SCP server) User Name: anonymous (user name used to login to the FTP/SCP server) Protocol (ftp | scp | sftp): ftp Remote Directory: /temp (folder in the root directory of the FTP/SCP server that you want to dump the files to.) Saving support information for switch:Brocade, module:RAS...
使用 Brocade 标签 USB 收集交换机 Supportsave 文件:
提醒:在 Fabric OS 版本 9.0 之前, 您必须 使用标记为 USB 的织锦,因为它具有特殊的文件系统。这不适用于任何其他 USB。此外,从 Fabric OS 版本 9.0 及更高版本开始,支持通用 USB 驱动器。请参阅发行说明,了解推荐的通用品牌 USB 驱动器。
- 使用 CLI 命令装载 USB:
usbstorage e
- 使用 CLI 命令列出 USB 内容:
usbstorage l
- 运行 Supportsave 命令以使用 CLI 命令创建文件夹并转储文件:
supportsave -U -d <directory>
- 使用 CLI 命令列出 USB 内容,以确认所有文件都在那里。它位于名为 Support 的根文件夹下。
usbstorage l
- 使用以下命令禁用 USB 驱动器,然后将其从交换机中移除:
usbstorage d
-
将日志文件收集到可传输到戴尔的位置后,对其进行压缩。
交换机 Supportsave 的文件名格式为:
<Switchname>-<SlotCP#>-<YearMonthDayTime>.Filename.Extension Example: #> usbstorage -e Trying to enable USB device. Please wait... USB storage enabled #> usbstorage -l firmware\ 1775MB 2009 May 20 13:05 v6.4.2a\ 900MB 2012 Mar 09 18:31 v6.3.1b\ 875MB 2012 Feb 21 17:16 config\ 0B 2009 May 20 13:05 support\ 0B 2009 May 20 13:05 firmwarekey\ 0B 2009 May 20 13:05 cryptocfg\ 1kB 2013 Jan 22 16:40 bes_CPcert.pem 1kB 2013 Jan 22 16:40 Available space on usbstorage 4% #> supportsave -U -d support Saving support information for switch:ES_5832B, module:RAS... ..................................... Saving support information for switch:ES_5832B, module:AP_SS... #> usbstorage -l firmware\ 1775MB 2009 May 20 13:05 v6.4.2a\ 900MB 2012 Mar 09 18:31 v6.3.1b\ 875MB 2012 Feb 21 17:16 config\ 0B 2009 May 20 13:05 support\ 0B 2009 May 20 13:05 support\ ES_5832B-S0bp-201311251742.support.tar [output truncated..] firmwarekey\ 0B 2009 May 20 13:05 cryptocfg\ 1kB 2013 Jan 22 16:40 bes_CPcert.pem 1kB 2013 Jan 22 16:40 Available space on usbstorage 4% #> ...usbstorage -d USB storage disabled
Additional Information
请参阅此视频:
您也可以在 YouTube 上观看此视频。
如果有可能必须使用已结束支持的产品 Connectrix Manager Converged Network Edition (CMCNE) 收集 Supportsave,请执行以下步骤:
使用 CMCNE 收集交换机 Supportsave 文件:
-
选择 显示器 >技术支持 >产品/主机 Supportsave
此时将显示 Technical Supportsave 对话框

- 能够遍历整个结构或单个交换机。
-
将切换移至右侧菜单后,单击 OK 以开始收集过程。此时将打开一个新窗口,其中显示每个交换机的进度。
