2.2. 附加 Satellite 基础架构订阅
如果您在 Satellite 上启用了 SCA,请跳过这一步。不需要使用 subscription-manager 将 Red Hat Satellite Infrastructure 订阅附加到 Capsule 服务器。有关 SCA 的更多信息,请参阅简单内容访问。
在注册了 Capsule 服务器后,您必须识别您的订阅池 ID 并附加可用订阅。Red Hat Satellite Infrastructure 订阅提供对 Red Hat Satellite 和 Red Hat Enterprise Linux 内容的访问。
Red Hat Satellite Infrastructure 包括在所有包括 Satellite 的订阅中,以前称为 智能管理。如需更多信息,请参阅红帽知识库中的 Satellite 基础架构订阅 MCT3718 MCT3719。
如果订阅尚未附加到系统,则订阅被归类为可用。如果您无法找到可用的 Satellite 订阅,请查看红帽知识库解决方案 如何找出在 Red Hat Subscription Manager 下注册的客户端使用了哪个订阅? 运行脚本以查看另一个系统是否消耗了您的订阅。
流程
确定 Satellite 基础架构订阅的池 ID:
# subscription-manager list --all --available --matches 'Red Hat Satellite Infrastructure Subscription'
该命令显示类似如下的输出:
Subscription Name: Red Hat Satellite Infrastructure Subscription Provides: Red Hat Satellite Red Hat Software Collections (for RHEL Server) Red Hat CodeReady Linux Builder for x86_64 Red Hat Satellite Capsule Red Hat Ansible Engine Red Hat Satellite with Embedded Oracle Red Hat Satellite 5 Managed DB Red Hat Enterprise Linux Load Balancer (for RHEL Server) Red Hat Beta Red Hat Software Collections Beta (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Enterprise Linux for x86_64 Red Hat Satellite Proxy Red Hat Enterprise Linux High Availability for x86_64 Red Hat Discovery SKU: MCT3718 Contract: Pool ID: 8aca43dd771bf31101771c0231f906a5 Provides Management: Yes Available: 10 Suggested: 1 Service Type: L1-L3 Roles: Service Level: Premium Usage: Add-ons: Subscription Type: Standard Starts: 11/11/2020 Ends: 11/11/2023 Entitlement Type: Physical
- 记录订阅池 ID。您的订阅池 ID 与提供的示例不同。
将 Satellite Infrastructure 订阅附加到您的胶囊服务器在其上运行的基本操作系统。如果 Satellite 服务器上启用了 SCA,您可以跳过此步骤:
# subscription-manager attach --pool=pool_id
该命令显示类似如下的输出:
Successfully attached a subscription for: Red Hat Satellite Infrastructure Subscription
可选:验证是否已附加 Satellite Infrastructure 订阅:
# subscription-manager list --consumed