On Thu, 18 Sep 2008, Mark Whidby wrote:
> FRANCHISSEUR Robert wrote:
>> Hi Troy,
>>
>> is there a way to log which mirror we use when yum update ?
>>
>> I have a mirror 2 floors upstair which comme first in my repos :
>>
>> baseurl=ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/scientific-linux/45/$basearch/errata/SL/RPMS/
>> http: //distrib-coffee.ipsl.jussieu.fr/pub/linux/scientific-linux/45/$basearch/errata/SL/RPMS/
>> http: //ftp.lip6.fr/pub/linux/distributions/scientific/45/$basearch/errata/SL/RPMS/
>> http: //ftp.scientificlinux.org/linux/scientific/45/$basearch/errata/SL/RPMS/
>> ftp: //ftp.scientificlinux.org/linux/scientific/45/$basearch/errata/SL/RPMS/
>> ftp: //linuxsoft.cern.ch/scientific/45/$basearch/errata/SL/RPMS/
>>
>> but I often notice, just doing a 'netstat', that I am using your server
>> rather
>> than ours and I'd like to investigate this furter on a longer period
>> of time.
>
> Hi,
> If you want to use your own mirrors in preference to the others you need to
> include
> "failovermethod=priority" in your repo configuration. The default is
> roundrobin
> which will select one at random from the list.
There is also the yum-fastestmirror package.
I'm only guessing, but from the name it might help.
--
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[log in to unmask]http://www.dpmms.cam.ac.uk/~werdna