RE: [users@httpd] Mod_proxy_balancer question

2017-05-15 Thread Hristiyan Kirov
Hello, Looks OK, however I’ve seen it defined like this: BalancerMember ajp://host1:8018 route=host1 BalancerMember ajp://host2:8018 route=host2 ProxyPass /foo balancer://cluster/foo Regards, Hristiyan From: Kartik Vashishta [mailto:kartik.u...@gmail.com] Sent:

Re: [users@httpd] mod_proxy_balancer not balancing equally

2017-01-26 Thread Vamsee Lakamsani
Hi, We confirmed monitoring system is measuring correctly. Turning off sticky sessions did the trick and requests are being routed almost equally. We made our app work without sticky sessions.  Vamsee On Thursday, January 26, 2017 2:57 AM, Luca Toscano wrote: Hi, 2017-01-25 22:05 GMT+

Re: [users@httpd] mod_proxy_balancer not balancing equally

2017-01-26 Thread Luca Toscano
Hi, 2017-01-25 22:05 GMT+01:00 Vamsee Lakamsani : > > Hi, > > We are using mod_proxy_balancer (mod_lbmethod_byrequests) with Apache > httpd 2.4 on Amazon Linux 4.4.41-35.53.amzn1.x86_64 (2016.09). > We are using the docs from here: > > mod_proxy_balancer - Apache HTTP Server Version 2.4 >

Re: [users@httpd] mod_proxy_balancer and multiple (dynamic) backends?

2016-12-15 Thread Jim Jagielski
The page is just one way to do it... It is just an interface to the series of GETs required. I use it w/ curl all the time. > On Dec 15, 2016, at 3:11 AM, Kristian Rink wrote: > > Hi there; > > and thanks for your feedback. :) > > Am Mittwoch, den 14.12.2016, 07:43 -0500 schrieb Jim Jagielski:

Re: [users@httpd] mod_proxy_balancer and multiple (dynamic) backends?

2016-12-15 Thread Kristian Rink
Hi there; and thanks for your feedback. :) Am Mittwoch, den 14.12.2016, 07:43 -0500 schrieb Jim Jagielski: > I think that balancer-manager is exactly what you are looking for. > >   http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html#manager > Yes, I already stumbled across this - but th

Re: [users@httpd] mod_proxy_balancer and multiple (dynamic) backends?

2016-12-14 Thread Jim Jagielski
I think that balancer-manager is exactly what you are looking for. http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html#manager Cheers! > On Dec 14, 2016, at 4:57 AM, Kristian Rink wrote: > > Folks; > > unsure whether this is the right place to ask and whether this is possible to > be

Re: [users@httpd] mod_proxy_balancer, balancer_manager questions

2012-09-14 Thread Colin Murtaugh
On Thu, Sep 13, 2012 at 7:33 PM, Daniel Ruggeri wrote: > > Does it give a unique failure code? This is actually the use case that > drove me to add the failonstatus option for ProxySet. For example, some > containers return a 503 when the app is not yet initialized but the > container is up. Grant

Re: [users@httpd] mod_proxy_balancer, balancer_manager questions

2012-09-13 Thread Daniel Ruggeri
On 9/13/2012 4:10 PM, Colin Murtaugh wrote: > I figured that might be the case; in this situation, the timeout is > due to the backend being slow. In particular, when I start up this > tomcat server, it starts accepting connections quite quickly, but it > may be 30-40 seconds before the app is ful

Re: [users@httpd] mod_proxy_balancer, balancer_manager questions

2012-09-13 Thread Colin Murtaugh
On Thu, Sep 13, 2012 at 2:51 PM, Jim Jagielski wrote: > > because these settings are stored in shared memory, post config, > and changes made won't persist a restart or reboot since Apache > goes back the honoring the httpd.conf file settings. > > If you need the updates to persist, you'll need t

Re: [users@httpd] mod_proxy_balancer, balancer_manager questions

2012-09-13 Thread Jim Jagielski
On Sep 13, 2012, at 2:02 PM, Colin Murtaugh wrote: > Hi -- > > I'm trying to set up a pair of tomcat servers behind apache using > mod_proxy_balancer. I'm using Apache 2.4.3 that I built a couple of days ago > on Solaris. > > I see in the 2.4 docs that balancer settings can now be persiste

Re: [users@httpd] mod_proxy_balancer error state causes

2012-07-29 Thread Paulo Silva
Hi, Anyone knows if this is documented somewhere? Thanks 2012/3/7 Mark Watts > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > When using mod_proxy_balancer there are several 'events' that will > place a given worker into the Err state for "retry=" seconds. > > These 'events' don't all a

Re: [users@httpd] mod_proxy_balancer config for HTTP header based sticky sessions

2011-07-17 Thread Jeroen Geilman
On 2011-07-17 15:55, G Quiggin wrote: Hello there, I'm trying to write a mod_proxy_balancer config to implemented sticky sessions between multiple backend tomcat instances with stickyness provided by an HTTP header. eg 1st incoming request is processed by app and responds by setting a custo

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-04-20 Thread dfw-apache
On Wed, Apr 20, 2011 at 02:17:43PM -0400, Eric Covener wrote: > > and I don't *think* anything looks at the Host header in the cached object, > > you could add a Vary on the Host header. I'd rather not play with the Host header after all if I can help it. If it Vary's on Host, won't it check tha

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-04-20 Thread Eric Covener
> and I don't *think* anything looks at the Host header in the cached object, you could add a Vary on the Host header. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/users

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-04-20 Thread dfw-apache
On Fri, Feb 04, 2011 at 11:06:48PM +, dfw-apa...@white.u-net.com wrote: > On Fri, Feb 04, 2011 at 05:36:01PM +, Igor Gali?? wrote: > > > > > > > But ProxySet only allows you to set the same Variables as > > > > > ProxyPass does. host is none of them. > > > > > > > > Indeed. This appears t

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-04-20 Thread dfw-apache
On Fri, Feb 04, 2011 at 11:06:48PM +, dfw-apa...@white.u-net.com wrote: > On Fri, Feb 04, 2011 at 05:36:01PM +, Igor Gali?? wrote: > > > > > > > But ProxySet only allows you to set the same Variables as > > > > > ProxyPass does. host is none of them. > > > > > > > > Indeed. This appears t

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-02-04 Thread dfw-apache
On Fri, Feb 04, 2011 at 05:36:01PM +, Igor Gali?? wrote: > > > > > But ProxySet only allows you to set the same Variables as > > > > ProxyPass does. host is none of them. > > > > > > Indeed. This appears to be the problem. Such an option is missing. > > > > Right now I'm looking into 2.2's s

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-02-04 Thread Igor Galić
> > > But ProxySet only allows you to set the same Variables as > > > ProxyPass does. host is none of them. > > > > Indeed. This appears to be the problem. Such an option is missing. > > Right now I'm looking into 2.2's source to see how to add an option > preservehost=(on|off). > > Can you ple

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-02-04 Thread Igor Galić
- dfw-apa...@white.u-net.com wrote: > On Thu, Feb 03, 2011 at 11:00:25PM +, Igor Gali?? wrote: > > - dfw-apa...@white.u-net.com wrote: > > > I've hit a vexing impasse with mod_proxy_balancer. > > > > > > I have a pool of backend boxes. They vhost many domains, so > > > need the speci

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-02-04 Thread dfw-apache
On Thu, Feb 03, 2011 at 11:00:25PM +, Igor Gali?? wrote: > - dfw-apa...@white.u-net.com wrote: > > I've hit a vexing impasse with mod_proxy_balancer. > > > > I have a pool of backend boxes. They vhost many domains, so > > need the specific Host: header in requests to them (the *same* > > H

Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.

2011-02-03 Thread Igor Galić
- dfw-apa...@white.u-net.com wrote: > I've hit a vexing impasse with mod_proxy_balancer. > > I have a pool of backend boxes. They vhost many domains, so > need the specific Host: header in requests to them (the *same* > Host: header for all of them) > > I proxy reqeusts to them potentially

Re: [users@httpd] mod_proxy_balancer question

2011-01-18 Thread Igor Galić
- "Tom Jones" wrote: > Hello, > I have a couple of apps running on Tomcat servers and I would like to > use mod_proxy_balancer for load balancing and failover. My question > has to do with performance. I see that there is a mod_proxy_ajp and > mod_proxy_http modules; are there any performanc