[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: up2date and yum: failover mode?



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 physik fu-berlin de

Attachment: pgp00159.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]