Reference

enable server

Take a server out of maintenance mode.

Description Jump to heading

If a server is in “MAINT” mode, this command marks the server as “UP” and allows the load balancer to send health checks to it again.

Examples Jump to heading

Use the command enable server with the name of the server that you want to enable.

bash
echo "enable server servers/server1" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
bash
echo "enable server servers/server1" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999

The load balancer marks the server as “UP” on its statistics page.

See also Jump to heading

If this page was useful, please, Leave the feedback.

© 2023 HAProxy Technologies, LLC. All Rights Reserved
Manage Cookie Preferences