LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Please Help about Hidden VIP problem

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Please Help about Hidden VIP problem
From: "Lam Louis" <lucylouis@xxxxxxxxxxx>
Date: Fri, 19 May 2006 08:27:48 +0000
Please help me about the Problem of Hidden Virtual IP

Question is:
Will the Load Balancer take over the VIP(i can telnet the Load Balancer through VIP) if the configuration is correctly set?

In my case, i can visit my website only if the arptable load balancer has been stopped
Is it correct?

My setting is as follow: I had upgraded the Ultramonkey from 2 to 3

I installed the arptables-noarp-addr-0.99.2-1.rh.el.um.1.noarch.rpm package at all node(including load balancer and the real server) and config with followed step:

/etc/init.d/arptables_jf stop
/usr/sbin/arptables-noarp-addr 192.168.X.X start
/etc/init.d/arptables_jf save
/sbin/chkconfig --level 2345 arptables_jf on
/sbin/arpyabnels -L -v -n
ifconfig eth0:0 192.168.X.X netmask 255.255.255.255 broadcast 192.168.X.X

at the load balancer(Only one Load balancer)
ipvsadm -A -t 192.168.80.X:X -s rr
ipvsadm -a -t 192.168.80.X:80 -r 192.168.X.X -g
ipvsadm -a -t 192.168.X.X:80 -r 192.168.X.X -g

and i can see the following config at sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.default.rp_filter = 1
kernel.sysrq = 0
kernel.core_uses_pid = 1


Thank You

Louis



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