クラスタスイッチのログ収集が開始されるが失敗する
環境
- ONTAP 9
- Ciscoスイッチ
問題
- クラスタスイッチのログ収集を有効にし、「Ciscoクラスタスイッチの定期的なスイッチログデータ収集を有効にする方法」の設定に従って設定します。
system switch ethernet log show
の出力にはscheduled
定期的なロギングが およびnever-run
であることが示されています。
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.