Re: mod_jk - multiple workers for same Tomcat instance?

2005-07-19 Thread David Hay

Any thoughts?


From: David Hay [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Re: mod_jk - multiple workers for same Tomcat instance?
Date: Thu, 14 Jul 2005 15:00:33 -0400

Hi,

We have set up several contexts eg one for client requests and one for 
admin requests, for a set of Tomcat servers, fronted by Apache.


We would like to balance them differently, allowing one machine to take 
most of the admin load.


There doesn't seem to be a lbfactor parameter for a loadbalancing worker, 
so our second option is to create a seperate client and admin worker for 
each machine, and set their lbfactors separately.  Unless you can recommend 
a better way?


If we go down this route, could you explain how to set up two connectors in 
the tomcat's server.xml with different jvmRoute values to put in 
workers.properties?


many thanks,

David



From: Mladen Turk [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: mod_jk - multiple workers for same Tomcat instance?
Date: Thu, 14 Jul 2005 20:49:06 +0200

David Hay wrote:

Hi,

Is it possible to specify multiple workers for the same Tomcat instance?



Yes.
But this will impose additional load to the tomcat doubling the number
of connections from apache to mod_jk for each worker.
For ten workers you may end up with 2500 connections with
250 MaxClients defined in the httpd.conf.

We'd like to balance different contexts with different load factors to 
the same Tomcat (hope that makes sense!).




No. But you may feel free to express the idea that led you to consider
something like that.

Regards,
Mladen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk - multiple workers for same Tomcat instance?

2005-07-14 Thread David Hay

Hi,

Is it possible to specify multiple workers for the same Tomcat instance?

We'd like to balance different contexts with different load factors to the 
same Tomcat (hope that makes sense!).


I'm thinking we could define another AJP13 connector on a different port, 
but not sure how to specify things in workers.properties and server.xml.


cheers,

David



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_jk - multiple workers for same Tomcat instance?

2005-07-14 Thread David Hay

Hi,

We have set up several contexts eg one for client requests and one for admin 
requests, for a set of Tomcat servers, fronted by Apache.


We would like to balance them differently, allowing one machine to take most 
of the admin load.


There doesn't seem to be a lbfactor parameter for a loadbalancing worker, so 
our second option is to create a seperate client and admin worker for each 
machine, and set their lbfactors separately.  Unless you can recommend a 
better way?


If we go down this route, could you explain how to set up two connectors in 
the tomcat's server.xml with different jvmRoute values to put in 
workers.properties?


many thanks,

David



From: Mladen Turk [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: mod_jk - multiple workers for same Tomcat instance?
Date: Thu, 14 Jul 2005 20:49:06 +0200

David Hay wrote:

Hi,

Is it possible to specify multiple workers for the same Tomcat instance?



Yes.
But this will impose additional load to the tomcat doubling the number
of connections from apache to mod_jk for each worker.
For ten workers you may end up with 2500 connections with
250 MaxClients defined in the httpd.conf.

We'd like to balance different contexts with different load factors to the 
same Tomcat (hope that makes sense!).




No. But you may feel free to express the idea that led you to consider
something like that.

Regards,
Mladen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Test - please ignore!

2005-06-24 Thread David Hay

testing



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]