LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

persistance problems

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: persistance problems
From: sipieter nicolas <niko_2501@xxxxxxxxxxx>
Date: Fri, 21 Oct 2005 18:40:04 +0900 (JST)
i think i have a problem with the persistance option,
here's how i invoked ipvsadm:

[root@localhost ~]# ipvsadm
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight
ActiveConn InActConn
TCP  192.168.123.1:http rr persistent 10
  -> 192.168.0.2:http             Masq    1      0        
 0
  -> 192.168.0.3:http             Masq    1      0        
 0
[root@localhost ~]#


the problem is, when i unplug one backend from the hub,
because of persistance, clients get routed to the dead
backend.

say i unplug 192.168.0.2 while 192.168.0.3 is still ok

because of round robin, client gets balanced 
one time to 192.168.0.2
one time to 192.168.0.3
one time to 192.168.0.2
one time to 192.168.0.3 etc.. and so on.

but if you unplug,say, 192.168.0.2 clients still gets
routed to it despite it is unplugged from the hub, it
cannot be accessed, but ipvsadm doesn't seems to see it.

what could i do?

thanks


--------------------------------------
Know more about Breast Cancer
http://pr.mail.yahoo.co.jp/pinkribbon/


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