New mirror in Ukraine - need testing!

Hello, i was created a new mirror fastmirror.pp.ua/manjaro (http, https).

Mirror synced from rsync://mirrorservice.org/repo.manjaro.org/repos/

Speed 100MiBps.

Please help with test from Ukraine and world.

Thanks

6 Likes

:+1:

Do you have a custom-mirrors.json file we can use for testing purposes?

Yeah. Try editing your /var/lib/pacman-mirrors/custom-mirrors.json and replace all content with this:

[
  {
    "branches": [
      1,
      1,
      1
    ],
    "continent": "Europe",
    "country": "Ukraine",
    "last_sync": "04:08",
    "protocols": [
      "https",
      "http"
    ],
    "resp_time": "00.00",
    "url": "`https://fastmirror.pp.ua/manjaro/"`
  }
]

Done and not bad:

sudo pacman --sync --refresh --refresh
:: Synchronising package databases...
 core                  169.2 KiB  2015 KiB/s 00:00 [######################] 100%
 extra                2013.0 KiB  6.78 MiB/s 00:00 [######################] 100%
 community               6.2 MiB  10.8 MiB/s 00:01 [######################] 100%
 multilib              194.3 KiB  11.2 MiB/s 00:00 [######################] 100%

I’ll see with the next update if it gives a sustained speed and will feed back.

:innocent:

Thanks for testing! Can you help with correct settings for rsync? I also want to add support for this protocol, but I don’t know how best to configure the rsync server to work.

No I don’t, but @akin2silver just set up the :australia: mirror, so he has the technical knowledge about setting up mirrors…

:innocent:

1 Like

This isn’t needed for the regular manjaro user. This would only be helpful if you wanted to be a tier 2 host and for that, I would suggest you needed a larger internet pipe. (Tier 2 hosts allow other mirrors to sync from them)

But if you wanted to do it for fun and learning Rsync is pretty straight forwards for setting up so people can pull from you. A quick google pulled up the following site it shows how to set it up as read-only and stuff like that. (read-only is super important) that said I would play around with it a bit before you make it public :slight_smile:

If I have miss understood you and you just want to automate your own rsync syncing i can show you what i did :slight_smile:

1 Like

Thanks, it would be nice. In the future, my server will increase memory and later transferred to a 1 gigabit channel, as well as new repositories of other distributions will be added. Therefore, I would like to understand rsync, namely, what settings are needed for optimal repository sharing.

1 Like

Just follow the article and then you’ll have a basic rsync daemon.

Then you need to start monitoring CPU/DSK/MEM and optimise if you hit bottlenecks. As the kernel is optimised for servers, it should be optimized for most use cases…

:innocent:

Good news, everyone! Now repo supports RSYNC!!! New file /var/lib/pacman-mirrors/custom-mirrors.json

[
  {
    "branches": [
      1,
      1,
      1
    ],
    "continent": "Europe",
    "country": "Ukraine",
    "last_sync": "04:08",
    "protocols": [
      "https",
      "http",
      "rsync"
    ],
    "resp_time": "00.00",
    "url": "`https://fastmirror.pp.ua/manjaro/"`
  }
]

Need help with rsync testing!)

sudo pacman --sync --refresh --refresh
:: Synchronising package databases...
 core                  169.2 KiB  2.07 MiB/s 00:00 [######################] 100%
 extra                2013.0 KiB  8.19 MiB/s 00:00 [######################] 100%
 community               6.2 MiB  9.51 MiB/s 00:01 [######################] 100%
 multilib              194.3 KiB  11.9 MiB/s 00:00 [######################] 100%

I’ll test again with the next major stable release…

:innocent:

More good news!!
Now i have IPv6 support (using 6to4 but thats okay) )

Public address is 2002:5d7e:73b6:3:e1b1:182a:617d:77a7

But can anybody help me to understand: how can I test it?)

Updated:

Now add AAAA record in DNS… After 24 hours we can check it.

You need to find someone whose ISP is full IPV6 and then you just check your logs.

curl ip6.icanhazip.com
curl: (7) Couldn't connect to server

(I don’t have IPV6)

:sob:

Didnt you hear? IPv6 causes 5G. :laughing:

1 Like

Don’t post crazy :poop: like that! Some conspiracy theorist is going to point to this post as “proof” that IPV6 does cause 5G!

:joy:

Phew, finally. Now IPv6 works totally!

New URL: http://[2001:470:71:289:6829:17ff:fe25:da0c]/manjaro/

P.S.: Domain fastmirror.pp.ua resolves both to IPv4 and IPv6.
P.P.S: RSYNC also works with IPv4 and IPv6!