mysql fail over
Alan DeKok
aland at deployingradius.com
Wed Dec 10 20:32:00 CET 2008
Peter Ellens wrote:
> If I stop the first sql server service, freeradius starts to use the
> second sql server, as expected.
>
> But if I stop the entire first server (ie poweroff) freeradius still
> continues to try and use sql1, hanging...
FreeRADIUS is at the mercy of the MySQL client libraries. It asks
them to connect, and if they never return... there's little that the
server can do.
> Any ideas how to get it working correctly?
I presume that there's some magic MySQL client setting, saying "don't
screw up this badly", but I don't know what it is.
> We would really like to be able to use a read/write master and read only
> slave, but it looks to me that the sqlippool needs to be writeable to
> mark the IP address as used and avoid duplicate IP allocation.
Yes.
Alan DeKok.
More information about the Freeradius-Users
mailing list