LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Scheduling algorithms problems

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Scheduling algorithms problems
From: "Florian DUVAL" <florian@xxxxxxxxx>
Date: Sat, 1 May 2004 17:44:35 +0200
Hi guys !!
 
I'm experiencing Virtual Server's technologies since a little month and i
finally build up a great Server's Pool ! But i still have a problem...
Here's software installed :
  - ipvs
  - ipvsadm
  - keepalived
 
ipvs, ipvsadm and keepalived works fine !
when Real Server 1 (RS1) goes done, keepalived suppress it from pool and
ipvsadm -L -n tells :
 
---
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  10.0.0.20:80 rr persistent 10
  -> 192.168.1.53:80              Masq    1      0          0
  -> 192.168.1.52:80              Masq    1      0          0
---
 
RS1 = 192.168.1.51  RS2 = 192.168.1.52  RS3 = 192.168.1.53
 
Everything normal !! :)
But RS1 goes up, keepalived reactivate RS1 in the pool
The problem is elsewhere ...

I tried several Scheduling Algorithms : rr, lc, sed, nq
And each forward requests to the first in the list... And never forward to
others :( both with RR which is a very basic algo !! When RS3 (in this
example) goes down, all is forwarded to the next (RS2) , and still forwarded
to this (RS2) both if RS3 goes up (and refreshed by keepalived)

Could someone help me about this (little) problem ?
Thanks a lot !

Florian

NB : Sorry for my poor "frenchy" english :))


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