Created
July 25, 2013 14:36
-
-
Save toddlers/6080314 to your computer and use it in GitHub Desktop.
Adding servers in haproxy without restarting haproxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adding a serverA ipA:portA to the 'query_backend': | |
echo "add server query_backend/serverA ipA:portA check inter 3000 rise 2 fall 3 maxconn 50" | socat stdio unix-connect:/var/haproxy.socket | |
Removing serverA again: | |
echo "remove server query_backend/serverA" | socat stdio unix-connect:/var/haproxy.socket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This does not work, I tried it please enlighten me as to how you got this to work .I get the following error:
'add' only supports 'map'.