up2date and yum: failover mode?

seth vidal skvidal at phy.duke.edu
Wed Oct 22 17:41:10 UTC 2003


> But if url://somewhere/somepath is successful, it wouldn't check the
> next repo, would it?
> 

that's what roundrobin vs priority is for.

priority = go through the lists in order.
roundrobin = select one at random and progress through them in sequence
from there.

and if you succeed in connecting to one server why would it want to
check the next baseurl?


> You could combine the failover with the "conventional" multirepo
> access of yum like
> 
> [fastbutabitoutdated]
> name=fastbutabitoutdated
> baseurl=url://somewhere/somepath
> 
> [master]
> name=masterbutfailessometimes
> baseurl=url://somewhereelse/somepath
> 	url://somewhere/somepath
> 
> i.e. put your local mirror at front and as a failover to the master
> mirror, ensuring manximum bandwidth when the package is available at
> the local mirror and also being up to date with failover.

huh? why not just include them in one repo and treat them in priority
failover.

I'm not sure what you're goal is above - if the repos are not identical
then they shouldn't be treated as the same.

-sv






More information about the fedora-devel-list mailing list