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.
1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108
The problem is that the Barracuda 440 appears to truncate the OID at 40 characters. Any suggestions?
VMware
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 ?
DPI-User
ASKER
Yes. We need to determine a way to get the average CPU load on a VM server, which uses vCPUs.