5.8. 同步红帽软件仓库
将存储库与红帽 CDN 的存储库同步。
对于 Web UI 用户
- 在 Satellite Web UI 中,进入到 Content > Products,再选择包含您要同步的软件仓库的产品。
- 选择您要同步的存储库,然后单击 Sync Now。
要在 web UI 中查看同步的进度,请导航到 Content > Sync Status 并展开对应的产品或存储库树。
对于 CLI 用户
同步 Red Hat Enterprise Linux Server 产品中启用的软件仓库:
hammer product synchronize \ --name "Red Hat Enterprise Linux Server" \ --organization "My_Organization"
# hammer product synchronize \
--name "Red Hat Enterprise Linux Server" \
--organization "My_Organization"
您还可以单独同步每个存储库。列出产品中的所有存储库,然后使用相应存储库的 ID 号同步。例如:
同步持续时间取决于每个存储库的大小以及网络连接的速度。下表根据可用的互联网带宽,提供同步内容所需的时间:
| 单个软件包(10Mb) | 次发行版本(750Mb) | 主发行版本(6Gb) | |
|---|---|---|---|
| 256 Kbps | 5 分钟 27 Secs | 6 hrs 49 Mins 36 Secs | 2 天 Hrs 55 次版本 |
| 512 Kbps | 2 mins 43.84 Secs | 3 个 hrs 24 Mins 48 Secs | 1 天 Hrs 57 次版本 |
| T1 (1.5 Mbps) | 54.33 secs | 1 HR 7 Mins 54.78 Secs | 9 hrs 16 Mins 20.57 Secs |
| 10 Mbps | 8.39 secs | 10 分钟.15 Secs | 1 HR 25 Mins 53.96 Secs |
| 100 Mbps | 0.84 secs | 1 分钟 2.91 Secs | 8 分钟 35.4 Secs |
| 1000 Mbps | 0.08 secs | 6.29 秒 | 51.54 secs |
创建同步计划,以确保定期更新。