suggestions about load-balance/cluster

Matthew Newton mcn4 at leicester.ac.uk
Thu Oct 22 00:59:33 CEST 2015


On Wed, Oct 21, 2015 at 03:48:53PM -0200, Jorge Pereira wrote:
> home_server_pool auth_loadbalance {
>      type = load-balance
>      home_server = auth_node_1
>      home_server = auth_node_N
>      virtual_server = handle-node-auth
> }
...

> Doubts: What the best approach based  in the "type" of the pool? Maybe
> the "keyed-balance" sounds better? I really appreciate
> all suggestions and tips about my approach.

I'm looking at doing the same at the moment.

load-balance should be OK with e.g. plain PAP etc.

As soon as you move to EAP then it'll break, so keyed-balance
should be the only real option AFAICT, though I have considered
ideas using unlang to choose the proxy server and storing it based
on Calling-Station-Id and User-Name in a local redis server with a
timeout. But I usually look for the complicated solutions...

My likely plan if I go ahead with this is to use keyed-balance
probably with Calling-Station-Id (and possibly also User-Name) as
the key source.

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list