Am Montag, 21. April 2008 13:20 schrieb Christoph Petersen:
> Hi Michael,
(...)
> I'm using round robin load balancing from DNS right now. But it's simply
> switching the host every time. What I would like to have a small daemon or
> something which keep track how many processes are running on each node so
> how the load is distributed. In my setup with peaks the load is sometimes
> distributed very unequally.
>
> Can I do something like this with LVS? I didn't play around with LVS yet so
> I haven't any experience yet..
>
> BR
> Christoph

Hi,

DNS has an failover time of ~60 secs. Sometimes this is not acceptable.

LVS is just this what you want. In a simple setup LVS cannot measure the 
actual load (i.e. uptime) of the nodes in the background and distribute new 
connections according to that number. BUT LVS knows about the number of 
actual connections to every node and can distribute load accoring to the 
least number of connections. You even can attach weights to the least 
connections algorithm (wlc).

ldirectord checks every background server for availablility and distributes 
new connctions only to available servers. Failover is measured in seconds, 
not in 10's of seconds.

You can make the whole setup high available with Linux-HA. LVS integrates very 
nicely into that framework. See also chapter "Applications" (sorry: German!) 
of:
http://www.oreilly.de/catalog/linuxhaclusterger/

Christoph: For further questions please contact me off-list.


-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

Reply via email to