在 Amazon Web Services 上部署 Red Hat Satellite


Red Hat Satellite 6.12

在 Amazon Web Services 上部署 Red Hat Satellite Server 和 Capsules 的参考指南

Red Hat Satellite Documentation Team

摘要

使用本指南在 Amazon Web Services(AWS)Elastic Compute Cloud(Amazon EC2)上部署 Red Hat Satellite Server 和 Capsules。

向红帽文档提供反馈

我们感谢您对文档提供反馈信息。请让我们了解如何改进文档。

您可以通过在 Bugzilla 中记录一个 ticket 来提交反馈:

  1. 导航到 Bugzilla 网站。
  2. Component 字段中,使用 Documentation
  3. Description 字段中,输入您要改进的建议。包括文档相关部分的链接。
  4. Submit Bug

第 1 章 使用案例注意事项

因为 Amazon Web Services 是一个纯镜像服务,所以常见的 Satellite 用例是不工作的,或者需要在 Amazon Web Service 环境中需要进行额外的配置。如果您计划在 AWS 上使用 Satellite,请确保 AWS 环境中要使用的用例场景。

1.1. 工作用例已知

您可以在 AWS 中执行以下 Red Hat Satellite 用例:

订阅

并非所有红帽订阅都有资格在公有云环境中运行。有关订阅资格的更多信息,请参阅 Red Hat Cloud Access Page。您可以创建额外的机构,然后将其他清单导入到机构。如需更多信息,请参阅在 管理 Red Hat Satellite 中创建机构

多homed Satellite 和 Capsule

不支持多homed Satellite。

支持多主胶囊来实现,您可以使用负载均衡器配置胶囊。如需更多信息,请参阅使用 Load Balancer 配置胶囊

当卫星服务器或胶囊服务器有不同的内部和外部 DNS 主机名时,且部署 Satellite 服务器和 Capsule Server 的位置之间没有站点到站点 VPN 连接时,您必须执行此操作。

按需内容源

您可以使用 按需 下载策略来减少运行 Satellite 的服务器的存储空间。当您将下载策略设置为 On Demand 时,当内容主机请求时,内容会同步到卫星服务器或胶囊服务器。

如需更多信息,请参阅管理 内容 中的 导入内容

1.2. 不工作的用例

在 AWS 中,您无法管理 DHCP。因此,大多数卫星服务器的 kickstart 和 PXE 配置模型都不可用。这包括:

  • PXE 调配
  • 发现和发现规则
  • ISO 调配方法.

    • PXE-Less Discovery(iPXE)
    • 按主机 ISO
    • 通用 ISO
    • full-host ISO

第 2 章 部署场景

Amazon Web Services 中针对 Red Hat Satellite 的三种部署场景:

  1. 一个区域设置
  2. 连接内部和 AWS 区域
  3. 连接不同的区域

图 2.1. 场景 1:一个区域设置

AWS 单个区域 satellite

Amazon Web Services 中的 Satellite Server 的最小复杂配置包括卫星服务器以及位于同一区域内和虚拟私有云(VPC)中的内容主机。

您还可以使用不同的可用区。

场景 2:连接内部和 AWS 区域

在内部位置和胶囊所在的 AWS 区域之间创建 VPN 连接。

在您注册运行胶囊服务器的实例时,也可以使用卫星服务器的外部主机名。

选项 1:AWS 地区和内部数据中心间的站点到Site VPN 连接

AWS 组合了 vpn satellite

选项 2:使用外部 DNS 主机名直接连接

AWS 组合了直接 satellite

场景 3:连接不同的区域

在不同区域之间创建一个站点到站点 VPN 连接,以便在将运行胶囊服务器的实例注册到卫星服务器时使用内部 DNS 主机名。

如果您没有建立站点到站点 VPN 连接,请在将运行胶囊服务器的实例注册到卫星服务器时使用外部 DNS 主机名。

注意

大多数公有云供应商不承担传输区域的数据,或在单一地区中的可用区之间收费;但是,它们负责将区域保存至互联网的数据。

选项 1:AWS 区域间的站点到Site VPN 连接

AWS 多区域 vpn satellite

选项 2:使用外部 DNS 主机名直接连接

AWS 多区域直接 satellite

第 3 章 先决条件

在安装和注册 Red Hat Satellite 和 Capsule 之前,您必须将帐户设置为 Amazon Web Services(AWS),并在 AWS 上创建和启动 Red Hat Enterprise Linux 实例。

3.1. Amazon Web Service Assumptions

要使用本指南,您必须了解 Amazon Web Services 的以下方面:

  • 在 AWS 中创建和访问 Red Hat Enterprise Linux 镜像
  • 在 AWS Security 中编辑网络访问
  • 创建 EC2 实例以及如何创建 EBS 卷
  • 启动实例
  • 在 AWS 中导入并导出虚拟机
  • 使用 AWS 直接连接

要在 AWS 环境中安装 Satellite,您必须确保 AWS 设置满足连接网络 环境中安装 卫星服务器中的 系统要求

要在 AWS 环境中安装胶囊,您必须确保您的 AWS 设置满足 安装胶囊 服务器中的 系统要求

有关 Amazon Web Services 和术语的更多信息,请参阅 Amazon Elastic Compute Cloud 文档

有关 Amazon Web Services Direct Connect 的更多信息,请参阅 AWS 直接连接是什么?

3.2. 红帽云先决条件

要使用本指南,您必须完成以下步骤:

  • 使用 Red Hat Cloud Access 注册。
  • 迁移要使用的任何红帽订阅。
  • 创建 AWS 实例,并将 Red Hat Enterprise Linux 虚拟机部署到实例中。
  • 确保您的订阅有资格转移到红帽云。如需更多信息,请参阅 Red Hat Cloud Access Program Details

有关在 AWS 中部署 Red Hat Enterprise Linux 的更多信息,请参阅如何在 AWS EC2 上查找 Red Hat Cloud Access Gold 镜像

3.3. Red Hat Satellite 特定的先决条件

  • 确保 Amazon EC2 实例类型满足或超过 连接网络环境 中的安装卫星服务器中的 系统要求。为获得最佳性能,请使用 优化的 AWS 存储实例
  • 在连接的网络 环境中安装卫星服务器中的 存储要求 以了解并为 AWS EBS 卷分配正确的存储。
  • 将同步内容存储在独立于引导卷的 EBS 卷中。
  • 在操作系统中单独挂载同步的内容 EBS 卷。
  • 可选:将其他数据存储在单独的 EBS 卷中。
  • 如果您希望卫星服务器和胶囊服务器使用外部 DNS 主机名进行通信,请在与实例关联的 AWS 安全组中打开通信所需的端口。

3.4. 准备 Red Hat Satellite 安装

在 AWS 环境中,完成以下步骤:

  1. 启动 Red Hat Enterprise Linux AMI 的 EC2 实例。
  2. 连接到新创建的实例。
  3. 如果您使用 Red Hat Gold Image,请删除 RHUI 客户端,并将 product-id.conf 中的 enabled 参数设置为 1

    # dnf remove -y rh-amazon-rhui-client*
    # dnf clean all
    # cat << EOF > /etc/yum/pluginconf.d/product-id.conf
    > [main]
    > enabled=1
    > EOF

第 4 章 在 AWS 上安装 Satellite 服务器

在 AWS 环境中,完成以下步骤:

  1. 连接到新实例。
  2. 在连接的网络环境中使用安装卫星服务器 来安装卫星服务器。

第 5 章 在 AWS 上安装胶囊

在 AWS 环境中,完成以下步骤:

  1. 连接到新实例。
  2. 安装胶囊服务器。如需更多信息,请参阅安装胶囊服务器

第 6 章 将主机注册到 Satellite

安装卫星服务器和胶囊式服务器时,您必须将 EC2 实例上的主机注册到卫星。如需更多信息,请参阅管理 主机 中的 注册主机

法律通告

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部