Load balance 2 differents parents

From: Rania Fakhoury <raniaf@dont-contact.us>
Date: Fri, 12 Sep 1997 13:38:51 +0300

Hi all,

Using 2 squid 1.1.16 running under linux 2.0.30. I want to load balance betweeb 2 differents parents. Eg:

A-----------------------------B-------------------------C
                         |-------------------------D

B a squid cache that fetch bu default from 3 parents (A,C,D). What I want is load balance between 2 proxy C and D and keep A if C And are down.

I used the following configuration for B but it does not work. It fetchs from C only.
cache_host 195.112.195.49 parent 8082 7 round-robin default no-query weight=10<---------------------This is C
cache_host 195.112.195.50 parent 8082 7 round-robin default no-query weight=10<---------------------This is D
cache_host 194.126.34.34 parent 8082 7 default no-query weight=5<------------------------------------------This is A
cache_host 194.126.34.34 sibling 8082 3134 proxy-only

Is there any fault in this configuration?

Regards,

Rania Fakhoury
System Administrator
Cyberia s.a.l
Beirut Lebanon
Tel: 961-1-744101
Fax: 961-1-744102
http://www.cyberia.net.lb/
Received on Fri Sep 12 1997 - 03:41:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:01 MST