On Tue, 2006-06-13 at 23:08, Tony Nelson wrote: > >> > > >> >If someone is working on 'which mirror' solutions, is there > >> >some way to make all installations sharing a proxy server > >> >download from the same site so the cache does what it is > >> >intended to do automatically? > >> > >> Well, yes, just set them all to use the same baseurl and not use mirrors. > >> You can set several baseurls if you want (see how livna does it). I > >> suppose you could also use stablemirror, and list the mirrors you want in > >> the order you want. > > > >How does that work 'automatically'? > > It's not automatic. You didn't specify automatic. And the proxy cache is > working as designed. I could have sworn I said I wanted to know how to make it work automatically. > >In fact, how does it work > >without all of the people using the same proxy knowing > >what the others are doing and agreeing on which baseurl > >to use? > > Right, just as they agree on using the proxy, they must agree on what they > want to proxy. They would have to agree to use the same baseurls in the > same order. Yum will probably never be psychic. The people involved would have to be psychic as they probably don't know or care what OS distribution anyone else is using or whether or not they do updates. And hand-specifying any single url is a horrible thing to do if they ever change. Yum, on the other hand, sees a current list of mirrors and should be able to do something intelligent, not psychic with them that would pick the same one for everyone at a location. Trying the one closest alphabetically to the local domain name would be better than nothing but there's probably a way to do a real geo-ip match for the mirror nearest the proxy. -- Les Mikesell lesmikesell@xxxxxxxxx