Re: Roundrobin parents.

From: Rainer Klier <Rainer.Klier@dont-contact.us>
Date: Thu, 15 Jan 1998 19:04:21 +0100 (MET)

> and not in my domain -> this particular proxy that I'm working with is a
> single proxy that *my* clients go to, which feeds off proxya and proxyb
> upstream from me.
>
> > Another thing that may help you is to configure your proxya and proxyb to be
> > proxyAB in your db entry (dns)...when your clients (child) access proxyAB, the
> > round-robin for your proxies would then rotate between proxya and proxyb...then
> > the weights would be the next criterion...hmmmm...
> >
> > Umar Goldeli wrote:
> > >
> > > Greetings,
> > >
> > > Something which has always baffled me is as follows:
> > >
> > > cache_host proxya parent 8080 3130 weight=100 no-query round-robin
> > > cache_host proxyb parent 8080 3130 weight=100 no-query round-robin
> > > cache_host proxyc parent 8080 3130 weight=2 no-query
> > > cache_host proxyd parent 8080 3130 weight=1 no-query
> > >
> > > Basically I want squid to mainly cycle between proxya and proxyb and every
> > > once in a while use c and d. Regardless of what I set weights to, in the
> > > access_log, I get piles of FIRST_UP_PARENT entries with proxya and only a
> > > minute amount of ROUNDROBIN entries or anything that points to proxyb..
> > > all parents are alive and healthy..
> > >
> > > Is there something I'm doing wrong?

Did you get this Problem solved ? I have the same thing here:

cache.log:
98/01/15 18:58:13| Configuring Parent 111.90.3.100/8080/3129
98/01/15 18:58:13| Configuring Parent proxy3.fth.sbs.de/81/7

squid.conf:
cache_host 111.90.3.100 parent 8080 3129 no-query round-robin
cache_host proxy3.fth.sbs.de parent 81 7 no-query round-robin

But it only connects FIRST_UP_PARENT/111.90.3.100. As soon as I remove
the line cache_host 111.90.3.100... I get ROUNDROBIN_PARENT/proxy3.fth.sbs.de
in my logfile. Of course it is the only ROUNDROBIN_PARENT, but at least it
says, that it uses round robin.
Hmm .. I read the Hierarchy-Tutorial, but I can't see any error in
the config file.

Thanx, Rainer

-- 
   ______
  /|     |  Rainer Klier      | Wahr sind auch die Erinnerungen, die wir mit
 / |__   |  Thomas-Mann-Str. 6| uns tragen, die Traeume, die wir spinnen,   
| /__/|  |  90763 Fuerth      | und die Sehnsuechte, die uns treiben. Damit
| |  ||__|  Germany           | wollen wir uns bescheiden.
| |__|/  /  email : klier@kwu.siemens.de                     H.Spoerl
|/______/           rrklier@tychen.franken.de
	    URL   : http://www.franken.de/users/tychen/rrklier/
Received on Thu Jan 15 1998 - 10:12:29 MST

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