LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Problems with LVS

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Problems with LVS
From: Nathan Polonski <Nathan.Polonski@xxxxxxxxxxxx>
Date: Thu, 31 Aug 2000 11:17:51 -0400

Thank you all for your great responses. That kernel thing was really starting to tick me off. It's my first time compiling a kernel, and I found myself sifting through C code to try and fix the problems!

>In VS-NAT the real-servers are on a private network. This really means private.
>The only way for packets to get from the real-servers to
>outside is to be de-NAT'ed by the director
>according to the tables which set up the LVS. Services not under
>the control of LVS can be routed normally.

So are you saying that when I have this up and running, the IP masquerading command,
"ipchains -A forward -j MASQ -s 192.168.xxx.xxx/24 -d 0.0.0.0"
will provide the necessary info for de-NAT'ing?

Thanks Again!
Nathan

-----Original Message-----
From: Joseph Mack [mailto:mack.joseph@xxxxxxx]
Sent: Thursday, August 31, 2000 10:35 AM
To: Nathan Polonski
Cc: 'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'
Subject: Re: Problems with LVS



>
> I have setup a 5-node LVS cluster system using NAT.

> The only problem is that I cannot connect to hosts on the public network from
> hosts on the private network.

In VS-NAT the real-servers are on a private network. This really means private.
The only way for packets to get from the real-servers to
outside is to be de-NAT'ed by the director
according to the tables which set up the LVS. Services not under
the control of LVS can be routed normally.
 
> Of course, I figured that a kernel update might help fix the problem. That is
> when I updated the kernel on the routers to 2.2.16-3. That went off without a
> hitch. However, I found out that ipvs needs a kernel patch to run properly on
> 2.2.16.

ipvs is a kernel patch. Unfortunately RedHat has prepatched the kernel with
presumably an older version of ipvs. The main effect of this is to cause people
to come up on this list and ask why they can't get their LVS to work. Get a
clean
kernel from www.kernel.org and patch it.
 
> However, when I ran the patch and tried to compile the kernel, there were all
> kinds of errors. It seems like the patch does not apply itself properly.
 
> So, here's my question: Has anyone else run into similar difficulties?

almost everybody who uses RedHat.

Joe

--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA

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