> The director queries each real server and uses the returned loading level as
> that servers weighting value for a WLC balancing algorithm
...
> Has anyone done this?
The feedbackd system is fairly similar to what you describe - it changes the
weights of the servers depending on the current "health" of each node:
http://www.redfishsoftware.com.au/projects/feedbackd/
Feedbackd uses "agent" processes to monitor server health, which report it to
a "master" process on the director. The master then alters the server's
weight in the ipvs tables accordingly.
However, it doesn't calculate the estimated cost of each incoming request - to
do so would require inspection of the application-layer data in each packet,
and would break the protocol independece of LVS. If you are prepared to use a
protocol-specific load balancing system, you can employ a layer-7 load
balancer, like ktcvps:
http://www.linuxvirtualserver.org/software/ktcpvs/ktcpvs.html
Jeremy
|