LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

No connection through the LVS

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: No connection through the LVS
From: Peter Martin <p.martin@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Mar 2000 12:04:26 -0000
Hi all,

I'm sorry if this has been asked a thousand times, but I'm stuck.

I'm no guru, this is my first step into linux, my background is HP3000 mini, 
WinNT etal, and Novell.

I have been trying to setup an LVS box to put some redundancy into my (dodgy) 
NT web servers (need NT because of ASP).

I first tried using RedHat6.0, I downloaded the 2.2.14 kernel source, the 
2.2.14 LVS patch and compiled as the FAQ said, but to no joy, I always got some 
setsocket error.

After searching the web for advice I found that RedHat6.1 has this ready 
inbuilt so I have now reinstalled with this it's kernel 2.2.12, and LVS will 
now let me setup the forwarding rules, but, I cannot seem to get the 
connections through.

This is my config.

Linux box with two netcards one on the internet segment, 194.203.146.77, and 
one on a seperate segment 172.1.1.1, I have a REAL web server on 172.1.1.2

My client PC can ping the LVS, but not the REAL server, this is correct
My LVS can ping the client and the REAL server this is correct

ipvsadm reports that the forward rule is in place
The commands I used are below :-  (from the FAQ tailored to my structure)

echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -A forward -j MASQ -s 172.1.0.0/24 -d 0.0.0.0/0
/sbin/ipvsadm -A -t194.203.146.77:8000 -s wlc
/sbin/ipvsadm -a -t 194.203.146.77:8000 -R 172.1.1.2:80 -m

Question,

Is there a service I need to run to listen for the requests?
Why does It not keep the rules when I reboot the box, is there a file that I 
need to build that will be read at boot?

I'm sure all this is covered in the documentation, but, a few pointers would be 
much appreciated.

Thanks

Peter Martin


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