第 3 章 容器名称


Ansible Automation Platform 为容器化 Ansible Automation Platform 提供经过测试的拓扑。选择最适合您基于容器的部署要求的拓扑。

3.1. 容器增长拓扑

基于容器的增长拓扑为开始使用 Ansible Automation Platform 的机构提供较小的占用空间部署,而无需冗余。包括经过测试的基础架构拓扑、系统要求、网络端口配置和示例清单文件,用于安装。

3.1.1. 基础架构拓扑

此部署模型的红帽测试的基础架构拓扑:

图 3.1. 基础架构拓扑图

红帽根据以下要求测试单个虚拟机:

Expand
表 3.1. 虚拟机要求
要求最低要求

RAM

16 GB

CPU

4

本地磁盘

  • 总可用磁盘空间:60 GB
  • 安装目录:15 GB (如果在专用分区中)
  • 用于在线安装的 /var/tmp: 1 GB
  • 用于离线或捆绑安装的 /var/tmp: 3 GB
  • 临时目录(默认为 /tmp)用于离线或捆绑安装:10GB

磁盘 IOPS

3000

注意

如果使用 hub_seed_collections=true 执行捆绑的增长拓扑安装,则建议使用 32 GB RAM。使用这个配置,安装时间将增加。请参阅集合可能需要 45 分钟或更长时间。

Expand
表 3.2. 基础架构拓扑组件
用途组名称示例

所有 Ansible Automation Platform 组件

  • automationgateway
  • automationcontroller
  • automationhub
  • automationeda
  • database

3.1.2. 测试的系统配置

红帽已测试了这些配置来安装和运行 Red Hat Ansible Automation Platform:

Expand
表 3.3. 系统配置
类型描述

订阅

  • 有效的 Red Hat Ansible Automation Platform 订阅
  • 有效的 Red Hat Enterprise Linux 订阅(使用 BaseOS 和 AppStream 软件仓库)
 

操作系统

  • Red Hat Enterprise Linux 9.2 或更高版本的 Red Hat Enterprise Linux 9 次版本。
  • Red Hat Enterprise Linux 10 或更高版本的 Red Hat Enterprise Linux 10 次版本。
 

CPU 架构

x86_64, AArch64, s390x (IBM Z), ppc64le (IBM Power)

 

ansible-core

  • RHEL 9:安装程序使用 ansible-core 2.14,Ansible Automation Platform 操作使用 ansible-core 2.16。
  • RHEL 10: 安装程序使用 ansible-core 2.16,Ansible Automation Platform 操作使用 ansible-core 2.16。
  • 安装程序使用 RHEL AppStream 存储库中的 ansible-core 软件包。
  • Ansible Automation Platform 捆绑包 ansible-core 2.16 用于操作,因此您不需要手动安装它。

浏览器

当前支持的 Mozilla Firefox 或 Google Chrome 版本。

 

数据库

PostgreSQL 15

外部(客户支持)数据库需要 Unicode (ICU)支持国际组件。

3.1.3. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform。确保这些端口可用,且防火墙不会阻止。

Expand
表 3.4. 网络端口和协议
端口号协议服务Source目的地描述

80/443

TCP

HTTP/HTTPS

Event-Driven Ansible

Automation hub

拉取容器决策环境

80/443

TCP

HTTP/HTTPS

Event-Driven Ansible

自动化控制器

启动自动化控制器作业

80/443

TCP

HTTP/HTTPS

自动化控制器

Automation hub

拉取集合和执行环境镜像

80/443

TCP

HTTP/HTTPS

平台网关

自动化控制器

自动化控制器通信的平台网关

80/443

TCP

HTTP/HTTPS

平台网关

Automation hub

到自动化 hub 通信的平台网关

80/443

TCP

HTTP/HTTPS

平台网关

Event-Driven Ansible

到 Event-Driven Ansible 通信的平台网关

5432

TCP

PostgreSQL

Event-Driven Ansible

数据库

事件驱动 Ansible 数据库访问

5432

TCP

PostgreSQL

平台网关

数据库

平台网关数据库访问

5432

TCP

PostgreSQL

Automation hub

数据库

Automation hub 数据库访问

5432

TCP

PostgreSQL

自动化控制器

数据库

自动化控制器数据库访问

6379

TCP

Redis

Event-Driven Ansible

Redis 容器

用于 Event-Driven Ansible 的作业启动和数据存储

6379

TCP

Redis

平台网关

Redis 容器

平台网关服务的数据存储和检索

8443

TCP

HTTPS

平台网关

平台网关

内部网关 NGINX 通信

27199

TCP

Receptor

自动化控制器

执行容器

Mesh 节点直接连接到控制器。允许作业分发的双向通信。

8083/8446

TCP

HTTP/HTTPS

内部服务

平台网关

平台网关 NGINX 端口。您可以使用以下清单变量配置这些端口: gateway_nginx_http_portgateway_nginx_https_port

8080/8443

TCP

HTTP/HTTPS

内部服务

自动化控制器

自动化控制器 NGINX 端口。您可以使用以下清单变量配置这些端口: controller_nginx_http_portcontroller_nginx_https_port

8081/8444

TCP

HTTP/HTTPS

内部服务

Automation hub

自动化中心 NGINX 端口。您可以使用以下清单变量配置这些端口: hub_nginx_http_porthub_nginx_https_port

8082/8445

TCP

HTTP/HTTPS

内部服务

Event-Driven Ansible

event-Driven Ansible NGINX 端口。您可以使用以下清单变量配置这些端口: eda_nginx_http_port eda_nginx_https_port

3.1.4. 清单文件示例

使用示例清单文件执行安装:

# This is the Ansible Automation Platform installer inventory file intended for the container growth deployment topology.
# This inventory file expects to be run from the host where Ansible Automation Platform will be installed.
# Consult the Ansible Automation Platform product documentation about this topology's tested hardware configuration.
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/tested_deployment_models/container-topologies
#
# Consult the docs if you are unsure what to add
# For all optional variables consult the included README.md
# or the Ansible Automation Platform documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/containerized_installation

# This section is for your platform gateway hosts
# -----------------------------------------------------
[automationgateway]
aap.example.org

# This section is for your automation controller hosts
# -----------------------------------------------------
[automationcontroller]
aap.example.org

# This section is for your automation hub hosts
# -----------------------------------------------------
[automationhub]
aap.example.org

# This section is for your Event-Driven Ansible controller hosts
# -----------------------------------------------------
[automationeda]
aap.example.org

# This section is for the Ansible Automation Platform database
# -----------------------------------------------------
[database]
aap.example.org

[all:vars]
# Ansible
ansible_connection=local

# Common variables
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/containerized_installation/appendix-inventory-files-vars#general-variables
# -----------------------------------------------------
postgresql_admin_username=postgres
postgresql_admin_password=<set your own>

registry_username=<your RHN username>
registry_password=<your RHN password>

redis_mode=standalone

# Platform gateway
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/containerized_installation/appendix-inventory-files-vars#platform-gateway-variables
# -----------------------------------------------------
gateway_admin_password=<set your own>
gateway_pg_host=aap.example.org
gateway_pg_password=<set your own>

# Automation controller
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/containerized_installation/appendix-inventory-files-vars#controller-variables
# -----------------------------------------------------
controller_admin_password=<set your own>
controller_pg_host=aap.example.org
controller_pg_password=<set your own>
controller_percent_memory_capacity=0.5

# Automation hub
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/containerized_installation/appendix-inventory-files-vars#hub-variables
# -----------------------------------------------------
hub_admin_password=<set your own>
hub_pg_host=aap.example.org
hub_pg_password=<set your own>
hub_seed_collections=false

# Event-Driven Ansible controller
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/containerized_installation/appendix-inventory-files-vars#event-driven-ansible-variables
# -----------------------------------------------------
eda_admin_password=<set your own>
eda_pg_host=aap.example.org
eda_pg_password=<set your own>
Copy to Clipboard Toggle word wrap

只有在远程主机上安装时,才需要 SSH 密钥。如果进行一个基于本地虚拟机的安装,您可以使用 ansible_connection=local

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat