7.4. 使用 Satellite 间同步
现在配置了 Satellite 间同步,您可以使用它同步主 Satellite 和辅助 Satellite 间的频道。
在辅助服务器的
/etc/rhn/rhn.conf 文件的以下行中配置主服务器主机名和 SSL 证书文件路径:
iss_parent = master.satellite.domain.com
iss_ca_chain = /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
然后输入以下内容运行
satellite-sync 命令:
# satellite-sync -c your-channel
注意
satellite-sync 命令的任意命令行选项将覆盖 /etc/rhn/rhn.conf 文件的所有默认或者自定义设置
7.4.1. 在开发临时服务器和产品 Satellite 间同步 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
可能有些事务的管理员想要与有可在 Production Satellite 服务器产品中使用的自定义频道的临时服务器同步。
例如:产品 Satellite 服务器通常直接与红帽网络托管的服务器同步进行内容更新,但偶尔也会与红帽网络 Satellite 开发服务器同步可在产品环境中使用的信息。
图 7.4. 与红帽网络托管服务器和 Satellite 临时服务器同步
通常管理员运行:
satellite-sync -c your-channel
这个命令直接从「rhn_parent」下载数据(通常是红帽网络托管的,rhn.redhat.com)。然后要与临时 Satellite 服务器地址同步,管理员会运行:
satellite-sync --iss-parent=staging-satellite.example.com -c custom-channel