LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Keepalived, localnode and localnode on BACKUP

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Keepalived, localnode and localnode on BACKUP
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Tue, 15 Apr 2008 13:58:19 +0100
Hi

On Tue, 2008-04-15 at 13:31 +0100, Thomas Pedoussaut wrote:
> I came across the packet storm problem where when the MASTER forwards a 
> connection to the real server on the BACKUP (via DR), the BACKUP treats 
> it as a VIP connection to be loadbalanced rather than a real server 
> connection to process. And decides to load balance it back to the MASTER 

You need a variant of the following two posts:

http://lists.graemef.net/pipermail/lvs-users/2007-December/020222.html
http://lists.graemef.net/pipermail/lvs-users/2007-December/020223.html

Essentially, you make LVS use fwmarks instead of the VIP, and you only
mark packets which are *not* from the other director.

Graeme



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