Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Yes, do the following:

BalancerMember ajp://host2:8009/xxxx status=D
share|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 Armbruster 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
add comment

Your Answer

 
discard

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.