I’m trying to tie Polaris GSLB in to haproxy to geo-balance some TCP connections (OpenVPN). The problem I’m running into is that the frontend IP that I’m binding to still responds to the TCP connection request, even when all of the backend servers are down. I tried searching for a solution, but haven’t had much luck. From what I can tell, Polaris has the ability to send a string as part of the payload in the connection check, but I haven’t seen any way to respond to that payload based on the status of the backend. The best I’ve got so far is “tcp-request connection reject if { nbsrv(vpn) lt 1 }”, but as far as Polaris is concerned, the VIP is still up.
2 posts - 2 participants