SCIENTIFIC-LINUX-USERS Archives

September 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Whidby <[log in to unmask]>
Reply To:
Mark Whidby <[log in to unmask]>
Date:
Thu, 18 Sep 2008 19:31:45 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
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.

ATOM RSS1 RSS2