Load-Balance-Key usage

lscrlstld lscrlstld at gmail.com
Thu Sep 27 20:04:00 CEST 2012


Hi,

Can I use the Load-Balance-Key to choose a specific home_server?

For sample:
home_server_pool pool {
  type = keyed-balance
  home_server = server1
  home_server = server2
}

realm test {
  auth_pool = pool
  acct_pool = pool
}

authorize { 
...
  if ( ... ) { 
    update control { Load-Balance-Key := 1} #sends to server1 
  }
  else {
    update control { Load-Balance-Key := 2} #sends to server2
  }
...
}

Thanks!
JJP



More information about the Freeradius-Users mailing list