跳转到主内容

如何从 Brocade 交换机收集 supportsave

Views:
1,280
Visibility:
Public
Votes:
6
Category:
flexpod-with-infrastructure-automation
Specialty:
brocade
Last Updated:

适用于

  • SAN
  • FlexPod
  • Brocade 交换机上的端口

说明

  • 重要提示:在收集 supportsave 之前,请使用此知识库 执行交换机运行状况检查,使用 chassisshowsupportshow 等命令并记录发现结果。如果需要升级,请继续使用 supportsave
  • 对于 MetroCluster,请使用 MC_DC 收集工具而不是 supportsave
  • 在对 Brocade 交换机进行故障排除时,收集交换机的  supportsave 输出非常有用。
  • 来自 Brocade 交换机的 supportsave 需要连接到 FTP、SFTP 或 SCP 主机才能上传日志。
  • 如果用户没有设置 FTP 服务器,则需要根据用户的操作系统进行设置。
  • 在 FTP 服务器中为案例和每个交换机名称创建一个文件夹用于输出日志,即 brocade_logs

操作步骤

  1. 创建具有指定文件夹的 FTP 服务器后,登录到 Brocade 交换机并运行supportsave 命令:

switch> supportsave

此命令从活动和备用 CP 收集 RASLOG、TRACE、supportShow、核心文件、FFDC 数据和其他支持信息,然后将其传输到 FTP/SCP/SFTP 服务器或 USB 设备。此操作可能需要几分钟时间。

注意supportsave会先传输现有的跟踪转储文件,然后自动生成并传输最新的文件。运行此命令后将会传输两个跟踪转储文件。

  1. 在命令提示符下,输入 y 以继续:

OK to proceed? (yes, y, no, n): [no] y

  1. 输入 FTP 服务器的 IP 地址或主机名:

Host IP or Host Name: <IP address>

  1. 输入 SFTP 的凭据,或留空以使用匿名 FTP:

User Name: <sftp username>, or just press enter for “blank”

Password: <sftp password>, or just press enter for “blank”

  1. 指定传输协议,在本例中为 ftpsftp

Protocol (ftp | scp | sftp): ftp

  1. 输入您在 FTP 根目录下为案例编号和特定交换机创建的目录名称:

Remote Directory: <directory name>

  1. Enter;输出文件将发送至目的地:

Saving support information for switch:brocade200e-rtp, module:RAS...

.........

Saving support information for switch:brocade200e-rtp, module:TRACE_OLD...

Saving support information for switch:brocade200e-rtp, module:TRACE_NEW...

Saving support information for switch:brocade200e-rtp, module:FABRIC...

....

注意

  • 如果 Windows 主机无法用于 FTP,也可以使用 UNIX 主机。
  • 最简单的方法是使用 SCP。确认主机上已安装 SCP,并且已在主机的根卷上创建目录。
  • 接下来,执行与上述相同的步骤,这次使用 UNIX 主机的用户名和密码,为协议指定 SCP,并指定为收集日志而创建的目录的名称。收集日志后,用户可以压缩目录并上传到 NetApp。

请发送所有涉及该问题的交换机上的switch> supportsave输出。如果该问题可以复现,建议在问题复现前和刚复现后分别运行supportsave 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.