You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vicky Crowley <vc...@unicon.net> on 2008/11/15 00:31:30 UTC

[users@httpd] Load Balancer Manager

Hi,

I am attempting to set up the load balancer manager for 2 workers.  I am able to access the web interface for the Balancer Manager.  When I click on the worker, I get 

Edit worker settings for http://box2:7789
Load factor:  
LB Set:  
Route:  
Route Redirect:  
Status: Disabled:  | Enabled:  

When I select Disabled and then Submit, the page refreshes and it appears that the worker has been disabled.  However, I am still able to access the worker.  So it would appear that the worker has not been disabled. 


I am have the following installed:

Apache 2.2.4 running on Unix
Mod_jk version 1.2.23
Tomcat on both servers version 5.5.23

httpd.conf snippets:

LoadModule status_module modules/mod_status.so

<Proxy balancer://mybalancer>
BalancerMember http://box1:7788
BalancerMember http://box2:7789
</Proxy>

ProxyPass /test balancer://mybalancer/

<Location /balancer-manager>
SetHandler balancer-manager

Order Deny,Allow
Allow from all
</Location>
<IfModule alias_module>

Thank you,

Vicky Crowley

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Load Balancer Manager

Posted by Dan Udey <da...@communicate.com>.
1) Check the error log. When apache disables a worker it will log why.  
This will probably tell you what's going on.
2) It's possible Apache is disabling it because either it's not ready  
when it first tries (i.e. maybe it's starting up) or because it took  
too long to return a request. In this case, check your timeout  
settings and make sure it's not just taking too long.

On 14-Nov-08, at 3:31 PM, Vicky Crowley wrote:

> Hi,
>
> I am attempting to set up the load balancer manager for 2 workers.   
> I am able to access the web interface for the Balancer Manager.   
> When I click on the worker, I get
>
> Edit worker settings for http://box2:7789
> Load factor:
> LB Set:
> Route:
> Route Redirect:
> Status: Disabled:  | Enabled:
>
> When I select Disabled and then Submit, the page refreshes and it  
> appears that the worker has been disabled.  However, I am still able  
> to access the worker.  So it would appear that the worker has not  
> been disabled.
>
>
> I am have the following installed:
>
> Apache 2.2.4 running on Unix
> Mod_jk version 1.2.23
> Tomcat on both servers version 5.5.23
>
> httpd.conf snippets:
>
> LoadModule status_module modules/mod_status.so
>
> <Proxy balancer://mybalancer>
> BalancerMember http://box1:7788
> BalancerMember http://box2:7789
> </Proxy>
>
> ProxyPass /test balancer://mybalancer/
>
> <Location /balancer-manager>
> SetHandler balancer-manager
>
> Order Deny,Allow
> Allow from all
> </Location>
> <IfModule alias_module>
>
> Thank you,
>
> Vicky Crowley
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server  
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org