LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Slow

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Slow
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Wed, 04 Apr 2001 06:27:54 -0400
> Patrick Chan wrote:
> 
> I would like to set up VS-NAT for load-balancing 2 real web servers
> here is the details:
> 
> load balancer IP:
> eth0  203.84.123.123
> eth1  172.16.0.1
> 
> 2 real servers IP:
> 172.16.0.2
> 172.16.0.3
> 
> Here is what I type in load balancer:
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ipchains -A forward -j MASQ -s 172.16.0.0/24 -d 0.0.0.0/0
> ipvsadm -A -t 203.84.123.123:80 -s rr
> ipvsadm -a -t 203.84.123.123:80 -r 172.16.0.2:80 -m
> ipvsadm -a -t 203.84.123.123:80 -r 172.16.0.3:80 -m

this looks about right. If you are using a 2.4 kernel, you
shouldn't have the ipchains rule.


Is the routing correct (can you ping between all pairs of
machines)? this will make connections very slow

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>
  • Slow, Patrick Chan
    • Re: Slow, Joseph Mack <=