Re: Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-24 Thread Zahid Rahman
This is what a typical workers.properties file look like.this is not same
as your configuration

*Workers properties*
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
worker.list=balancer,status

worker.tomcat1.type=ajp13
worker.tomcat1.port=8009
worker.tomcat1.host=localhost

worker.tomcat2.type=ajp13
worker.tomcat2.port=8010
worker.tomcat2.host=localhost

worker.tomcat3.type=ajp13
worker.tomcat3.port=8011
worker.tomcat3.host=localhost


worker.balancer.type=lb
worker.balancer.balance_workers=tomcat1,tomcat2,tomcat3

worker.status.type=status

On Tue, 24 Dec 2019, 09:17 Giancarlo Celli, 
wrote:

> Thanks for the reply.
> More than anything else my question is to know if the configuration
> parameters of the various threads, connections, etc. they are set up well
> or if they could somehow down the service.
> And if you recommend any changes to optimize the service itself.
> He again attached the files with the extracts of the configurations
> Thanks.
> Best regards.
> Giancarlo
>
>
> -- Messaggio originale --
> Da: "Zahid Rahman" 
> A: "Tomcat Users List" ; "Giancarlo Celli" <
> giancarlo.ce...@flottaweb.com>
> Inviato: 23/12/2019 23:56:41
> Oggetto: Re: How to set apache load balancer for send request to 6 tomcat
> server
>
> If you wish we can work the problem , piece by piece through logical
> construction of the solution.
>
>
>
> On Mon, 23 Dec 2019, 17:45 Giancarlo Celli,  >
> wrote:
>
>
> Hi,
> I need to configure a load balancer with apache connector on a jelastic
> server that redirects requests to 6 server workers with tomcat 7 installed.
> Atteched you can find extract from httpd.conf and workers.properties.
> I need to send single request to tomcat server individually, so I set
> sticky_session to 0.
> Could you tell me if parameters are configured correctly?
> Is the collector able to handle all requests?
> Could you give me some further advice?
>
> Each tomcat server is configured with the following parameters:
>
>  maxThreads="400"
> connectionTimeout="2"
> redirectPort="8443" />
>
> The balancer has the following configuration:
> Server version: Apache/2.4.39 (codeit)
> Server built: Apr 3 2019 18:54:14
> Architecture: 64-bit
> Server MPM: event
> threaded: yes (fixed thread count)
> forked: yes (variable process count)
>
>
> Thanks.
> Best regards.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


Re: Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-24 Thread Zahid Rahman
Load balancing Algorithms

https://youtu.be/iqOTT7_7qXY

On Tue, 24 Dec 2019, 10:06 Zahid Rahman,  wrote:

> There is a really great series of videos on this subject. He is
> referencing tomcat Apache website.
> If you speak German
>
> https://youtu.be/mQKZ8-EfBHU
>
> On Tue, 24 Dec 2019, 09:17 Giancarlo Celli, 
> wrote:
>
>> Thanks for the reply.
>> More than anything else my question is to know if the configuration
>> parameters of the various threads, connections, etc. they are set up well
>> or if they could somehow down the service.
>> And if you recommend any changes to optimize the service itself.
>> He again attached the files with the extracts of the configurations
>> Thanks.
>> Best regards.
>> Giancarlo
>>
>>
>> -- Messaggio originale --
>> Da: "Zahid Rahman" 
>> A: "Tomcat Users List" ; "Giancarlo Celli" <
>> giancarlo.ce...@flottaweb.com>
>> Inviato: 23/12/2019 23:56:41
>> Oggetto: Re: How to set apache load balancer for send request to 6 tomcat
>> server
>>
>> If you wish we can work the problem , piece by piece through logical
>> construction of the solution.
>>
>>
>>
>> On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, <
>> giancarlo.ce...@flottaweb.com>
>> wrote:
>>
>>
>> Hi,
>> I need to configure a load balancer with apache connector on a jelastic
>> server that redirects requests to 6 server workers with tomcat 7
>> installed.
>> Atteched you can find extract from httpd.conf and workers.properties.
>> I need to send single request to tomcat server individually, so I set
>> sticky_session to 0.
>> Could you tell me if parameters are configured correctly?
>> Is the collector able to handle all requests?
>> Could you give me some further advice?
>>
>> Each tomcat server is configured with the following parameters:
>>
>> > maxThreads="400"
>> connectionTimeout="2"
>> redirectPort="8443" />
>>
>> The balancer has the following configuration:
>> Server version: Apache/2.4.39 (codeit)
>> Server built: Apr 3 2019 18:54:14
>> Architecture: 64-bit
>> Server MPM: event
>> threaded: yes (fixed thread count)
>> forked: yes (variable process count)
>>
>>
>> Thanks.
>> Best regards.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-24 Thread Zahid Rahman
There is a really great series of videos on this subject. He is referencing
tomcat Apache website.
If you speak German

https://youtu.be/mQKZ8-EfBHU

On Tue, 24 Dec 2019, 09:17 Giancarlo Celli, 
wrote:

> Thanks for the reply.
> More than anything else my question is to know if the configuration
> parameters of the various threads, connections, etc. they are set up well
> or if they could somehow down the service.
> And if you recommend any changes to optimize the service itself.
> He again attached the files with the extracts of the configurations
> Thanks.
> Best regards.
> Giancarlo
>
>
> -- Messaggio originale --
> Da: "Zahid Rahman" 
> A: "Tomcat Users List" ; "Giancarlo Celli" <
> giancarlo.ce...@flottaweb.com>
> Inviato: 23/12/2019 23:56:41
> Oggetto: Re: How to set apache load balancer for send request to 6 tomcat
> server
>
> If you wish we can work the problem , piece by piece through logical
> construction of the solution.
>
>
>
> On Mon, 23 Dec 2019, 17:45 Giancarlo Celli,  >
> wrote:
>
>
> Hi,
> I need to configure a load balancer with apache connector on a jelastic
> server that redirects requests to 6 server workers with tomcat 7 installed.
> Atteched you can find extract from httpd.conf and workers.properties.
> I need to send single request to tomcat server individually, so I set
> sticky_session to 0.
> Could you tell me if parameters are configured correctly?
> Is the collector able to handle all requests?
> Could you give me some further advice?
>
> Each tomcat server is configured with the following parameters:
>
>  maxThreads="400"
> connectionTimeout="2"
> redirectPort="8443" />
>
> The balancer has the following configuration:
> Server version: Apache/2.4.39 (codeit)
> Server built: Apr 3 2019 18:54:14
> Architecture: 64-bit
> Server MPM: event
> threaded: yes (fixed thread count)
> forked: yes (variable process count)
>
>
> Thanks.
> Best regards.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-24 Thread Giancarlo Celli

Thanks for the reply.
More than anything else my question is to know if the configuration 
parameters of the various threads, connections, etc. they are set up 
well or if they could somehow down the service.

And if you recommend any changes to optimize the service itself.
He again attached the files with the extracts of the configurations
Thanks.
Best regards.
Giancarlo


-- Messaggio originale --
Da: "Zahid Rahman" 
A: "Tomcat Users List" ; "Giancarlo Celli" 


Inviato: 23/12/2019 23:56:41
Oggetto: Re: How to set apache load balancer for send request to 6 
tomcat server



If you wish we can work the problem , piece by piece through logical
construction of the solution.



On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, 
wrote:


 Hi,
 I need to configure a load balancer with apache connector on a jelastic
 server that redirects requests to 6 server workers with tomcat 7 installed.
 Atteched you can find extract from httpd.conf and workers.properties.
 I need to send single request to tomcat server individually, so I set
 sticky_session to 0.
 Could you tell me if parameters are configured correctly?
 Is the collector able to handle all requests?
 Could you give me some further advice?

 Each tomcat server is configured with the following parameters:

 

 The balancer has the following configuration:
 Server version: Apache/2.4.39 (codeit)
 Server built:   Apr  3 2019 18:54:14
 Architecture:   64-bit
 Server MPM: event
   threaded: yes (fixed thread count)
 forked: yes (variable process count)


 Thanks.
 Best regards.


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