Hello,
I was wondering, how does the "fastest mirror" algorithm work?
In my particular case, being a campus with large address pool I think it could be interesting if we could somehow force users from our subnet to use my mirror.
André Dault Analyste principal en informatique / Senior Computing Analyst Faculté des Sciences / Faculty of Science Universté d'Ottawa/Universty of Ottawa
adault@uOttawa.ca 613-562-5800 x 6086
I'm in and out of here all the time, But I remember talk of a new-er mirroring system being in the works. With some functionality like fedora has where you can redirect your local subnets to your server, if its up to date. Anyone else remember this? Correct me if I'm wrong.
I know currently, You have to change the repo.conf file for each machine to point it locally.
On 1/6/2011 1:39 PM, Andre Dault wrote:
Hello,
I was wondering, how does the "fastest mirror" algorithm work?
In my particular case, being a campus with large address pool I think it could be interesting if we could somehow force users from our subnet to use my mirror.
André Dault Analyste principal en informatique / Senior Computing Analyst Faculté des Sciences / Faculty of Science Universté d'Ottawa/Universty of Ottawa
adault@uOttawa.ca 613-562-5800 x 6086
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
/me is curious too, as author of MirrorManager. :-)
-- Matt Domsch Technology Strategist Dell | Office of the CTO
-----Original Message----- From: centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org] On Behalf Of Nick Olsen Sent: Thursday, January 06, 2011 12:47 PM To: Mailing list for CentOS mirrors. Subject: Re: [CentOS-mirror] Mirror question
I'm in and out of here all the time, But I remember talk of a new-er mirroring system being in the works. With some functionality like fedora has where you can redirect your local subnets to your server, if its up to date. Anyone else remember this? Correct me if I'm wrong.
I know currently, You have to change the repo.conf file for each machine to point it locally.
On 1/6/2011 1:39 PM, Andre Dault wrote:
Hello,
I was wondering, how does the "fastest mirror" algorithm work?
In my particular case, being a campus with large address pool I think it could be interesting if we could somehow force users from our subnet to use my mirror.
André Dault Analyste principal en informatique / Senior Computing Analyst Faculté des Sciences / Faculty of Science Universté d'Ottawa/Universty of Ottawa
adault@uOttawa.ca 613-562-5800 x 6086
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
_______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
I would love to see this happen for CentOS. MirrorManger works well for me with my local fedora mirror.
On 1/6/2011 2:46 PM, Matt_Domsch@Dell.com wrote:
/me is curious too, as author of MirrorManager. :-)
-- Matt Domsch Technology Strategist Dell | Office of the CTO
-----Original Message----- From: centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org] On Behalf Of Nick Olsen Sent: Thursday, January 06, 2011 12:47 PM To: Mailing list for CentOS mirrors. Subject: Re: [CentOS-mirror] Mirror question
I'm in and out of here all the time, But I remember talk of a new-er mirroring system being in the works. With some functionality like fedora has where you can redirect your local subnets to your server, if its up to date. Anyone else remember this? Correct me if I'm wrong.
I know currently, You have to change the repo.conf file for each machine to point it locally.
On 1/6/2011 1:39 PM, Andre Dault wrote:
Hello,
I was wondering, how does the "fastest mirror" algorithm work?
In my particular case, being a campus with large address pool I think it could be interesting if we could somehow force users from our subnet to use my mirror.
André Dault Analyste principal en informatique / Senior Computing Analyst Faculté des Sciences / Faculty of Science Universté d'Ottawa/Universty of Ottawa
adault@uOttawa.ca 613-562-5800 x 6086
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Am 06.01.11 20:46, schrieb Matt_Domsch@Dell.com:
/me is curious too, as author of MirrorManager. :-)
As said (maybe you weren't subscribed then): Work on that won't start before 6 is out of the door. But yes, I think the general thinking is that we want to get away from our generic system.
Ralph
Hello folks Do any know why this problem is coming up *ERROR /etc/yum.repos.d# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=addons error was [Errno 4] IOError: <urlopen error (111, 'Connection refused')> Error: Cannot find a valid baseurl for repo: addons
Any idea to the solution: * I have a server CentOS 5.5 and this is the content of my /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # #
[base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Niji Ogunbameru IT Systems Experian pH * Royalty Studios | 105-109 Lancaster | Road London | W11 1QF T: 44 (0) 207 9859782 | M: 44 (0) 795 9716201 http://www.experian.co.uk%7C http://www.phgroup.com
On 01/06/2011 07:46 PM, Matt_Domsch@Dell.com wrote:
/me is curious too, as author of MirrorManager. :-)
-- Matt Domsch Technology Strategist Dell | Office of the CTO
-----Original Message----- From: centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org] On Behalf Of Nick Olsen Sent: Thursday, January 06, 2011 12:47 PM To: Mailing list for CentOS mirrors. Subject: Re: [CentOS-mirror] Mirror question
I'm in and out of here all the time, But I remember talk of a new-er mirroring system being in the works. With some functionality like fedora has where you can redirect your local subnets to your server, if its up to date. Anyone else remember this? Correct me if I'm wrong.
I know currently, You have to change the repo.conf file for each machine to point it locally.
On 1/6/2011 1:39 PM, Andre Dault wrote:
Hello,
I was wondering, how does the "fastest mirror" algorithm work?
In my particular case, being a campus with large address pool I think it could be interesting if we could somehow force users from our subnet to use my mirror.
André Dault Analyste principal en informatique / Senior Computing Analyst Faculté des Sciences / Faculty of Science Universté d'Ottawa/Universty of Ottawa
adault@uOttawa.ca 613-562-5800 x 6086
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Hi,
Did u try to run first a "yum clean all" and after tha try to update again.
Regards Marius
----- Original Message ----- From: "niji ogunbameru" niji.ogunbameru@phgroup.com To: "Mailing list for CentOS mirrors." centos-mirror@centos.org Sent: Thursday, March 17, 2011 1:21:41 PM Subject: Re: [CentOS-mirror] Mirror question ref:: yum Update
Hello folks Do any know why this problem is coming up ERROR /etc/yum.repos.d# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=addons error was [Errno 4] IOError: <urlopen error (111, 'Connection refused')> Error: Cannot find a valid baseurl for repo: addons
Any idea to the solution:
I have a server CentOS 5.5 and this is the content of my /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # #
[base] name=CentOS-$releasever - Base mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl= http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl= http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl= http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl= http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl= http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl= http://mirror.centos.org/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Niji Ogunbameru IT Systems Experian pH * Royalty Studios | 105-109 Lancaster | Road London | W11 1QF T: 44 (0) 207 9859782 | M: 44 (0) 795 9716201 http://www.experian.co.uk | http://www.phgroup.com On 01/06/2011 07:46 PM, Matt_Domsch@Dell.com wrote:
/me is curious too, as author of MirrorManager. :-)
-- Matt Domsch Technology Strategist Dell | Office of the CTO
-----Original Message----- From: centos-mirror-bounces@centos.org [ mailto:centos-mirror-bounces@centos.org ] On Behalf Of Nick Olsen Sent: Thursday, January 06, 2011 12:47 PM To: Mailing list for CentOS mirrors. Subject: Re: [CentOS-mirror] Mirror question
I'm in and out of here all the time, But I remember talk of a new-er mirroring system being in the works. With some functionality like fedora has where you can redirect your local subnets to your server, if its up to date. Anyone else remember this? Correct me if I'm wrong.
I know currently, You have to change the repo.conf file for each machine to point it locally.
On 1/6/2011 1:39 PM, Andre Dault wrote:
Hello,
I was wondering, how does the "fastest mirror" algorithm work?
In my particular case, being a campus with large address pool I think it could be interesting if we could somehow force users from our subnet to use my mirror.
André Dault Analyste principal en informatique / Senior Computing Analyst Faculté des Sciences / Faculty of Science Universté d'Ottawa/Universty of Ottawa adault@uOttawa.ca 613-562-5800 x 6086
_______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Am 17.03.11 12:21, schrieb niji ogunbameru:
Hello folks Do any know why this problem is coming up *ERROR /etc/yum.repos.d# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=addons error was [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Which IP address do you get for mirrorlist.centos.org, when that happens?
Ralph
On 01/06/2011 12:39 PM, Andre Dault wrote:
I was wondering, how does the "fastest mirror" algorithm work?
Very simple/naive, compares ping response times, see /var/cache/yum/timedhosts.txt for last-used values (which I sometimes tweak by hand to get mirrors I want).
-- Rex
Am 06.01.11 19:57, schrieb Rex Dieter:
On 01/06/2011 12:39 PM, Andre Dault wrote:
I was wondering, how does the "fastest mirror" algorithm work?
Very simple/naive, compares ping response times, see /var/cache/yum/timedhosts.txt for last-used values (which I sometimes tweak by hand to get mirrors I want).
It at least does a connect() to the host in question.
Ralph
On 01/06/2011 12:39 PM, Andre Dault wrote:
I was wondering, how does the "fastest mirror" algorithm work?
Could/would be a nightmare in a large installation, but if you're deploying from templates or have a control management system in place I've had pretty good luck with inserting my local mirror as a baseurl before the mirrorlist.
baseurl=http://mirror.cisp.com/centos/$releasever/os/$basearch/ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep...
I could easily be missing something obvious and dangerous here, but my testing seems to show it will read from my mirror first and if it fails for some reason move on to the mirror list. My main concern was accidentally breaking all updates if our mirror goes away for some reason, but it seems to handle it fine.
Obviously not as good as an updated mirror system, but something to maybe get some folks by.
Matt Ruzicka | Senior Systems Engineer CISP - www.cisp.com
Yes, that is exactly the purpose of having that line in the default config, although commented out initially.
But, it would still be nice to have the mirror list algorithm read in some IP addresses that would always put preferred mirrors in the top of the list.
We had some discussion on implementing Mirror Manager or some other more intelligent mirror management system. Has there been a consensus on which system to implement?
I personally like the Mirror Manager, and the way it handles a large mirror system like Fedora is really good!
Regards HASSAN
On Fri, Jan 7, 2011 at 03:10, Matt Ruzicka mruzicka@cisp.com wrote:
On 01/06/2011 12:39 PM, Andre Dault wrote:
I was wondering, how does the "fastest mirror" algorithm work?
Could/would be a nightmare in a large installation, but if you're deploying from templates or have a control management system in place I've had pretty good luck with inserting my local mirror as a baseurl before the mirrorlist.
baseurl=http://mirror.cisp.com/centos/$releasever/os/$basearch/ mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep...
I could easily be missing something obvious and dangerous here, but my testing seems to show it will read from my mirror first and if it fails for some reason move on to the mirror list. My main concern was accidentally breaking all updates if our mirror goes away for some reason, but it seems to handle it fine.
Obviously not as good as an updated mirror system, but something to maybe get some folks by.
Matt Ruzicka | Senior Systems Engineer CISP - www.cisp.com
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror