Search squid archive

Re: questions/issues with balance_on_multiple_ip

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

 



Russell Uman wrote:

i'm using squid as a reverse-proxy/accelerator in front of three apache
servers.

i'm trying to find a way to bind each visitor to a single apache server.

from the comments in squid.conf, it looks like balance_on_multiple_ip is
what i want:

#  TAG: balance_on_multiple_ip
#       Some load balancing servers based on round robin DNS have been
#       found not to preserve user session state across requests
#       to different IP addresses.
#
#       By default Squid rotates IP's per request. By disabling
#       this directive only connection failure triggers rotation.

i've disabled balance_on_multiple_ip, but it doesn't seem like squid's
behavior has changed.

You might want to look into the "sourcehash" argument to the cache_peer directive. I think the balance_on_multiple_ip would only work for forward proxies.


am i mistaken about what this feature does?

is there anything else i need to do to get this feature to work?
(additional iptables conntrack rules or config?)

is there any way i can monitor squid to test how it is dealing with
sessions?

thank you!


Chris

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux