RE: mod_proxy_balancer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx] 
Sent: Friday, April 20, 2007 9:56 AM
To: users@xxxxxxxxxxxxxxxx
Subject:  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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux