We want to be able to add more backend servers on demand. Right now I don't see a way to add more backend servers to the config file without restarting haproxy.
Way to add more backend server to haproxy without restarting haproxy
haproxyload balancingscaling
Related Topic
- HAProxy reqrep – Remove URI on Backend Request
- Can HAProxy reconnect a websocket to another backend server transparently
- Add/remove backend servers from HAProxy with command line
- Default backend in haproxy
- HAProxy + keepalived + multiple backend farms / virtual IP addresses
- HAProxy – backend with subdirectory
- Haproxy 1.5x reload configuration without terminating layer 7 sessions
- HAProxy: Set Backend Server via Query String
Best Answer
I haven't tested this specific use case but haproxy does support a "hot reload":
If you have an init script to start and stop haproxy it likely supports the
reload
argument with a function like: