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?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)