LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: keepalived does not configure LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: keepalived does not configure LVS
From: Brad Dameron <brad@xxxxxxxxxx>
Date: Thu, 25 May 2006 14:11:39 -0700
On Thu, 2006-05-25 at 11:26 -0700, Bill Shupp wrote:
> Bill Shupp wrote:
> > Brad Dameron wrote:
> > 
> >> Looks ok. I had this same problem with a RPM of keepalived. I had to
> >> compile it from source so that it used the ipvs information from my
> >> kernel. That would be my next step.
> > 
> > I tried that as well, but it behaves the same way.  Incidentally, the
> > backup director has the same issue.  Failover works fine, by the way.
> > It's only the ipvs information that is not being setup.
> 
> My mistake... the src build indeed did NOT have LVS support, I needed to
> install the kernel source to provide net/ip_vs.h.
> 
> "yum install kernel-devel"
> 
> ... worked fine, but I did need to preface
> 
> "./configure"
> 
> with ...
> 
> "CPPFLAGS=-I/usr/src/kernels/2.6.9-34.0.1.EL-i686/include"
> 
> One other error in my config was that the real_server directives were
> missing the port number, which defaults to 0 (and hence doesn't work).
> 
> Thanks again,
> 
> Bill Shupp

Or ./configure --with-kernel-dir=/usr/src/kernels/2.6.9-34.0.1.EL-i686
should do the trick too.

And I didn't realize it was you Bill until re-reading my this. Glad to
see you still around.

Qmail/Vpopmail Autorespond guy.

Brad Dameron
SeaTab Software
www.seatab.com


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