Search squid archive

load balance originservers

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

 



 hi all, I am using squid 2.6 in accel mode and I want to load balance some requests to diferent originservers

like:

users (example.com) ---> apache ---> squid ---> 150.1.2.3.4|150.1.2.3.5|150.1.2.3.6

in my config I am using:

cache_peer 150.1.2.3.4        parent  80      0       no-query originserver no-digest name=org1 no-netdb-exchange
cache_peer 150.1.2.3.5        parent  80      0       no-query originserver no-digest name=org2 no-netdb-exchange
cache_peer 150.1.2.3.6        parent  80      0       no-query originserver no-digest name=org4 no-netdb-exchange


cache_peer_domain       org1       .example.com
cache_peer_domain       org2       .example.com
cache_peer_domain       org3       .example.com



but is not working, all requests goes to first server ( who is in dns ) any idea ?


thanks









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

  Powered by Linux