Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a configuration with a cloud of servers behind haproxy. Haproxy is loadbalancing between the servers. However there's some action that needs to be sent to each server. Currently I do it independently from haproxy, by going to each server in a loop:

for i in `seq 1-10`; do
  wget -O /dev/null "http://server$"

is it possible to set up haproxy so that

wget -O /dev/null ""

could send the request out to every server that is alive?

share|improve this question
up vote 0 down vote accepted

As far as I have seen this is not supported in HAProxy an probably won't ever be. There is a similar question asked on the mailing list (still 1->N) answered by Willy mentioning that this isn't load balancing which is why it won't be supported. You could also try a pub-sub mechanism instead of sequentially hitting each server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.