Reference

enable health

Enable active health checks for a server.

Description Jump to heading

This command resumes an active health check that was temporarily stopped and enables the load balancer to send health checks again. Run enable health with the name of the server for which you want to resume health checks.

Examples Jump to heading

Enable health checks for the server named server1 in the backend named be_servers:

bash
echo "enable health be_servers/server1" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
bash
echo "enable health be_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