跳转到主内容

如何从Brocade交换机收集supportsave

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

适用场景

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

描述

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

操作步骤

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

switch> supportsave

此命令从活动和备用CPS收集RASLAG、TRACE、supportShow、核心文件、FFDC数据和其他支持信息、然后将其传输到FTP/SCP服务器或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...

....

注意

  • 如果FTP无法使用Windows主机、则也可以使用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.