Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] failover problem on real server failure

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


thomas.glunk at sagebaeurer

Nov 16, 2007, 4:26 AM

Post #1 of 3 (468 views)
Permalink
[lvs-users] failover problem on real server failure

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


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


graeme at graemef

Nov 16, 2007, 4:43 AM

Post #2 of 3 (447 views)
Permalink
Re: [lvs-users] failover problem on real server failure [In reply to]

Hallo

On Fri, 2007-11-16 at 13:26 +0100, Glunk, Thomas wrote:
> 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?

If you're not running a healthcheck framework over the top of LVS, you
won't detect the failure. LVS itself only does load balancing - not
system monitoring.

You may want to use keepalived, ldirectord or some other consolidated
application that can manage your system for you both in terms of LVS
setup and server/service monitoring.

Graeme


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


thomas.glunk at sagebaeurer

Nov 16, 2007, 5:02 AM

Post #3 of 3 (451 views)
Permalink
Re: [lvs-users] failover problem on real server failure [In reply to]

Thanks for the quick respons. I will setup a monitor application.
Thomas

-----Ursprüngliche Nachricht-----
Von: lvs-users-bounces [at] linuxvirtualserver [mailto:lvs-users-bounces [at] linuxvirtualserver] Im Auftrag von Graeme Fowler
Gesendet: Freitag, 16. November 2007 13:43
An: LinuxVirtualServer.org users mailing list.
Betreff: Re: [lvs-users] failover problem on real server failure

Hallo

On Fri, 2007-11-16 at 13:26 +0100, Glunk, Thomas wrote:
> 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?

If you're not running a healthcheck framework over the top of LVS, you
won't detect the failure. LVS itself only does load balancing - not
system monitoring.

You may want to use keepalived, ldirectord or some other consolidated
application that can manage your system for you both in terms of LVS
setup and server/service monitoring.

Graeme


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.