HAProxy authenticated httpchk (health check)
Posted
by
Markel
on Server Fault
See other posts from Server Fault
or by Markel
Published on 2012-12-12T03:07:15Z
Indexed on
2012/12/12
5:06 UTC
Read the original article
Hit count: 544
I am using HAProxy on EC2 and using httpchk to manage node availability. I had used a pseudo-unique path as the health check route in an attempt to make sure only my servers responded to the health check. Earlier today I had an EC2 server fall out of existence, and before the haproxy config was auto-regenerated (controller issues), Amazon had reassigned the IP to someone whom 200's every request (honeypot?), my HAProxy host then pulled the server back into rotation and started distributing some of my traffic there until the controller recovered and removed the ip from the list.
TLDR;
Is there a way to add a server authentication method to HAProxy's httpchk?
© Server Fault or respective owner