LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvs failback patch

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ipvs failback patch
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 22 Nov 2005 04:43:47 +0000 (UTC)
Ranga Nathan <kairanga@xxxxxxx> wrote:
> 
> 
> Horms wrote:
> 
>>Ranga Nathan <kairanga@xxxxxxx> wrote:
>>  
>>
>>>Karl Kopper's Linux Enterprise Cluster talks about the availability of  
>>>a kernel patch to failback from the backup to the master that keeps the 
>>>connections alive.
>>>I could not find it on the linuxvirtualserver.org site. I see the latest 
>>>versions but they are in source format. Somehow I am unable to do rpm 
>>>--rebuild <sourcerpm>
>>>
>>>The current version I have is: ipvsadm v1.24 2003/06/07 (compiled with 
>>>getopt_long and IPVS v1.2.0)
>>>    
>>>
>>
>>Could you be a little more specific about the patch
>>(or at least give a page refernce in the book).
>>  
>>
> It is the NOTE at the bottom of p276 (Stateful Failover of the IPVS Table)
> 
>>I am suspecting that this patch is no longer needed.
>>  
>>
> When it fails over, the connections are retained. When it fails back, 
> the connections are broken.
> I simulated this by rebooting (this is my lab machine!)  the directors.

Ok, I'm still a little confused, but I think what he is talking
about is being able to run the master and backup daemons on
both linux-directors at the same time. That patch was merged
into the kernel a while ago now, and the chances are that
you can do this without patching. To test, try running:

ipvsadm --start-daemon master
ipvsadm --start-daemon backup

Which if it works, will improve things somewhat.

-- 
Horms


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