4
edits
m (→ftpsync) |
m (update hardware description) |
||
| (One intermediate revision by one other user not shown) | |||
|
=== Hardware ===
Mirrors is a standalone [https://www.dell.com/en-us/shop/povw/poweredge-r730xd/1000 Dell R730xd] server (3.5" drive bay variant), with 2x E5-2623 v3s, 128GB of RAM, and 12x 12TB hard drives.
=== Operating System ===
Mirrors runs FreeBSD.
It uses ZFS as the filesystem for the root pool and primary pool that's used for the distribution mirrors (the pool named <code>
It used to use salt, but it broke when upgrading from FreeBSD 12-14. Currently, all maintenance is done by hand (this is a good thing)
|rsync
|}
It's just a repo that was <code>git pull</code>'d, and was not natively installed on the system via pkg.
===== cron =====
<code>cron</code> calls <code>ftpsync</code> to run at certain times.
This is what determines that
This should be set according to
Most distros want tier 1's to sync 4 times a day, and
Currently, this is the schedule Mirrors uses (all times in EST):
|06:03 PM
|-
|EPEL
|00:30 AM
|06:30 AM
|06:14 PM
|-
|RPM Fusion
|00:15 AM
|06:15 AM
It has a hardcoded <code>if</code> block pointing to each distro's dataset path, I'm almost certain could just be replaced with <code>root /lug</code> in the <code>server</code> block.
salt.tar.gz contains all the configuration for salt, and the config files it uses to overwrite the config files located in the standard location (as well as the template files it uses to 'build' configs for services like rsyncd and archvsync when a new distro is added to the primary salt config)▼
=== Salt ===
Salt used to administer these services, but it's half-broken at the moment and ''should not be reinstalled'' (in my opinion).
As such, I think the way Mirrors is setup is essentially perfect, sans salt.
▲salt.tar.gz contains all the configuration for salt, and the config files it uses to overwrite the config files located in the standard location (as well as the template files it uses to 'build' configs for services like rsyncd and archvsync when a new distro is added to the primary salt config)
| |||
edits