Hey Sekar,
First thing to do is to actually describe\understand the infrastructure.
I Would start and say that Balancing on the same machine would be better
done in the firewall level and not by another process.
You can do that by using iptables and some modules.
Regards,
Eliezer
On 11/26/2012 11:38 PM, Sekar Duraisamy wrote:
> Hi Team,
>
> I have 2 squid instances running on the same machine with different port.
>
> Proxy: proxy1.com: 3128 and 3129
>
> Now i have created new squid instance on the machine with 3130 port
> and i need to load-balance traffic of 3130 with 3128 and 3129.
>
> I have tried like this
>
> acl xxx dstdomain xxx.com
>
> cache_peer proxy1.com parent 3128 0 no-query default round-robin
> weight=1 name= server1
> cache_peer proxy1.com parent 3129 0 no-query default round-robin
> weight=1 name=server2
>
> cache_peer_access server1 allow xxx
> cache_peer_access server2 allow xxx
>
> But somehow it is not working.. It takes only first entry. The
> request not going to 3129 ...
>
> All 3 instances are working in the
> same machine is a problem? If so is there a way configure in the same
> machine?
>
> Thanks a lot in advance.
>
> Regrds,
> Sekar
>
-- Eliezer Croitoru https://www1.ngtech.co.il sip:ngtech_at_sip2sip.info IT consulting for Nonprofit organizations eliezer <at> ngtech.co.ilReceived on Mon Nov 26 2012 - 22:33:13 MST
This archive was generated by hypermail 2.2.0 : Tue Nov 27 2012 - 12:00:04 MST