[squid-users] load balance originservers

From: Btobew <superadmin@dont-contact.us>
Date: Thu, 7 Dec 2006 15:04:19 -0200

 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
Received on Thu Dec 07 2006 - 12:33:26 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST