little sql help required

Strong, Mark mstrong at tnsi.com
Mon Jun 7 02:48:33 CEST 2010


> Strong, Mark wrote:
> > I've got two servers, each with its own mysql db (replicated to each
> other), and I'd like freeradius to fail over to the other boxes mysql
> server if its local one dies.
> 
> $ man unlang
> 
>   You can use a simpler config than that, I think.
> 
>   doc/configurable_failover
> 
>   Alan DeKok.

Thanks Alan, I went with the redundant keyword, like so.

        redundant redundant_sql {
                sql_local
                sql_remote
        }

It's a lot easier on the eyes than the full group syntax.


Mark.





More information about the Freeradius-Users mailing list