HAProxy Enterprise Documentation 2.4r1

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 stdio unix-connect:/var/run/hapee-2.4/hapee-lb.sock

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

See also


Next up

enable agent