HAProxy Enterprise Documentation 1.8r2
disable server
Put a server in maintenance mode.
Description
This command marks the server as "DOWN" for maintenance. HAProxy Enterprise stops sending checks to this server while it is in this state.
Examples
-
Use the command
disable server
with the name of the server that you want to disable.$ echo "disable server servers/server1" | sudo socat /var/run/hapee-1.8/hapee-lb.sock stdio
HAProxy Enterprise marks the server as "MAINT" on its statistics page.
See also
Next up
enable agent