I don't meant to use wpad as a load balancer. I would not do it, wpad and pac are not designed for doing that, although it is (roughly) possible to do it. The load balancer device, if there is one, have one and only name, eg, "proxy.your.domain". All the clients must point to that very same name, and let the balancer do its job, that is, balancing between nodes with a chosen algorithm, as a proxy itself. With such a device in the scenario, wpad is only useful to send the node names as a failover, for the (very very rare) case in which the balancer is offline. As for my scenario, I also use wpad to configure some exceptions, some clients that will use a completely different proxy, etc... But, in fact, when using wpad, you have a new point of failure, that is, the webserver that is serving the pac (wpad.dat) file. As a fair solution, every proxy node can have a light webserver serve the pac file and let the DNS balance the requests for the name "http://wpad.your.domain/wpad.dat". On Mon, Nov 17, 2014 at 6:36 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 18/11/2014 12:39 a.m., Carlos Defoe wrote: >> Use a load balancer. HAproxy will do the trick, if you don't want >> to spend some money on a professional load balancer like F5 >> big-ip. > > Or even, taddah ... Squid! > > see cache_peer for the many load balancing algorithms available. > >> >> Don't drop the use of wpad. You can send the balancer name (eg. >> proxy.your.domain) as a default for every client, and send the >> names of the proxy nodes as a failover. > > But, but, WPAD *is* the first layer of load balancing. > Kinkie already posted the way to do clean loadbalancing with failover > between proxies. Without any need for a bottlneck at a balancer server > or IP. > > Amos > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.22 (MingW32) > > iQEcBAEBAgAGBQJUampfAAoJELJo5wb/XPRjqmoH/1Uofs/AnILu8GePdCHBLu3R > 7O6dXpjcI8GTLtjXw12YWVQG5tAW6SBu3S6iLiwLLIxfcHxok/bcn9n+AnD5aBxh > deALwoYavG+iG28uj6DA65eqg02mOgps0HNbLOIk5kZS6G50mKRIoXVIS1JaqESb > 797L9VhDLdckgotn8XGEAXOsPT6ZptgSoHvs/6X1YOx3iV51criH8Nt4O1UsiSY9 > R/YjhfPbtDuK5UG0lU8w1BN1NaJBH2ZQzWu318kUFkGQ6a1eXFIEVTUZG+7APVrd > KOYbgGv99HaTo13a77BYb2Yr5wviVjG41B5rF6Y3LpRCAvOJ9GTb5WDzKPrgeJo= > =/QNG > -----END PGP SIGNATURE----- > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users