跳转到主内容

集群交换机日志收集已启动、但失败

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
hw
Last Updated:
Invalid Date

适用场景

  • ONTAP 9
  • Cisco 交换机

问题描述

cluster::> system switch ethernet log show
                     Periodic   Periodic   Support
Switch                  Log Enabled Log State  Log State
---------------------------------------------------- ----------- -----------
cluster.switch.1(XXXXXXXXXXX) 
                     true    scheduled never-run
cluster.switch.2(XXXXXXXXXXX) 
                     true    scheduled never-run
2 entries were displayed.

  • 将启动日志请求、并且不会出现错误:

cluster::> system switch ethernet log collect-support-log -device cluster.switch.1(XXXXXXXXXXX)
"cluster.switch.1(XXXXXXXXXXX)":Waiting for the next Ethernet switch polling cycle to begin support collection.
         
cluster::> system switch ethernet log collect-support-log -device cluster.switch.2(XXXXXXXXXXX)
"cluster.switch.2(XXXXXXXXXXX)": Waiting for the next Ethernet switch polling cycle to begin support collection.

  • 启动日志收集后,initiated  状态 将反映在 system switch ethernet log show 中:

cluster::> system switch ethernet log show
                     Periodic   Periodic   Support
Switch                  Log Enabled Log State  Log State
---------------------------------------------------- ----------- -----------
cluster.switch.1(XXXXXXXXXXX) 
                     true     scheduled initiated
cluster.switch.2(XXXXXXXXXXX) 
                     true     scheduled initiated
2 entries were displayed.

  • 启动日志收集后,Support Log Requested 将 在 system switch ethernet log show-instance 中显示true

cluster::> system switch ethernet log show-instance

          Switch Name: cluster.switch.1(XXXXXXXXXXX)
      Periodic Log Enabled: true
      Periodic Log Status: Periodic log collection has been scheduled to run every hour.
     Support Log Requested: true
       Support Log Status: Waiting for the next Ethernet switch polling cycle to begin support collection.

          Switch Name: cluster.switch.2(XXXXXXXXXXX)
      Periodic Log Enabled: true
      Periodic Log Status: Periodic log collection has been scheduled to run every hour.
     Support Log Requested: true
       Support Log Status: Waiting for the next Ethernet switch polling cycle to begin support collection.
2 entries were displayed.

  • 经过一段时间后,system switch ethernet log show 输出将指示日志收集为failed
cluster::> system switch ethernet log show      
                      Periodic   Periodic   Support
Switch                   Log Enabled Log State  Log State
----------------------------------------- ----------- ----------- -----------
cluster.switch.2(XXXXXXXXXXX) 
                      false    failed   failed
cluster.switch.2(XXXXXXXXXXX) 
                      false    failed   failed
2 entries were displayed.

 

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.