Srikanth_79730
Mar 14, 2012Nimbostratus
Load balancing based on load feedback from real servers
Hey Guys,
Is there a way to provide load feedback from real servers to vip ?
Assume a VIP has 3 real servers behind it.
Server1
Server2
Server3
Each servers exposes its load via a http url, for example
"http://Server1/load" will provide the load on Server1. Load could be a number as simple as cpu utilization percentage. (Example: 30%)
Now I would like the Load Balancer to periodically(say every 5 secs) poll the load on all the pool members and track it. Whenever a new request comes from client, I want to the Load Balancer to route the request to the Server which has the least load(in our case the host with least cpu utilization).
Can you please let me know if its possible to achieve this in F5 via irules or any other mechanism?
-thanks,
Srikanth