tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: redirect paramter in the jk_workers file
Date Wed, 02 Sep 2009 17:57:58 GMT
Your mailer uses a very unfriendly way of formatting your messages. So I
do top posting.

Yes, as you can read on

http://tomcat.apache.org/connectors-doc/reference/workers.html

the atribute redirect is supported since version 1.2.9. For a two node
load balancer, you don't need it though. If you have many nodes in a
load balancer, the redirect expresses, which one you prefer for the
failover. If you dont specify it, the load balancer will use some other
working node according to its load values.

Regards,

Rainer


On 02.09.2009 06:51, Dhiraj Rajput wrote:
> Hi Chris,
> 
>  
> 
> I have below mention tag in my jk workers file.
> 
>  
> 
>  
> 
>  
> 
> orker.tomcat.type=lb
> 
> worker.tomcat.socket_keepalive=1
> 
> worker.tomcat.socket_timeout=300
> 
> worker.tomcat.connection_pool_size=50
> 
> worker.tomcat.connection_pool_timeout=600
> 
> worker.tomcat.balance_workers=tomcatnode1,tomcatnode2
> 
> worker.tomcat.sticky_session=true
> 
> worker.tomcatnode1.port=9732
> 
> worker.tomcatnode1.host=10.18.25.160
> 
> worker.tomcatnode1.type=ajp13
> 
> worker.tomcatnode1.socket_keepalive=True
> 
> worker.tomcatnode1.socket_timeout=300
> 
> worker.tomcatnode1.connection_pool_timeout=600
> 
> worker.tomcatnode1.connect_timeout=600
> 
> worker.tomcatnode1.redirect=tomcatnode2
> 
> worker.tomcatnode2.port=9733
> 
> worker.tomcatnode2.host=10.18.25.107
> 
> worker.tomcatnode2.type=ajp13
> 
> worker.tomcatnode2.socket_keepalive=True
> 
> worker.tomcatnode2.socket_timeout=300
> 
> worker.tomcatnode2.connection_pool_timeout=600
> 
> worker.tomcatnode2.redirect=tomcatnode1
> 
>  
> 
>  
> 
> I am not 100% sure how this works and is it really usefull for the failover.
> 
> Thanks and Regards,
> 
>  
> 
> Dhiraj V Rajput
> 
> Associate System Admin
> 
> Hosting Services Group
> 
> Premier Technology Group Nagpur                                             
> 
> Phone: - USA- 1-626-698-1099
> 
> India Office: 91-712-2446734 ext 30
> 
> cell no : 91-9370315811
> 
>  
> 
> -----Original Message-----
> From: Christopher Schultz [mailto:chris@christopherschultz.net] 
> Sent: Tuesday, September 01, 2009 11:22 PM
> To: Tomcat Users List
> Subject: Re: redirect paramter in the jk_workers file
> 
>  
> 
> Hash: SHA1
> 
>  
> 
> Dhiraj,
> 
>  
> 
> On 8/27/2009 8:26 AM, Dhiraj Rajput wrote:
> 
>> I have issue on the redirect tag in jk workers file.
> 
>  
> 
> What is "redirect tag"?
> 
>  
> 
> -chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message