跳转到主内容

如何从 Brocade 交换机收集 SupportSave

Views:
546
Visibility:
Public
Votes:
5
Category:
flexpod-with-infrastructure-automation
Specialty:
brocade
Last Updated:

适用场景

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

问题描述

  • 对 Brocade 交换机进行故障排除时,从 supportsave 交换机收集输出非常有用。
  • supportsave Brocade 交换机上的需要连接到 FTP , SFTP 或 SCP 主机才能上传日志。
  • 如果用户未设置 FTP 服务器,则需要根据用户的操作系统进行设置。 
  • 在 FTP 服务器中为此案例创建一个文件夹,并为输出日志创建每个交换机名称,即 brocade_logs

操作步骤

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

switch> supportsave

此命令将从活动和备用 CP 收集 RASLOG , TRACE , supportShow ,核心文件, FFDC 数据以及其他支持信息,然后将其传输到 FTP/SSCP/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 重现该问题之前和之后立即运行。

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.