echo 'disable server web-backend/web01' | socat stdio /run/haproxy/admin.sock
Take an HAProxy server out of rotation
Sets the named server to administrative down, so HAProxy stops sending it traffic while the process keeps running, ideal before maintenance. Re-enable with enable server web-backend/web01 once it is healthy again. The change applies immediately without a reload.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.