LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: newbie trying to setup simple load balancer

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: newbie trying to setup simple load balancer
From: sipieter nicolas <niko_2501@xxxxxxxxxxx>
Date: Wed, 28 Sep 2005 15:27:08 +0900 (JST)
hi there,
i'm having hard time setup a simple load balancer,
so far:

i've setup net.ipv4.ip_forward = 1  in /etc/sysctl.conf

put those rules in ipvsadm:

echo "
-A -t 192.168.2.2:80 -s rr
-a -t 192.168.2.2:80 -r 192.168.2.3:80 -m
-a -t 192.168.2.2:80 -r 192.168.2.4:80 -m
  " | ipvsadm -R


and set this in iptables:
[root@parts niko]# /sbin/iptables -t nat -A POSTROUTING -j
MASQUERADE -s 192.168.2.2/24

...
still, when i try to connect from another computer onto my
load balancer nothing happen i'm not routed or forwarded
anywhere
it only keep searching until 1minutes or less, then
display an error " page not found.. no information
available etc etc
what did i miss?

thanks 



__________________________________
 For All Sports Fans!
 http://pr.mail.yahoo.co.jp/yells/


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