LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord double checks url

To: it-intuition <gerd.pickel@xxxxxxxxxxxxxxx>
Subject: Re: ldirectord double checks url
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 24 Apr 2007 12:28:18 +0900
On Fri, Apr 06, 2007 at 12:32:50AM +0200, it-intuition wrote:
> Hello,
> 
> I run a two node loadbalancer with ldirectord (version 1.2.5-1) and
> heartbeat (version 1.2.5-1) on Debian Sarge for several months now. Now
> I discovered that the first node always sends two requests to our
> webservers and the second node only sends one request. Does this issue
> belong to my outdated versions of ldirectord+heartbeat (I know I should
> update to version 1.2.5-3 ...) or did I misconfigure the hole thing?
> Anyhow, the loadbalancer acts as expected.

How are you starting ldirectord. If you have it listed in linux-ha's
haresorces file, then it should only run on the active node and you
shouldn't see the connection duplication that you observed. If you
run ldirectord standalone from init then you will.

I personally don't think that extra checks are a problem. But
if they bother you, try the haresources approach.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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