[ic] Cluster / IP question

Jonathon Sim sim at zeald.com
Sat Jan 26 02:01:35 EST 2008

We use a pretty similar setup using apache's mod_proxy_balancer, and the 
answer is

It sounds like your load balancer is an HTTP proxy server (eg 
pound/pen/mod_proxy_balancer etc), so list its IP in that list and 
interchange will trust the X-Forward-For header it sends.

ic at 3edge.com wrote:
> DB writes:
>> I'm looking into clustering for my IC stores. Once of the HA software 
>> packages that I'm considering has what may be a very serious 
>> drawback: all requests sent to the clustered servers lack the 
>> visitor's original IP address. Instead all requests come in using the 
>> IP of the box that runs the HA server.
>> Since IC uses the visitors IP for the session ID among other things, 
>> it seems like this might be a bad idea. Does anyone have thoughts or 
>> suggestions?
> Maybe you can have a look if there is any environment variable that is 
> being passed on to the other machines in the cluster, which contains 
> the user's IP (such as 'HTTP_X_FORWARDED_FOR') ...
> If you have another environment var that contains the IP address, you 
> coul d probably get away with patching lib/Vend/Server.pm  in the 
> 'populate' sub ...
> CU,
> Gert
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users

Jonathon Sim <sim at zeald.com>
Senior Developer @ Zeald.com (http://www.zeald.com)

More information about the interchange-users mailing list