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

I want to specify lbfactor for LoadBalancer members and persist it. how can this be done? currently in httpd.conf:

<Proxy balancer://xxxx>
    BalancerMember ajp://localhost:8009/xxxx
    BalancerMember ajp://yyyyy:8009/xxxx
</Proxy>
share|improve this question

2 Answers 2

Try:

<Proxy balancer://xxxx>
    BalancerMember ajp://localhost:8009/xxxx lbfactor=10
    BalancerMember ajp://yyyyy:8009/xxxx lbfactor=20
</Proxy>
share|improve this answer
    
Nope, apache fails to start after this change. –  user12145 Jan 16 '10 at 12:07

Use loadfactor=X (instead of lbfactor).

Reference: Section A sample balancer setup http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

share|improve this answer

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.