LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: other algorithms?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: other algorithms?
From: Paul Baker <pbaker@xxxxxxxxxxxxxxx>
Date: Tue, 05 Jun 2001 17:12:05 -0500
Joseph Mack wrote:


To do what you want requires an agent on the real-server giving
information about load the server (as mon does to give an up|down
for each service). The use of such agents to monitor the servers
was a matter of much discussion on this list in the early days of LVS
(look for "agents" and "load informed"). The final outcome was that no-one thought the current balanced algorythms bad enough to stop all their other activities to write one that did load-informed load balancing.

There already is an open source "agent" for this very task:

    (from the debian description of the package)

    ruptime - Show host status of local machines.

    Ruptime gives a status line like uptime for each machine on the
    local network; these are formed from packets broadcast by each
    host on the network once a minute.

    This is a port of ruptime from NetBSD.

ruptime would just need to be installed on all your real-servers and then a lvs scheduler would just need to gather the information provided by ruptime and dynamically adjust the "weight" of each server accordingly. Then from that point it could just use wrr or wlc to decide the final connection.

--
=======================================================================
Paul J. Baker                               Internet Systems Technician
pbaker@xxxxxxxxxxxxxxx                                  Where2GetIt.com
phone 847-498-0111x234
fax   847-480-7422
=======================================================================




<Prev in Thread] Current Thread [Next in Thread>