up2date and yum: failover mode?

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Wed Oct 22 16:05:32 UTC 2003


On Wed, Oct 22, 2003 at 08:19:19AM -0400, seth vidal wrote:
> > Well, what's more interesting is a failover system when you poll several
> > sources of the same channels (maybe that's how yum already works, from
> > your description it doesn't look like this)
> 
> it is in fact:
> yum has a failovermethod which lets it roundrobin or priority failover
> b/t repos of the same packages example:
> [somerepo]
> name=some guy's repo
> baseurl=url://somewhere/somepath
>         url://somewhereelse/somepath
>         url://somewhereelse/someotherpath
> failovermethod=roundrobin

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

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.
-- 
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20031022/68c76f27/attachment.sig>


More information about the fedora-devel-list mailing list