Avatar of DPI-User
 asked on

Using SNMP for load balancing on Barracuda 440 for VMware server pool

We have pools of IIS Web servers running on three ESXi 5.1 hosts. Because each connection to the Web farms is not identical, we do not want to use an algorithm like round robin. We want to load balance website traffic by routing to the server with the lowest CPU load. The Barracuda 440 uses SNMP to see the CPU busy percentage.

The websites are virtual machines running Windows 2008 R2. We are using vSphere Enterprise 5 (ESXi 5.1.0) on 3 HP ProLiant DL380p Gen8 hosts. The number of cores allocated to each VM started at 8 each; but, it may vary per VM host.

We added the SNMP Service component to the Windows OS and configured the Security tab on both. No additional configuration was done on the VM hosts. We installed SNMP Informant on the Windows hosts.

 For multi-CPU machines the following OID will return the average utilization across all processors.

The problem is that the Barracuda 440 appears to truncate the OID at 40 characters. Any suggestions?

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

So are you trying to detect CPU load from within the VM ?

Yes. We need to determine a way to get the average CPU load on a VM server, which uses vCPUs.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck