[CentOS-mirror] mirrormanager: Database conversion
Matt Domsch
Matt_Domsch at dell.com
Wed Nov 9 00:04:15 EST 2011
On Mon, Nov 07, 2011 at 04:05:59PM -0600, Ralph Angenendt wrote:
> On 07.11.2011 06:40, Matt Domsch wrote:
> >> http,ftp,rsync: The URLs the mirror is at
> >
> > HostCategoryURL, two types: public (default), and private for other
> > downstream mirrors to use. Not sure these are actually used.
>
> Hmm? Does not compute: Those are the actual URLs of the mirror content.
easy to misparse my comment. :-( HostCategoryURLs are used
extensively, yes. The private flag on them (so they're only visible to
other mirrors downstream of you via the SiteToSite tree), not so much.
> >> bandwidth: Actual bandwidth. Not needed.
> >
> > MM does need this, an integer value in Mbps (100 = 100Mbps uplink). Host.bandwidth_int.
>
> Okay. As this is free form for us, this needs normalizing, then.
When I first implemented this for Fedora, I cheated by setting the
value to 100 for everyone, then going back and adjusting to the
correct value if and when one was known.
>
> >> state: more detailed state
> >
> > ?
>
> The reason why it was disabled (lagging, non-responsive and so on.
> Nobody really uses that).
gotcha. MM doesn't have a reason field, the crawler just marks dirs
as not up-to-date.
> I guess something like Releases would be best here? 4, 5, 6, 7 ... We
> don't have anything else.
Seems sane.
> > Host.countries_allowed = list of countries allowed. e.g. a mirror in
> > .il may want to only serve users in .il.
>
> Hmmm. Okay, I can understand that in countries with few mirrors.
or limited connectivity to other countries, such that it would be
expensive to serve users outside.
Thanks,
Matt
--
Matt Domsch
Technology Strategist
Dell | Office of the CTO
More information about the CentOS-mirror
mailing list