FR 2.1.10, fail-over not working
Hi Alan & all, I've configured two home_server for a pool with type=fail-over, when the 1st one not start,FR didn't send the request to the 2nd one. Works fine when configured with type=load-balance. following is my proxy.conf section: home_server svr1st { type = auth+acct ipaddr = 192.168.0.2 port = 11812 secret = testing123 response_window = 5 zombie_period = 120 revive_interval = 120 } home_server svr2nd { type = auth+acct ipaddr = 192.168.0.3 port = 11812 secret = testing123 response_window = 5 zombie_period = 120 revive_interval = 120 } home_server_pool authpool { type = fail-over home_server = svr1st home_server = svr2nd } Any Ideas? B.R. Wei JingPeng
Hi Alan & all, I found that when radiusd started with -X, the config-item of type = fail-over in proxy.conf will not take effect. Anyone to confirm that? B.R. Wei JingPeng Wei JingPeng wrote:
Hi Alan & all,
I've configured two home_server for a pool with type=fail-over, when the 1st one not start,FR didn't send the request to the 2nd one.
Works fine when configured with type=load-balance.
following is my proxy.conf section:
home_server svr1st { type = auth+acct ipaddr = 192.168.0.2 port = 11812 secret = testing123 response_window = 5 zombie_period = 120 revive_interval = 120 }
home_server svr2nd { type = auth+acct ipaddr = 192.168.0.3 port = 11812 secret = testing123 response_window = 5 zombie_period = 120 revive_interval = 120 }
home_server_pool authpool { type = fail-over home_server = svr1st home_server = svr2nd }
Any Ideas?
B.R. Wei JingPeng
魏景鹏 wrote:
I've configured two home_server for a pool with type=fail-over, when the 1st one not start,FR didn't send the request to the 2nd one.
FreeRADIUS doesn't check if a home server "starts". RADIUS doesn't work that way. The fail-over code works. Fail-over occurs when a home server is down for an extended period of time, and when the proxy keeps trying to send packets to the home server. If you're not seeing failover, it's likely because you're only sending a few testing packets. Send more packets. Alan DeKok.
participants (2)
-
Alan DeKok -
魏景鹏