LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: active-active only works with kernel 2.4.26?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: active-active only works with kernel 2.4.26?
From: Michael Spiegle <mike@xxxxxxxxxxxxxxxx>
Date: Wed, 08 Nov 2006 00:20:41 -0800
I'm looking at the stuff in here:
http://www.ultramonkey.org/download/conn_sync/

Are you running both directors as active at the same time?  There's a
very specific variable in the ip_vs_user_sync.h header which is
missing.  The patch i'm supposed to apply creates a file in
kernel/net/ipvs which defines this variable.  I just downloaded the
2.4.26 kernel and patched it, but now i'm having trouble getting it
built.  Maybe the LVS gods don't want me using active-active for some
reason :(

---
Michael Spiegle
mike@xxxxxxxxxxxxxxxx



Sebastian Vieira wrote:
> Hi,
>
> The only patch that i can think of (i'm running gentoo as well - with
> kernel
> 2.6.x) is one that fixes the high load avg that can sometimes occur when
> running both sync daemons. I did a quick google on it and it basicly
> involves changing:
>
> - __set_current_state(TASK_INTERRUPTIBLE);
> - schedule_timeout(HZ);
>
> for
>
> + ssleep(1);
>
> in ./net/ipv4/ipvs/ip_vs_sync.c
>
> Else, i don't know what patch you mean :)  IPVS is part of the kernel
> so you
> don't need to patch it any more.
>
>
> Sebastian
>
> On 11/8/06, Michael Spiegle <mike@xxxxxxxxxxxxxxxx> wrote:
>>
>> Hi all!
>>
>> I just just built 2 fresh gentoo boxes for testing active-active.  I had
>> some issues compiling the libip stuff, and it seems like I need to apply
>> a patch that only works for kernel 2.4.26.  Can anyone confirm this?
>> The documentation doesn't appear to have a section listing requirements,
>> but I may have missed it.
>>
>> Thanks in advance!
>>
>> ---
>> Michael Spiegle
>> mike@xxxxxxxxxxxxxxxx
>>
>> _______________________________________________
>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
>

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