proxy groups - load-balance and a failover
hi, not sure if i'm being silly, not had enough coffee or it cant be done. basically, in a quick summary, want to have a proxy.conf which, for a realm will use a bunch of servers in load balance mode...and if those fail, then use another group of servers in a fail-over mode eg server_pool groupA { serverA serverB serverC client-load-balance } server_pool groupB { serverD } server_pool groupX { groupA groupB fail-over } with realm xxxxx.org using auth pool groupX (obviously serverA etc are defined as home_server....i've stripped some of the right words/config for brevity) therefore I'd have a nice load balance for clients to a bunch of servers....but if they all went wonky, i'd have a nice solid fallback server to use..... c'est possible? alan
Alan Buxey wrote:
not sure if i'm being silly, not had enough coffee or it cant be done.
Hmm...
basically, in a quick summary, want to have a proxy.conf which, for a realm will use a bunch of servers in load balance mode...and if those fail, then use another group of servers in a fail-over mode
Can't be done. There *is* a "fallback" server if all of the other home_servers in a pool are dead. But it's only one server. If you really get wonky, set the fallback server to a unique port on localhost, and then configure that port to forward all requests to a group of servers in fail-over mode. Ugly, but it will work. Alan DeKok.
participants (2)
-
Alan Buxey -
Alan DeKok