Re: parent problems

From: Henny Bekker <henny@dont-contact.us>
Date: Sun, 25 Jan 1998 03:25:29 +0100 (MET)

> You, Henny Bekker, shaped the electrons to say:
>
> +> EXTERNAL SQUID 1 DIALINS
> +> | |
> +> | |
> +> ROUTER 1 ---------- PROXY SERVER 1-------
> +> |
> +> |
> +> ROUTER 2 ---------- PROXY SERVER 2-------
> +> |
> +> |
> +> EXTERNAL SQUID 2
> +>
> +I think you can solve this by using weights in the parent relations in PS1 and
> +PS2 to respectively ES1 and ES2. In PS1 you should have ES1 as a parent with
> +the highest weight factor (ackting as the default) and have ES1 as a parent
> +with a lower weight factor (ackting as fall-back)..
>
> ahhh ok... but what do the weight numbers represent....
>
> cache_host ES1 parent 3128 3130 weight=2
> cache_host PS2 parent 3128 3130 weight=1
>
> ive tried.. didnt work :(
>
Hmm.. I'm using Squid v1.1.19 and Squid v1.1.20 with:
   cache_host cache.nic.surfnet.nl parent 3128 3130 weight=20
   cache_host info-old.nic.surfnet.nl parent 3128 3130 weight=10
and it's working alright.. The "info-old" is used in cace of failure to
reache the "cache" ..

See the squid.conf:
# use 'weight=n' to specify a weighted parent.
# The weight must be an integer. The default weight
# is 1, larger weights are favored more.

Cheers, Henny

-- 
-----------------------------------------------------------------------------
E-Mail: Henny.Bekker@cc.ruu.nl    ! Disclaimer: The main obstacle to progress
http    http://www.ruu.nl/~henny  !             progress is not ignorance,but
PTT:    Voice: +31 30 2536971 Fax: +31 30 2531633 ! the illusion of knowledge
X500:   cn=Henny Bekker, ou=TC, ou=ACCU, o=UU, c=NL                      o
Paper:  H.J.Bekker, Utrecht University, Computer Centre              _  /- _
        Po Box 80011, 3508 TA  Utrecht  Nederland                   (_) > (_)
-----------------------------------------------------------------------------
Received on Sat Jan 24 1998 - 18:29:55 MST

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