Is there a way to log who and whats been yum updated from your mirror, similar to that of how the xinetd rsync daemon tracks who's mirroring from you in, for example, /var/log/rsync.log?
For example, right now several folks are yum updating from me(repo.atlantic.net), but I can only see it by tcpdumping.
Andrew Mora
Tier 3 Technical Engineer
Microsoft Certified Professional (MCP)
Phone: (800) 540-4686
Fax: (407) 660-8094
www.Atlantic.Net
**********************************************************
CONFIDENTIALITY: This email (including any attachments) may contain
confidential, proprietary, and privileged information. Any unauthorized
disclosure or use without Atlantic.Net's express written consent is strictly
prohibited. If you received this email in error, please notify the sender
and delete this email from your system.
Evening all.
I was doing some poking around with some centos servers this evening and I wanted to try and understand what type of smarts are behind mirrorlist.centos.org.
I know this has been covered before (somewhat). I know there is no way (at present) to "lock" a server on our network down to only using a specific mirror (short of hard coding the mirror URL into the yum repo file). I am aware of such capabilities when using mirrormanager, but we aren't there yet.
As a result, when using the default method of fastestmirrors, I will generally be sent to a mirror that is close to me.
However, I also know there is some level of geo-smarts involved. Usually there is a good chance I will be sent to a mirror within the same country as my server, but not always. When querying mirrorlist, 10 results are returned as expected However out of those 10 results I find that:
7 of the mirrors are in the same country as my server (Australia)
The remaining three are in three separate countries (USA, Canada, Ireland).
If I wait a short while and query mirrorlist again, I get different results:
8 of the mirrors are in the same country as my server (Australia). Interestingly out of these 8 mirrors, one is shown twice (first for HTTP then again for FTP)
The remaining two mirrors are in Canada and Japan
It appears to alternate between 7 and 8 local mirrors, at least from all the testing I have done. With 2-3 mirrors in random countries.
Here is what I found interesting. When performing the same tests from servers in other countries (UK and USA), every time I queried mirrorlist, all 10 mirrors returned were local to the server (ie USA server was always provided 10 mirrors located in USA, and UK server was always provided 10 mirrors in UK)
Soooooo what I was wondering is how the initial list is determined? Obviously there is some level of geo-smarts involved here as most of the mirrors returned at in the same country. But why are a few outside for Australia? My guess is that something may have been implemented a long time ago before Australia had 10 mirrors in total?
Anyhow, enjoy your evening folks.
Cheers,
Seamus
Hello,
I am having issues getting rsync up and running on my mirror for public and
private read only access.
Is there any way someone could send me a copy of their /etc/rsyncd.conf ?
I would appreciate it very much!
Greetings,
I have enabled rsync (v4 and v6) and anonymous FTP (v6 only right now) on
centos.sonn.com. Please confirm and let me know if there is anything else
I can do.
HTTP: http://mirrors.sina.cn/centos/
Sync schedule: Every 12 hrs
Bandwidth: 1Gbps
Location: China
Sponsor: SINA Corporation
Sponsor URL: http://www.sina.com/
IP to authorize: 125.76.244.25
Email contact: leilei3(a)staff.sina.com.cn
---
Yao Leilei
R&D Center - Operating System Dept
http://www.sina.com.cn You're the One