On Tue, 8 May 2001, Schillaci wrote:
> Hi all,
> I have been trying to implement LVS using NAT, for the past 2 weeks and I
> could n't succed with it. Recently I used the kernel 2.2.16. And patched it
> with Virtual Server patch for Linux 2.2.16 - Version 0.9.14. And recompiled
> the kernel and enabled all the required options(ipforwarding,
> ipdefragmenting etc).
>
> Is this enough to enable ipvs? or should I need some more softwares to be
> installed in my machine (which is having Redhat6.2 with kernel 2.2.16). I
> thought of reinstalling it with redhat7.1 which is having 2.4.2 kernel. and
> putting in it with 2.4.4 kernel and the single ipvs-patch for 2.4.4 kernel.
>
I just did set up a LVS-NAT system last week, not having any
experience before.
I used kernel 2.2.19 and the corresponding patches and ipvsadm.
Initially, I used Joe Mack's configure script. It got me a working
LVS system quickly.
I have now dropped that and use a simpler shell script to do the same
configuration, learning what commands I needed out of the configuration
created by Joe's configure script.
(It should have a mode whereit just prints our its commands, instead
of writing the rather wild rc- command file, or the rc-file should
have such a mode to list its commands).
My setup is however simpler than yours, no fail-over, just a single
director with two NIC, and 3 real servers.
Alois
PS: I also tried out kernel 2.4.4 and found it working too, but
for safety's sake - and for ipchains - I went back to 2.2.19.
I run 2.4.4. on the realservers, however.
(installed redhat 7.1 and a fresh kernel on top, no kernel patches).
|