Christian,

We use the OPS one packet scheduling patch for this....for people
using UDP SIP gateways.
can't remember where it is off the top of my head though.
give me a shout if you can't find it.




2009/4/3 Christian Balzer <[email protected]>
>
> Hello,
>
> LVS defines a UDP connection as packets coming from the same source IP
> within a 5 minute window. Which I guess for services like NTP would be a
> good thing[TM].
> One can tune that down to 1 second with "ipvsadmin --set" and while this
> will give a much better spread (or any spread at all, since with a packet
> every 2 seconds on average here it never changed realservers with the
> default) it still will stick with one realserver EXACTLY when you want it
> to balance things most, at the most busy times.
> This is for radius and if our last mile provider drops all of Tokyo in a
> maintenance we get greeted with several 10000 auth-requests at the same
> time. Precisely the time when sticking with one server is not what we
> want.
> So I presume the (in 2000) suggested UDP timeout=0 option never got
> implemented, right?
> And I guess using the NQ scheduler would not help in this situation either,
> since the persistence happens before it can decide to route this to an
> unused realserver, correct?
>
> I guess an idea for the future would be a scheduler that is not connection
> but packet oriented, this would provide me exactly with what I need for
> this (admittedly special) case.
>
> Oh and is there any other way than calling "ipvsadmin --set" to set those
> timeout values in a persistent way? Feels a bit silly to write an
> initscript just for this, but since these don't seem to be sysctl
> variables...
>
> Regards,
>
> Christian
> --
> Christian Balzer        Network/Systems Engineer                NOC
> [email protected]           Global OnLine Japan/Fusion Network Services
> http://www.gol.com/
> https://secure3.gol.com/mod-pl/ols/index.cgi/?intr_id=F-2ECXvzcr6656
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - [email protected]
> Send requests to [email protected]
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users



--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

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

Reply via email to