LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] failover problem on real server failure

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] failover problem on real server failure
From: "Glunk, Thomas" <thomas.glunk@xxxxxxxxxxxxxx>
Date: Fri, 16 Nov 2007 13:26:09 +0100
Hallo,

I´m using LVS (ipvsadm v1.24 2003/06/07 (compiled with getopt_long and IPVS 
v1.2.1)) which come with SuSE Linux 9.3 to make loadbalancing for 2 Windows 
2003 Terminalserver with LVS/nat setup:

--------------------<snip>----------------------
ipvsadm -A -t $vilfarmfern:3389 -s wlc -p 28800
ipvsadm -a -t $vilfarmfern:3389 -r $s0174:3389 -m -w 20
ipvsadm -a -t $vilfarmfern:3389 -r $s0182:3389 -m -w 20
--------------------<snip>----------------------

I use persistant with a timeout of 28800 cause users disconnect often the 
connection and this ensure that they get their session again.

IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  vil-farm-fern wlc persistent 28800
  -> s0182:ms-wbt-serve Masq    20     7          0
  -> s0174:ms-wbt-serve Masq    20     4          0

Now the problem. If one Windows 2003 Server is off, we cannot connect to the 
remaining terminal server. I tried a lot with and without persitant, but there 
is no difference. It looks like that lvs don´t recognize that one server is 
down an redirect all new connections to the other server. Is this a problem of 
the running version of lvs or maybe a setup problem?

Regard Thomas



Sage bäurer GmbH
Firmensitz: Auf der Steig 6, 78052 Villingen-Schwenningen
Registergericht: Amtsgericht Freiburg i. Br., HRB 611793
Geschäftsführer: Franz Bruckmaier, Dr. Thomas Scholtis



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