PowerScale:Isilon: OneFS - 如何收集 NDMP 流量的 PCAP

Summary: 此知識文章旨在提供逐步指示,說明如何收集 NDMP 流量的 PCAP。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

第 I 部分 - 收集 NDMP 和網路資訊。
1.記錄正在執行 NDMP 工作階段的節點和 DMA 的 IP 位址。在此範例中,NDMP 工作正在節點 10 上執行,工作階段 ID 68221。DMA 的 IP 為 x.x.188.14
cluster-1# isi ndmp sessions list
Session Data Mover OP Elapsed Time Bytes Moved Throughput
----------------------------------------------------------------------
10.68221 ACTIVE IDLE B(tS10+) 3h 32m 1.0775TB 162.09MB/s
----------------------------------------------------------------------
Total: 1
cluster-1# isi ndmp sessions list --verbose
Session: 10.68221 <--- Node 10, session ID 68221
Client: x.x.188.14 <--- DMA IP address 
Remote DS: Local
Start Time: Tue Jun 30 06:46:10 2020
Elapsed Time: 3h 32m
Operation: B(S10+)
Source Path: /ifs/data
Destination Path:
Data State: ACTIVE
Mover State: IDLE
Bytes Moved: 1.0792TB
Throughput: 161.50MB/s
Tape:
Media Changer:
cluster-1#


第 II 部份 - 擷取封包並上傳檔案至 Isilon 支援。
1.建立目錄以儲存封包擷取。  
# mkdir -p /ifs/data/Isilon_Support/$(date +%F)

2.開始封包擷取。這些值定義如下:

- <DMA_IP>。DMA 的 IP 位址 (第 I 部分步驟 1)。


>節點上的所有介面(第 1 部分步驟 1 中的節點編號)。
# for iface in `isi_for_array -n <node_number> ifconfig | grep -B3 ether | grep flags | egrep -v "laggport|lo0|ISIINTERNAL" | cut -d: -f1` ; do isi_for_array -n <node_number> tcpdump -i $iface -s 600 -C 200 -W 4 -w /ifs/data/Isilon_Support/$(date +%F)/`hostname`.${iface}_$(date +%F_%H%M%S).pcap host <DMA_IP> &>> /ifs/data/Isilon_Support/$(date +%F)/$(uname -n).$(date +%F_%H%M%S).$iface.log & ; done


3.重新產生事件後,請終止整個叢集的 Tcpdump 程序,並驗證沒有任何過時的 PID: 
# isi_for_array -X 'killall -SIGINT tcpdump'
# isi_for_array ps -auxx | grep tcpdump 

4.將完整記錄和 PCAP 上傳至 Isilon 支援。 
# isi_gather_info -f /ifs/data/Isilon_Support/$(date +%F)

Additional Information



Article Properties
Article Number: 000195255
Article Type: How To
Last Modified: 10 Oct 2024
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.