Good afternoon, Bryan, On Fri, 7 Apr 2006, Bryan Seitz wrote: > Say I have the following: > > [base] > name=RHEL $releasever - $basearch - Base > baseurl=http://server1.blah.com:8080/RHEL/$releasever/rhn > http://server2.blah.com:8080/RHEL/$releasever/rhn > > Is there a method to how it picks the mirror to use? It seems like > currently it choose one at random. I would like to be able to define > a primary that will always be tried first. Any help would be > appreciated. That's configurable for each [repository] block. The "failovermethod" option (check "man yum.conf" to make sure your version of yum supports it) specifies how the choice is made: failovermethod Either 'roundrobin' or 'priority'. 'roundrobin' randomly selects a URL out of the list of URLs to start with and proceeds through each of them as it encounters a failure contacting the host. 'priority' starts from the first baseurl listed and reads through them sequentially. failovermethod defaults to 'roundrobin' if not specified. Cheers, - Bill --------------------------------------------------------------------------- "Hackers do not feel that leisure time is automatically any more meaningful than work time. The desirability of both depends on how they are realized. From the point of a view of a meaningful life, the entire work/leisure duality must be abandoned. As long as we are living our work or our leisure, we are not even truly living. Meaning cannot be found in work or leisure but has to arise out of the nature of the activity itself. Out of passion. Social value. Creativity." -- Andrew Leonard <aleonard@xxxxxxxxx> http://salon.com/tech/col/leon/2001/02/05/hacker_ethic/index2.html -------------------------------------------------------------------------- William Stearns (wstearns@xxxxxxxxx). Mason, Buildkernel, freedups, p0f, rsync-backup, ssh-keyinstall, dns-check, more at: http://www.stearns.org --------------------------------------------------------------------------