Skip to content

Instantly share code, notes, and snippets.

@sean-kang
Last active August 29, 2015 13:56
Show Gist options
  • Save sean-kang/8797673 to your computer and use it in GitHub Desktop.
Save sean-kang/8797673 to your computer and use it in GitHub Desktop.
How to gracefully change haproxy configuration on runtime
Below is an example.
To remove a node from backend.
socat readline /var/run/haproxy.stat
disable server <backend_node>/<hostname>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment