Hi, Ive configured HAProxy to load balance between servers running
Postgresql. At first, I setup 3 servers, one of which was the master and the
other two slaves. It worked fine; now I want only the slaves to be available
to HAProxy, so I deleted the line with the master configuration in the
haproxy.cfg, stopped the service and started it again, but Ive notice in
the logs that HAProxy is still sending connections to the master server,
even though theres no line in the haproxy.cfg with that IP. So I tried
changing the name in the front_end to ensure the changes where taking
effect, so I changed the name, stopped the service haproxy and started it
again; in the logs it displays
Proxy new_name_frontend started
Proxy new_name_backend started
So nothing about the old frontend name or backend
But when I connect via
terminal to the server running HAProxy, it displays something like:
[ip_client]:[port] [date] OLD_NAME_FRONTEND
.
And its using the master server
Is there some caché or something like that
that I should erase so HAProxy has no clue of the master server anymore?
PS: Im using the same port.
Thanks