Dear all,
I installed ldirectord at RHEL 4 with 2 real server using FC5 and RHEL
4. I am using tunneling for this configuration since 2 real server
located in different ip public. Below is my ldirectord.cf. My Real IP
for Load Balancer is 219.83.0.105 and Virtual IP is 219.83.0.100
checktimeout=10
checkinterval=2
autoreload=yes
# fallback=127.0.0.1:80
quiescent=yes
virtual=219.83.0.100:80
fallback=127.0.0.1:80
real=219.83.0.5:80 ipip
real=219.83.0.7:80 ipip
service=http
request="index.html"
receive="Test"
scheduler=rr
# persistent=600
protocol=tcp
checktype=negotiate
I have set ip_forward = 1 for ipv4 and set tunl0 219.83.0.100 for 2
realserver and eth0:0 for load balancer. After I run ldirectord, I can
access open http://219.83.0.100
and checked at http logs between realserver, for now 219.83.0.5
responsed this request. After that, I tried to turn off http service at
219.83.0.5 and try to open http://219.83.0.100 again from outside, but
seems down/refused. I checked using tcpdump, seems connections come to
219.83.0.5 not to 219.83.0.7 (http service up for this host).
Later, I tried to edit ldirectord.cf and put ONLY 219.83.0.7 for real
server and restart ldirectord, but seems unlucky. Using tcpdump,
connection always come to 219.83.0.5. If I open http://219.83.0.7
directly from load balancer and from outside, I can open it without
problem. Please give me some hints to solve this problem.
Notes: sorry for my bad english.
Regards,
Kalpin E S
|