LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

persistence & service-disabling

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: persistence & service-disabling
From: Steffen Ziegner <sz@xxxxxx>
Date: Thu, 09 Mar 2006 12:19:33 +0100
Hi,

we use lvs&keepalived for balancing persistent connections to three webservers. The problem: when one webserver stops responding, then all the users, which have persistent connections to this machine, doesnt get a new connection to one of the two still working servers. But i can see, that lvs weighted the broken one with 0. In my opinion i would expect, that lvs sends connections at first allways to working realservers, and than it keeps persistence. How can i configure lvs in that way?

This is the actual configuration:

IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP  0A0A0B8C:3AFC wlc persistent 450000 FFFFFFFF
  -> 0A0A0B98:3AFC      Masq    1      0          4
  -> 0A0A0B97:3AFC      Masq    1      0          2
TCP  566DFF06:0050 wlc persistent 450000 FFFFFFFF
  -> D422AF5A:0050      Masq    1      0          2
  -> D422AF59:0050      Masq    1      0          3
  -> D422AF58:0050      Masq    1      0          1


Thanks,
Steffen


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