Questions tagged [mod-proxy-balancer]

mod-proxy-balancer is the load-balancing module for the Apache HTTP server.

mod-proxy-balancer is the load-balancing module for the Apache HTTP server.

Questions with this tag should relate directly to the use of this module. More general questions about proxying with the mod-proxy module should use that tag instead.

43 questions
14
votes
3 answers

Apache + Tomcat - Problems with sticky sessions and load balancing

I'm facing some issues with Apache mod_proxy_balancer regarding sticky sessions. We've developped a restful webservice in Java, running on Tomcat. The actual backend is using Acegi security, with Auth Basic authentication. The architecture is…
benjamin.d
  • 2,801
  • 3
  • 23
  • 35
12
votes
1 answer

Apache 2.4 + php-fpm - AH01071: Got error 'Primary script unknown\n' mod_proxy_balancer

I'm configuring an Apache 2.4.9 with php-fpm 5.5.9 in my Ubuntu 14.04. What I want is to make a balancer for the php-fpm requests but It throws the following error: AH01071: Got error 'Primary script unknown\n' When I try to access my php file. It…
user3742266
  • 153
  • 1
  • 1
  • 6
10
votes
2 answers

httpd mod_proxy_balancer failover failonstatus - transparent switching

I am using mod_proxy_balancer to manage failover of backend servers. Backend servers may return an error code instead of timing out when some other backend service fails such as NFS and we want such servers also to be marked as failed nodes. Hence…
Praveen
  • 375
  • 1
  • 5
  • 18
5
votes
1 answer

Apache HTTPD/mod_proxy/Tomcat and SSL with client auth

I'm sure this is an FAQ but I couldn't find anything I recognized as being the same question. I have several web-apps running in Tomcat, with some pages e.g. the login page protected by SSL as defined by confidentiality elements in their web.xmls.…
user207421
  • 305,947
  • 44
  • 307
  • 483
4
votes
3 answers

What is the meaning of the "Load" column in Apache balancer-manager?

I've set up the Apache (2.4) load-balancer which is working okay. To monitor its performance, I enabled the balancer-manager handler, which shows the status of the balancers. I noticed a "Load" column, which was not present in version 2.2, with a…
Giovanni Lovato
  • 2,183
  • 2
  • 29
  • 53
4
votes
1 answer

Apache Webserver, Tomcat, AJP, "All workers are in error state for route"

To preface this, I've been all over the internet attempting to find a solution. Below are just the latest links that have provided some information, none of which however seems to be…
ronchalant
  • 41
  • 1
  • 2
3
votes
0 answers

Apache mod_proxy: Parameter `acquire` doesn't work

We use the apache2-worker package with mod_proxy, mod_proxy_balancer and mod_status. Apache is configured as a load balancer / dispatcher to WFS servers. OS: SuSE SLES 11 SP2 Apache httpd: version 2.2.12 All of our workers (WFS servers) can handle…
2
votes
0 answers

Apache Health Check timeout

mod_proxy_hcheck appears to be lacking a timeout setting for the health checks. https://httpd.apache.org/docs/2.4/mod/mod_proxy_hcheck.html I have tested the mod_proxy module timeout and connectiontimeout settings on the proxy balancermember config.…
Jeff Martin
  • 125
  • 3
2
votes
1 answer

Apache 2.2->2.4 upgrade broken pass-through[PT] after mod_rewrite

Our server has been upgraded from Apache 2.2.32->2.4.20, and with that change, my mod_rewrites don't pass-through to Tomcat endpoints any longer. Here is the Tomcat Load Balancer config: SetHandler…
N.Bo
  • 56
  • 5
2
votes
0 answers

Redmine 2.3 relative url root not working with Apache mod_proxy

I am currently attempting to upgrade from Redmine 1.4 (based on Rails 2.3) to Redmine 2.3 (Rails 3.2). I am forced to use Apache with mod_proxy and proxy balancer, so any talk of passenger is out. I am trying to deploy Redmine on a sub-uri…
1
vote
2 answers

PHP request file caching in load-balanced server environment

I'm looking to write a basic PHP file caching driver in a PHP application that routes all traffic to a front controller. For example's sake, assume the following simplified setup using apache mod_proxy_balancer: In a single-server environment I…
user895378
1
vote
1 answer

Timeout using Balancer, IHS, WebSphere and Birt

I have an application that generates a report that process in more than 30min and I receive a timeout error. If I generate a report and it lasts less then 20 min, it works. My environment works as follow: Balancer https://www.example.com/ / …
1
vote
2 answers

How to Use Apache to Proxy to Single Page Application on Weblogic Cluster

As part of upgrading a legacy Java application (hosted on Weblogic cluster), one section of this application will be replaced by a single page application (REACT), calling out over an API to various services that contain migrated backend…
glockman
  • 189
  • 1
  • 2
  • 13
1
vote
1 answer

Slightly sticky load-balancing with Apache and mod_proxy_balancer

We have a setup where we want sessions to be sticky most of the time, but where we want to be able to rebalance the traffic. For example, assume that only one back-end server is up. 100% of the users are routed to that server. When another server…
ewramner
  • 5,810
  • 2
  • 17
  • 33
1
vote
0 answers

tomcat7 hot-standby Node with mod-cluster and Apache HTTPD2.2

I'm using tomcat7.0.63 with mod-cluster1.2.9 and Apache HTTPD2.2 on RHEL6.7 Multiple Tomcat-instances with dedicated balancer configurations are sharing the Apache HTTPD using dedicated Virtualhost:6666. Only one Tomcat instance should have a…
hplar
  • 11
  • 1
1
2 3