LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Implication of having ldirectord active on both nodes?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Implication of having ldirectord active on both nodes?
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 17 Jun 2005 15:30:35 +0900
On Fri, Jun 17, 2005 at 12:37:18PM +1100, Andy Nguyen wrote:
> Hi all,
> 
> I am using heartbeat and ldirectord between two directors, with heartbeat 
> starting ldirectord.
> 
> What I found was under scheduled failover (ie. using hb_standby/hb_takeover)
> for high rate of incoming traffic (DNS queries in the test), some traffic is 
> sent to the new active director BEFORE ldirectord is ready to accept traffic 
> and therefore lost.
> 
> If I have ldirectord running on both nodes all the time ie. started outside 
> of heartbeat then no packet is lost at scheduled failover.
> 
> I have master/backup sync running on both nodes.
> 
> Is any implication with having ldirectord running on both active and standby 
> node? This way the ipvs table is always setup on both directors, and traffic 
> is offered to the "active" node by heartbeat controlling the VIP on the LAN.

Usually the only imnplication is having extra traffic on your network from
two ldirectord instances running instead of one. If your linux director
is also acting as a real server, then things get a bit more tricky.

-- 
Horms

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