Quantcast
Channel: Severalnines
Viewing all articles
Browse latest Browse all 1481

Deploying an Active-Active FreeRadius Cluster with MySQL NDB or Galera

$
0
0
January 6, 2014
By Severalnines

MySQL Cluster is a popular backend for FreeRADIUS, as it provides a scalable backend to store user and accounting data. However, there are situations when the backend database becomes a centralized datastore for additional applications and services, and needs to take a more general-purpose role. NDB usually works very well for FreeRADIUS data, but for wider use cases and reporting type applications, InnoDB can be a better storage engine. For users who need to keep their data in InnoDB and still benefit from a highly available clustered datastore, Galera Cluster can be an appropriate alternative.

In this post, we will show you how to deploy FreeRadius both with MySQL Cluster and Galera Cluster to store user and accounting data. All servers are running CentOS 6.4 64bit.

 

FreeRadius Deployment with Galera

 

We will deploy a two-node FreeRadius cluster running on dual active mode, communicating to a three-node Galera Cluster through load balancers (HAproxy) with automatic IP failover using virtual IP (Keepalived). Both FreeRadius nodes are able to serve RADIUS queries from clients. Following figure illustrates the architecture:

 

Our hosts definition in all nodes:

192.168.197.150		virtual_ip
192.168.197.141		freeradius1 haproxy1
192.168.197.142		freeradius2 haproxy2 clustercontrol
192.168.197.151		galera1
192.168.197.152		galera2
192.168.197.153		galera3

 

read more


Viewing all articles
Browse latest Browse all 1481

Trending Articles