HAProxy Enterprise Documentation 1.7r2

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

  1. 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.7/hapee-lb.sock stdio

HAProxy Enterprise marks the server as "MAINT" on its statistics page.

See also


Next up

Lua