[squid-users] cache_peer and acl random problem

From: Jenny Lee <bodycare_5_at_live.com>
Date: Wed, 28 Jul 2010 12:47:13 +0000

Hello folks,
 
I am trying to load-balance a username among 2 parents and the cache itself (direct).
 
I have:
 
[auth_param parts snipped, username works fine]
 
acl 33PERCENT random 1/3
acl TESTUSER proxy_auth TESTUSER
 
cache_peer 2.2.2.3 parent 4444 0 proxy-only name=P2 login=PASS
cache_peer 2.2.2.4 parent 4444 0 proxy-only name=P3 login=PASS
 
cache_peer_access P2 allow TESTUSER 33PERCENT
cache_peer_access P3 allow TESTUSER 33PERCENT
 
cache_peer_access P2 deny all
cache_peer_access P3 deny all
 
 
I can't seem to get this working. I surely must be overlooking something.
 
How can I make the username go from 2 parents and cache itself (direct) randomly?
 
Thanks!
 
J
 
 

 
 
                                                
Received on Wed Jul 28 2010 - 12:47:19 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 30 2010 - 12:00:04 MDT