第 5 章 配置 Satellite 的性能
Satellite 附带多个组件,它们相互通信。您可以相互独立调整这些组件,以为您的场景获得最大可能的性能。
5.1. 应用配置 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
在以下部分中,我们建议各种可调项以及如何应用它们。与大多数情况下,需要重启 Satellite,始终会首先在非生产环境中测试这些在非生产环境中更改的备份。
最好在应用任何更改前设置监控,因为您可以评估更改的影响。我们的测试环境可能比您认为,虽然我们很难预测真实环境环境,但可能太长。
更改 systemd 服务文件
如果您更改了一些 systemd 服务文件,您需要通知 systemd 守护进程重新载入配置:
systemctl daemon-reload
# systemctl daemon-reload
重启 Satellite 服务:
satellite-maintain service restart
# satellite-maintain service restart
更改配置文件
如果您更改了配置文件,如 /etc/foreman-installer/custom-hiera.yaml
,请重新运行安装程序以应用您的更改:
satellite-installer
# satellite-installer
使用附加选项运行安装程序
如果您需要使用添加的一些新选项重新运行安装程序:
satellite-installer new options
# satellite-installer new options
检查设置的基本性
可选:进行任何更改后,运行此快速 Satellite 健康检查:
satellite-maintain health check
# satellite-maintain health check