3.4. 重新提供旧的 Satellite 5 服务器
本节介绍在从 Red Hat Satellite 5 服务器迁移到新 Satellite 6 服务器后,如何停用旧的 Satellite 5 服务器,且您不再需要旧的 Satellite 5 服务器。如果您已将 Satellite 5 迁移到新的 RHSM 系统,请继续 第 3.4.1 节 “将订阅迁移到新 Satellite 6”。
如果您还没有将 Satellite 5 迁移到新的 RHSM 系统,请创建新清单,如 内容管理指南中的管理订阅 中所述,并将它们添加到新 Satellite 6 中。https://access.redhat.com/documentation/zh-cn/red_hat_satellite/6.10/html/content_management_guide/managing_subscriptions (可选)运行以下 Python 脚本,从 RHN 中删除旧 Satellite 的配置集:
3.4.1. 将订阅迁移到新 Satellite 6 复制链接链接已复制到粘贴板!
这部分论述了如何将订阅从旧的 Satellite 5 服务器迁移到新的 Satellite 6 服务器。
配置新的订阅:
- 登录客户门户网站,再 转至 SUBSCRIPTIONS。
- 导航到 Inventory,再单击 Satellite 机构。
- 选中旧 Satellite 5 服务器名称左侧的复选框,然后单击 Delete Selected。在出现的警报框中,点 Delete 以删除该单元。
- 单击新 Satellite 6 服务器的名称,再选中转换订阅名称左侧的复选框。单击 Remove selected。在警报框中点 Remove 删除订阅。
- 单击 Attach a subscription,选择实际 Satellite 订阅,然后单击 Attach selected。
在新的 Satellite 6 服务器上运行以下命令,以刷新订阅管理器:
subscription-manager refresh
# subscription-manager refresh
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
在新 Satellite 6 服务器上启用存储库
在旧的 Satellite 5 服务器上,使用以下命令查看您启用了哪些频道:
spacewalk-channel -l
# spacewalk-channel -l
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 在新的 Satellite 6 服务器上,使用以下命令列出为机构启用的存储库:
hammer product list --organization "organization_name"
# hammer product list --organization "organization_name"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 配置新的 Satellite 6 服务器,以确保启用了所有必要的存储库。
对于 Web UI 用户
导航到 Content
Red Hat Repositories 并选择要启用的存储库。 对于 CLI 用户
使用名称或 ID 号启用存储库。(可选)包括发行版本和基本架构。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow