I'm using an Apache 2.2 loadbalancer like this

<Proxy balancer://xxxx>
  BalancerMember ajp://host1:8009/xxxx
  BalancerMember ajp://host2:8009/xxxx
  BalancerMember ajp://host3:8009/xxxx
</Proxy>

Is there a way to tell apache that e.g. host2 is in disabled disabled on startup? Of course one can comment out the respective BalancerMember line, but then there's no way to reenable it using then balancer-manager.

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Yes, do the following:

BalancerMember ajp://host2:8009/xxxx status=D
link|improve this answer
thanks, that solved it. Do you know where all the options of BalancerMember are documented? httpd.apache.org/docs/2.2/mod/mod_proxy.html#balancermember should be the expected place for this - but nothing there. – Stefan Mar 1 '10 at 14:34
Yes, all of the options can be found here, they are all the ProxyPass options. httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass – TCampbell Mar 1 '10 at 15:25
feedback

Your Answer

 
or
required, but never shown

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