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
lscrlstld wrote:
Can I use the Load-Balance-Key to choose a specific home_server?
That sort of negates the utility of load balancing, doesn't it?
if ( ... ) { update control { Load-Balance-Key := 1} #sends to server1 } else { update control { Load-Balance-Key := 2} #sends to server2 }
Well, you can do that. But you can't control which server it gets sent to. You'll have to play with the key values to figure out how they map to a server. Alan DeKok.
participants (3)
-
Alan DeKok -
lscrlstld -
Phil Mayers