I’m working on some web service having it’s AAA implemented by FreeRADIUS + MySQL on Debian.
The problem I’m working right now is HA & scalability of RADIUS. If the FreeRADIUS machine or MySQL machine goes down it takes down entire service.
I have checked out following whitepapers:
http://www.mysql.com/why-mysql/white-papers/mysql_wp_ha_auth_account.php
http://www.mysql.com/why-mysql/white-papers/mysql_wp_scaling_web_databases.php
Now I have following set of questions:
- As far as I can understand two FreeRADIUS servers can use same MySQL database without “breaking” its integrity, is it right? If so, what are performance drawbacks of such a setup?
- What should be redundant to archive HA? Is it FreeRADIUS server itself or just its MySQL data store or both? What should be redundant to archive scalability?
- If RADIUS server multiplied, how the load balancing can be implemented for webserver distributed over internet?
- How can I distribut MySQL cluster over internet? (Should I use replication & leave both cluster members in the same local network?