7 Aug
2012
7 Aug
'12
9:24 a.m.
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.