Re: heartbeat question
Simon Horman <[email protected]> Mon, 29 Mar 2010 14:16:29 +1100
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Mar 28, 2010 at 06:34:09PM -0400, Artyom Khmelnitsky wrote: > Hello, > > We are thinking of utilizing heartbeat for one of our customers. I have > been reading up on the ultramonkey website, but was not able to find an > answer to my question. How does heartbeat choose the backend node? Is it > done randomly like with rrDNS or does it monitor the webserver's load > and choose the one with the lowest? The real-server selection is done by LVS, which is configured by ldirectord through the ldirectord.cf file. They key is the choice of scheduler. Typically ultramonkey uses the wlc scheduler, which basically chooses the scheduler that has the lowest number of connections. A separate project, feedbackd, looked at the idea of monitoring the load on real-servers and by tweaking their weights in the LVS table it was able to send more connections to less loaded servers. Is there a particular scenario you have in mind which calls for scheduling based on server-load? _______________________________________________ Ultramonkey-users mailing list [email protected] http://lists.vergenet.net/listinfo/ultramonkey-users