In VMWare vSphere, how can I set and track the monthly bandwidth usage of each guest? I need to reduce the network speed when bandwidth usage exceeds 90% or so. What are my options?

  • 2
    I think you are misusing the term "bandwidth." I think you mean data usage. Bandwidth is the speed of a link. – Ron Maupin Sep 22 '17 at 10:03
  • @RonMaupin To be clear, I meant the total incoming/outgoing traffic – Crazyrubixfan Sep 22 '17 at 10:17
  • Right, the data usage. The bandwidth is how fast the data flows, but the data usage is something that ISPs may track and bill. – Ron Maupin Sep 22 '17 at 10:25

Really depends on what you're trying to do. If you want to simply restrict throughput, you can modify the port group traffic shaping to limit outgoing bandwidth to whatever you want your peak to be. It won't work on inbound traffic though, and its per port group. So if you have two port groups set to 90%, it still possible for the combination of the two to exceed 90%.

With a distributed switch, the above scenario potentially becomes a little better because you could using NIOC to limit VM traffic, rather than doing it per port group, but again, only outbound.

If you goal is, how can i trend the data over a month for reporting purposes, and you have vCenter, you can increase your statistics logging to keep more granular data for a longer period of time, but that can blow up your DB really quick and causing performance issues. In this case, it's much better to use a monitoring application and trend your data through it. Something like a Solarwinds or LogicMonitor.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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