keepalived does not configure LVS

Bill Shupp hostmaster at shupp.org
Thu May 25 19:26:29 BST 2006


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

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list