I've looked through the CLI guide for 7.2 and cannot find this command listed at all. There is no man page either. When I run this on our NL400 it doesn't capture anything in or out of the 10gig interfaces, only the management ports. Is this expected?
What I am trying to do is just capture traffic out of all 3 nodes on the 10gige-1 interfaces, not all the others. There is no LACP in play.
I tried using the isi_for_array with tcpdump on them but it complained about invalid interface names yet I could run tcpdump against a single if with the same syntax. Makes no sense to me.
I realize this is not exactly what your asking for as you mention only wanting 10gige interfaces and the following command captures for all interfaces but it will name the pcaps appropriately for the interface that it captures on and it will do it for the array by hostname and interface name you can always delete the unneeded interfaces or modify as needed.
thanks guys, that was exactly what I was looking for. I didn't realize the names of these interfaces is different in the UI than physically seen with ifconfig, plus my searching the knowledge base for that command kept turning up nothing. Got my captures now though.
can isi_netlogger take -w parameter and if so, if you need to capture from vlanX interface on multiple nodes what syntax would i use ? Where would the pcap file reside ..on each node ?
Once isi_netlogger is stopped any way you ran it, it will bundle all the pcaps up and delete the folders it created and the .pid file. You will find the bundle in /ifs/netlog/bundled (note, if netlogger created a lot of files and/or the files are very large, this process may take some time)
it will look like the following:
ls -l /ifs/netlog/bundled
total 102
-rw-r--r-- 1 root wheel 686 Aug 22 23:52 netlog-2013-08-22_23.52.02.tar.bz2
yfvm-7201-1: root 14011 0.0 0.2 30772 4736 ?? D 4:20PM 0:00.56 /usr/sbin/tcpdump -U -w /ifs/netlog/yfvm-7201-1/netlog-yfvm-7201-1.em3.2016-05-19_16.20.01.pcap -i em3 not arp
yfvm-7201-2: root 14072 0.0 0.2 30772 4888 ?? S 4:20PM 0:00.06 /usr/sbin/tcpdump -U -w /ifs/netlog/yfvm-7201-2/netlog-yfvm-7201-2.em3.2016-05-19_16.20.01.pcap -i em3 not arp
yfvm-7201-3: root 13881 0.0 0.2 30772 4696 ?? S 4:20PM 0:00.11 /usr/sbin/tcpdump -U -w /ifs/netlog/yfvm-7201-3/netlog-yfvm-7201-3.em3.2016-05-19_16.20.01.pcap -i em3 not arp
And when you ctrl-c from the terminal where you launched isi_netlogger it will bundle the individual capture files as mentioned by D_Tracy.
Notice in the output below that I have 2 files per node since by default it captures for 10 minutes before rotating the file and it will keep 3 files per node (by default). This can be adjusted with the -t (how many minutes before rotating) and -k (how many files to keep) flags.
yfvm-7201-1# tar ztvf /ifs/netlog/bundled/netlog-2016-05-19_16.32.02.tar.bz2
drwxr-xr-x 2 root wheel 0 May 19 16:30 ifs/netlog/yfvm-7201-1/
-rw-r--r-- 0 root wheel 76185 May 19 16:29 ifs/netlog/yfvm-7201-1/netlog-yfvm-7201-1.em3.2016-05-19_16.20.01.pcap
-rw-r--r-- 0 root wheel 3718 May 19 16:32 ifs/netlog/yfvm-7201-1/netlog-yfvm-7201-1.em3.2016-05-19_16.30.01.pcap
drwxr-xr-x 2 root wheel 0 May 19 16:30 ifs/netlog/yfvm-7201-2/
-rw-r--r-- 0 root wheel 2970 May 19 16:29 ifs/netlog/yfvm-7201-2/netlog-yfvm-7201-2.em3.2016-05-19_16.20.01.pcap
-rw-r--r-- 0 root wheel 713 May 19 16:30 ifs/netlog/yfvm-7201-2/netlog-yfvm-7201-2.em3.2016-05-19_16.30.01.pcap
drwxr-xr-x 2 root wheel 0 May 19 16:30 ifs/netlog/yfvm-7201-3/
-rw-r--r-- 0 root wheel 12619 May 19 16:30 ifs/netlog/yfvm-7201-3/netlog-yfvm-7201-3.em3.2016-05-19_16.20.01.pcap
-rw-r--r-- 0 root wheel 318 May 19 16:30 ifs/netlog/yfvm-7201-3/netlog-yfvm-7201-3.em3.2016-05-19_16.30.01.pcap
Yan_Faubert
117 Posts
4116
0
Posted May 17th, 2016 14:00
Check this KB.
OneFS: How to gather Isilon cluster diagnostics using the isi_netlogger command
https://support.emc.com/kb/304448