Hi there,
Is someone able to provide me with information on how fastest mirrors plugin + multiple mirrors operates? We run http://centos.mirror.uber.com.au which is located in our network. We sync every few hours so we are almost always up to date. However, even when running updates from within our network we find it is quite random as to where we are sent. Ideally we would like all of our updates to come directly from our mirror but this does not appear to be happening.
An example is shown here:
http://mirrorlist.centos.org/?ip=113.20.13.218&arch=x86_64&repo=os&a...
The above IP being the actual IP of our mirror server. Similar results for almost all ranges within our network. Some of the other projects we mirror (epel for example) allow us to specify our public IP netblocks to ensure we are always sent directly to our mirror (assuming it is up to date). Can anyone provide some insight into how we can achieve best results here?
Cheers, Seamus Seamus Ryan Platform Engineer Switch 13 UBER (8237) Direct +61 2 6163 9312 Mobile +61 458 858 020 Email s.ryan@uber.com.aumailto:s.ryan@uber.com.au Web www.uber.com.auhttp://www.uber.com.au/ [Description: Facebook]http://www.facebook.com/UberGlobal[Description: UberGlobal Blog]http://www.uber.com.au/blog/[Description: Linked In]http://www.linkedin.com/company/1076575[Description: Twitter]http://twitter.com/uberglobal [Description: UberGlobal Always Ahead | geek - business - enterprise : GPO Box 1515 Canberra ACT 2601. Uber House, Level 2, 92 Northbourne Ave Braddon ACT 2612.]
On 08/17/2012 06:51 AM, Seamus Ryan wrote:
Is someone able to provide me with information on how fastest mirrors plugin + multiple mirrors operates? We run
At the moment, there is noway to lockdown which mirror is handed out to which IP or AS. Its something that is on the ToDo list ( and the move to MirrorManager ).
At the moment, the system works by selecting the best closest mirrors to the IP, checked out by GeoIP lookup to the country level, and hands them out - they are randomised to get a good spread across all mirrors (eg. in the US we have over a 100 mirrors, and we want to try and get as many of them traffic as possible ).
Almost all mirrorlist calls should return mirrors in the country ( if we have some there ) and some from nearby ( geo ) countries.
FastestMirror will do a socket connect to each of those machines and order by speed of connection, it isnt foolproof but the results are usually 200% to 250% better than the unordered list.
Seamus Ryan kirjoitti:
Is someone able to provide me with information on how fastest mirrors plugin + multiple mirrors operates? We run http://centos.mirror.uber.com.au which is located in our network. We sync every few hours so we are almost always up to date. However, even when running updates from within our network we find it is quite random as to where we are sent. Ideally we would like all of our updates to come directly from our mirror but this does not appear to be happening.
As Karanbir mentioned, MirrorManager would let us do exactly that. Unfortunately the CentOS MM installation is not quite there yet.
But I'd like to add that your mirror seems to have an IPv6 address, so it'll get listed on the IPv6 mirrorlist as well. It seems that your mirror has been unreachable over IPv6 from the IPv6 mirror monitoring server between 9th August - 19th August, and thus it hasn't been included on the IPv6 mirrorlist during that time. Considering that you posted your message on the 17th, perhaps this has been one of the reasons you were observing reduced usage of your mirror. Admittedly the IPv6 mirror monitoring server is located across the world in Finland (it'll be moved to France soon), so there are lots of possibilities for various routing hiccups along the path. Everything seems to be working fine now, though.