Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We run a couple of onapp nodes that connect through iSCSI to a SAN. This is now using up all bandwidth and we want to know where it is coming from, we have been search for days now and would like to ask the community.

iftop:

 x.x.x.x  => y.y.y.y  279Mb   239Mb   239Mb
          <=          7.09Mb  5.74Mb  5.74Mb

If you need any information, please leave a comment.

share|improve this question
2  
What? Either it's coming from the IP x.x.x.x or y.y.y.y. Those should be in your network and under your control. –  SvW Jul 22 '13 at 12:01
    
x.x.x.x is sending data to y.y.y.y. They are under our control, however we don't know how to find the VM that is creating the high outgoing traffic to the SAN –  Marco Jul 22 '13 at 12:07
2  
If you can't find out which of your VMs create such amounts of traffic, you have major problems in the way you maintain your systems. But you don't even tell us what kind of virtualization you use. –  SvW Jul 22 '13 at 12:12
    
qemu-kvm VM's on a ONAPP node –  Marco Jul 22 '13 at 12:14
add comment

2 Answers

I have no idea about ONAPP, but if you have virsh, you can get traffic statistics like so:

virsh domifstat <domname> <ifname> 

and if you don't even know the interface names, you get them with

virsh domiflist <domname>

Example:

#> virsh domifstat myvm vnet2
vnet2 rx_bytes 3684910384
vnet2 rx_packets 29540870
vnet2 rx_errs 0
vnet2 rx_drop 0
vnet2 tx_bytes 1444997265
vnet2 tx_packets 12615196
vnet2 tx_errs 0
vnet2 tx_drop 0
share|improve this answer
    
Do you know how this will work for disk activity? because its not "internet" activity but iSCSI –  Marco Jul 22 '13 at 12:40
    
Incidentally, the i in iSCSI stands for "Internet". It is SCSI encapsulated in TCP and is usually just "normal" network traffic. But a short virsh help would reveal the subcommands domblkstat and domblklist which do the same thing as the if commandos, but for block devices. –  SvW Jul 22 '13 at 13:00
add comment
up vote 0 down vote accepted

The problem was a full disk in one of the storage servers, it was trying over and over, so check your disks!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.