LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Failover and resets

To: Anoop Bhat <ABhat@xxxxxxxxxxxxx>
Subject: Re: [lvs-users] Failover and resets
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Fri, 22 Oct 2010 00:53:06 +0200
On Thu, Oct 21, 2010 at 03:50:17PM -0500, Anoop Bhat wrote:
> Hi,
> 
> Just a couple questions if someone has experience. We have two real
> servers in an LVS-DR setup with arptables_jf load balancing ssh
> connections. These connections are sometimes kept open for very long
> periods of time and we're wondering how failover works with a setup like
> this.
> 
> 
>  1.  Does the secondary lvs server which just started ipvs and sent
>  gratuitous arp to take over the VIP send resets to those connections
>  which it doesn't know about or does it simply not respond because it
>  doesn't know the state of the connection?

They will be reset when their next packet arrives
unless you use the synchronisation daemon to mitigate this effect.

>  2.  Anyone have any experience with ssh load balancing and learned any
>  good lessons that we can take advantage of?

My advice is to start simple and work from there.

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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