第 3 章 在 Satellite 服务器上执行其他配置
3.1. 在 Satellite 中安装和配置 Insights 公告 复制链接链接已复制到粘贴板!
Satellite 中的 Insights 公告只是一个技术预览功能。技术预览功能不受红帽产品服务等级协议(SLA)支持,且功能可能并不完整。红帽不推荐在生产环境中使用它们。这些技术预览功能可以使用户提早试用新的功能,并有机会在开发阶段提供反馈意见。
有关红帽技术预览功能支持范围的更多信息,请参阅技术预览功能支持范围。
Satellite 中的 Insights 公告通过将预定义的规则应用到一组小型本地数据(如安装的软件包、运行服务和配置设置)来分析系统运行状况和配置。当您在 Satellite 中安装 Insights 公告时,您可以在不向红帽服务发送系统数据的情况下生成 Insights 建议。
启用 Satellite 中的 Insights 公告后,您无法对注册到 Satellite 的主机使用托管的 Insights 服务。在 Satellite 中启用 Insights 公告 会阻止您在注册的主机上使用任何 Red Hat Hybrid Cloud Console 服务。
3.1.1. 使用 Satellite ISO 镜像在 Satellite 中安装 Insights 公告 复制链接链接已复制到粘贴板!
您可以使用 Satellite 安装 ISO 镜像来访问所需的容器内容。
先决条件
-
确保已安装
skopeo。如需更多信息,请参阅 Red Hat Enterprise Linux 9 构建、运行和管理容器 工具 中的 获取容器工具。
流程
- 下载并挂载 Satellite ISO 镜像:如需更多信息,请参阅 第 2.4 节 “从离线仓库安装 Satellite 软件包”。
- 为断开连接的环境设置本地存储库。如需更多信息,请参阅 第 2.4 节 “从离线仓库安装 Satellite 软件包”。
在 Satellite 服务器上设置容器:
# /media/sat6/containers/setup_containers启用插件:
# satellite-installer --foreman-plugin-rh-cloud-enable-iop-advisor-engine true
3.1.2. 使用导入和导出在 Satellite 中安装 Insights 公告 复制链接链接已复制到粘贴板!
您可以将容器镜像从连接的系统传输到断开连接的 Satellite 服务器。
先决条件
- 容器镜像下载到连接的系统上。
-
确保已安装
skopeo。如需更多信息,请参阅 Red Hat Enterprise Linux 9 构建、运行和管理容器 工具 中的 获取容器工具。 - 断开连接的 Satellite 服务器已准备好接收镜像。
流程
在连接的系统中,导出容器镜像:
# skopeo copy containers-storage:registry.redhat.io/satellite/iop-advisor-engine-rhel9:6.17 \ oci-archive:/tmp/iop-advisor-engine.tar-
将
iop-advisor-engine.tar文件传送到断开连接的 Satellite 服务器。 在断开连接的 Satellite 服务器上,导入容器镜像:
# skopeo copy oci-archive:/tmp/iop-advisor-engine.tar \ containers-storage:registry.redhat.io/satellite/iop-advisor-engine-rhel9:6.17启用插件:
# satellite-installer --foreman-plugin-rh-cloud-enable-iop-advisor-engine true