LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Communication between realservers and LVS

To: Benjamin Lee <benjaminlee@xxxxxxxxxxxxxx>
Subject: Re: Communication between realservers and LVS
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 11 Apr 2000 18:17:34 -0700
On Wed, Apr 12, 2000 at 10:45:26AM +1000, Benjamin Lee wrote:
> 
> I was just wondering how much, if any, communication there is between the
> load balancer running LVS and the real servers? That is, other than the
> directed traffic.
> 
> I think the LVS holds a list of the real servers. And I think heartbeat /
> pulse type s/w has been used to manipulate this list. Is this correct?
> 
> I was wondering if this list could be expanded (if it isn't already used 
> for this) to hold the weighting of the real servers? ie. for the purposes
> of load balancing scheduling algorithms.
> 
> I was thinking that a user space program could sit on each of the real
> servers and then tell the LVS how much it *wants* another connection. This
> *weight* value could be inserted into the list that holds the available
> real servers, and could be incorporated into one of the existing
> scheduling algorithms maybe. Obviously the overhead is a TCP connection
> from the LVS box to each real server. But I think this is acceptable.

I don't know if any implementations have been made available
but certainly such a scheme is workable. ldirectord which ships
as both part of heartbeat and part of IPVS monitors back
end servers and takes them in and out of the pool when failures
occur. In some ways what you are suggesting would be an extension of
this.

-- 
Horms


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