Behavior of redundant/load-balance

Alan DeKok aland at
Tue Aug 7 15:24:21 CEST 2012

Sébastien Barbereau wrote:
> If sql1 is down, freeradius will move to process the request with
> sql2, but what does the documentation mean with 'is down' : no
> connectivity to DB, slow request, ... ?

  See doc/configurable_failover.    "redundant" means "go to next module
on fail"

  For SQL, this means no DB connectivity.

> Also once it detects that sql1is down, does it "mark" it as down and
> afterwards does not query anymore for X minutes?

  It doesn't track that.  Each packet is independent of the other packets.

  In version 3, the new "connection pool" code should be able to handle
this.  It's not all there yet, but a loss of DB connectivity means that
the SQL module can quickly return "fail".

  Alan DeKok.

More information about the Freeradius-Users mailing list