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:
Michael Mansour <[log in to unmask]>
Reply To:
Michael Mansour <[log in to unmask]>
Date:
Fri, 19 Sep 2008 07:53:31 +1100
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
Hi Troy,

> 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.

So does that mean we specify the baseurl entry first, then the mirrorlist
entry? like:

baseurl=blah1
mirrorlist=blah2
failovermethod=priority

and yum will first use the baseurl first (if it can connect) before skipping
to the mirrors?

Michael.

ATOM RSS1 RSS2