httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Murray" <ryan.mur...@elementn.com>
Subject RE: [users@httpd] mod_proxy_balancer
Date Fri, 20 Apr 2007 07:43:27 GMT
Christian,

Unless I misundertsood your question, this is typically done using the
"jvmRoute" parameter in the Tomcat configuration (check the Tomcat docs for
how to use this parameter).  In this way, session IDs are suffxied with a
unique id for each Tomcat and clients are always routed to the same Tomcat
for the life of their session.

Routing by source IP alone can be somewhat unreliable if you have many
clients coming through a single proxy such as from many ISPs, NAT
translation or from a VPN concentrator.

Ryan

-----Original Message-----
From: Christian [mailto:cb@dere.at] 
Sent: Friday, April 20, 2007 9:56 AM
To: users@httpd.apache.org
Subject: [users@httpd] mod_proxy_balancer

hi,

i am using apache 2.2.4 with mod_proxy_balancer and mod_proxy_ajp.
both working fine using the lbmethod byrequest.

is there a possibility to change the lbmethod to something like bySourceIP ?

what i want to do, is to send requests from one client only to one backend
tomcat server as long as this tomcat is online / reachable.

for example pen (http://siag.nu/pen/) behaves like this.
is there any possibility to configure apache to do this ?

thanks in advance for your input.

Christian


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message