Re: Best practices for redundant servers

This is a discussion on Re: Best practices for redundant servers within the FreeRADIUS Users forums, part of the Networking and Network Related category; Peter Nixon wrote: > If you must use Mysql, use Master-Slave replication for as many authorization > servers as ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2007
Dennis Skinner
 
Posts: n/a
Default Re: Best practices for redundant servers

Peter Nixon wrote:
> If you must use Mysql, use Master-Slave replication for as many authorization
> servers as you wish, but configure only ONE radius server to actually write
> accounting to the master database and all the others to use radrelay (or
> radsqlrelay) to get the data to that server


We do something very much like this. We have 2 sql modules setup in the
sql.conf file. The authorize section lists sql2 and then sql1 within a
failover block and the accounting section only has sql1.

MySQL does have a clustering option:

http://www.mysql.com/products/database/cluster/

It has been a while since I read up on this, but I think it is fairly
complex and requires more than 2 database servers (I could be wrong).
In general I think it is overkill for a radius accounting situation.

For serious billable accounting you probably want to write to files and
then import them into the db (there is a module to help with this).
Radius will happily skip queries that take too long or if there are not
enough mysql connections available on the accounting side.

--
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0