测试的部署模型


Red Hat Ansible Automation Platform 2.5

规划 Ansible Automation Platform 的部署

Red Hat Customer Content Services

摘要

本指南为 Red Hat Ansible Automation Platform 提供红帽经过测试和支持的拓扑。

对红帽文档提供反馈

如果您对本文档有任何改进建议,或发现错误,请通过 https://access.redhat.com 联系技术支持来创建一个请求。

第 1 章 测试的部署模型概述

红帽使用一组定义的拓扑测试 Ansible Automation Platform 2.5,为您提供建议的部署选项。部署 Ansible Automation Platform 的所有组件,以便所有功能和功能都可用,而无需进一步操作。

红帽根据定义的基础架构拓扑或参考架构集合测试 Ansible Automation Platform 2.5 的安装。企业组织可以将企业拓扑之一用于生产部署,以确保最高级别的正常运行时间、性能和持续可扩展性。资源约束的机构或部署可以使用增长拓扑。

可以在不同的基础架构拓扑和不同的环境配置上安装 Ansible Automation Platform。红帽不会在公布的参考架构之外完全测试拓扑。红帽建议对所有新部署使用经过测试的拓扑,并为满足最低要求的部署提供合理的支持。

1.1. 安装和部署模型

下表概述了安装或部署 Ansible Automation Platform 的不同方法:

表 1.1. Ansible Automation Platform 安装和部署模型
模式基础架构描述测试的拓扑

RPM

虚拟机和裸机

RPM 安装程序使用 RPM 在 Red Hat Enterprise Linux 上部署 Ansible Automation Platform,以在主机上安装平台。客户管理产品和基础架构生命周期。

容器

虚拟机和裸机

容器化安装程序使用 Podman 在 Red Hat Enterprise Linux 上部署 Ansible Automation Platform,它在主机机器上在容器中运行平台。客户管理产品和基础架构生命周期。

Operator

Red Hat OpenShift

Operator 使用 Red Hat OpenShift Operator 在 Red Hat OpenShift 中部署 Ansible Automation Platform。客户管理产品和基础架构生命周期。

第 2 章 RPM 拓扑

RPM 安装程序使用 RPM 在 Red Hat Enterprise Linux 上部署 Ansible Automation Platform,以在主机上安装平台。客户管理产品和基础架构生命周期。

2.1. RPM 增长拓扑

增长拓扑适用于开始使用 Ansible Automation Platform 的组织,不需要冗余或更高的计算来实现大量自动化。此拓扑允许较小的占用空间部署。

2.1.1. 基础架构拓扑

下图显示了红帽已经测试过此部署模型的基础架构拓扑,供客户在自我管理 Ansible Automation Platform 时使用:

图 2.1. 基础架构拓扑图

RPM 增长拓扑图

每个虚拟机都已根据以下组件要求进行测试:

表 2.1. 虚拟机要求
要求最低要求

RAM

16 GB

CPU

4

本地磁盘

60 GB

磁盘 IOPS

3000

表 2.2. 基础架构拓扑
VM 数量用途VM 组名称示例

1

带有 colocated Redis 的平台网关

automationgateway

1

自动化控制器

automationcontroller

1

私有自动化中心

automationhub

1

Event-Driven Ansible

automationedacontroller

1

自动化网格执行节点

execution_nodes

1

数据库

database

2.1.2. 测试的系统配置

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

表 2.3. 测试的系统配置
类型描述

订阅

有效的 Red Hat Ansible Automation Platform 订阅

操作系统

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

CPU 架构

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

ansible-core

ansible-core 版本 2.16 或更高版本

浏览器

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

数据库

PostgreSQL 15

2.1.3. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 2.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

80/443

TCP

HTTP/HTTPS

平台网关

Event-Driven Ansible

5432

TCP

PostgreSQL

Event-Driven Ansible

数据库

5432

TCP

PostgreSQL

平台网关

数据库

5432

TCP

PostgreSQL

Automation hub

数据库

5432

TCP

PostgreSQL

自动化控制器

数据库

6379

TCP

Redis

Event-Driven Ansible

Redis 节点

6379

TCP

Redis

平台网关

Redis 节点

8443

TCP

HTTPS

平台网关

平台网关

27199

TCP

Receptor

自动化控制器

执行节点

2.1.4. 清单文件示例

使用示例清单文件为此拓扑执行安装:

# This is the Ansible Automation Platform installer inventory file intended for the RPM growth deployment topology.
# 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/rpm-topologies
#
# Consult the docs if you are unsure what to add
# For all optional variables consult the Ansible Automation Platform documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation


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

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

[automationcontroller:vars]
peers=execution_nodes

# This section is for your Ansible Automation Platform execution hosts
# -----------------------------------------------------
[execution_nodes]
exec.example.org

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

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

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

[all:vars]

# Common variables
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-general-inventory-variables
# -----------------------------------------------------
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/rpm_installation/appendix-inventory-files-vars#ref-gateway-variables
# -----------------------------------------------------
automationgateway_admin_password=<set your own>
automationgateway_pg_host=db.example.org
automationgateway_pg_password=<set your own>

# Automation controller
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-controller-variables
# -----------------------------------------------------
admin_password=<set your own>
pg_host=db.example.org
pg_password=<set your own>

# Automation hub
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-hub-variables
# -----------------------------------------------------
automationhub_admin_password=<set your own>
automationhub_pg_host=db.example.org
automationhub_pg_password=<set your own>

# Event-Driven Ansible controller
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-controller
# -----------------------------------------------------
automationedacontroller_admin_password=<set your own>
automationedacontroller_pg_host=db.example.org
automationedacontroller_pg_password=<set your own>

2.2. RPM 混合增长拓扑

增长拓扑适用于开始使用 Ansible Automation Platform 的组织,不需要冗余或更高的计算来实现大量自动化。此拓扑允许较小的占用空间部署。混合拓扑有不同的 Ansible Automation Platform 版本,旨在配置带有自动化控制器 4.4 或 4.5 的 Event-Driven Ansible 1.1 的新安装。

2.2.1. 基础架构拓扑

下图显示了红帽已经测试过此部署模型的基础架构拓扑,供客户在自我管理 Ansible Automation Platform 时使用:

图 2.2. 基础架构拓扑图

RPM 混合增长拓扑图
注意

在这里,自动化控制器和自动化中心处于 2.4x,而 Event-Driven Ansible 和平台网关组件为 2.5

每个虚拟机都已根据以下组件要求进行测试:

表 2.5. 虚拟机要求
要求最低要求

RAM

16 GB

CPU

4

本地磁盘

60 GB

磁盘 IOPS

3000

表 2.6. 基础架构拓扑
VM 数量用途Ansible Automation Platform 版本VM 组名称示例

1

带有 colocated Redis 的平台网关

2.5

automationgateway

1

自动化控制器

2.4

automationcontroller

1

私有自动化中心

2.4

automationhub

1

Event-Driven Ansible

2.5

automationedacontroller

1

自动化网格执行节点

2.4

execution_nodes

1

数据库

2.4

database

2.2.2. 测试的系统配置

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

表 2.7. 测试的系统配置
类型描述

订阅

有效的 Red Hat Ansible Automation Platform 订阅

操作系统

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

CPU 架构

x86_64, AArch64

ansible-core

ansible-core 版本 2.16 或更高版本

浏览器

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

数据库

PostgreSQL 15

2.2.3. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 2.8. 网络端口和协议
端口号协议服务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

80/443

TCP

HTTP/HTTPS

平台网关

Event-Driven Ansible

5432

TCP

PostgreSQL

Event-Driven Ansible

数据库

5432

TCP

PostgreSQL

平台网关

数据库

5432

TCP

PostgreSQL

Automation hub

数据库

5432

TCP

PostgreSQL

自动化控制器

数据库

6379

TCP

Redis

Event-Driven Ansible

Redis 节点

6379

TCP

Redis

平台网关

Redis 节点

8443

TCP

HTTPS

平台网关

平台网关

27199

TCP

Receptor

自动化控制器

执行节点

2.2.4. 清单文件示例

使用示例清单文件为此拓扑执行安装:

# This is the Ansible Automation Platform installer inventory file intended for the mixed RPM growth deployment topology.
# 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/rpm-topologies
#
# Consult the docs if you are unsure what to add
# For all optional variables consult the Red Hat documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation

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

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

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

[all:vars]

# Common variables
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-general-inventory-variables
# -----------------------------------------------------
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/rpm_installation/appendix-inventory-files-vars#ref-gateway-variables
# -----------------------------------------------------
automationgateway_admin_password=<set your own>
automationgateway_pg_host=db.example.org
automationgateway_pg_password=<set your own>

# Event-Driven Ansible controller
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-controller
# -----------------------------------------------------
automationedacontroller_admin_password=<set your own>
automationedacontroller_pg_host=db.example.org
automationedacontroller_pg_password=<set your own>

2.3. RPM 企业拓扑

企业拓扑主要用于需要 Ansible Automation Platform 部署,具有冗余或更高的计算以实现大量自动化。

2.3.1. 基础架构拓扑

下图显示了红帽已经测试过此部署模型的基础架构拓扑,供客户在自我管理 Ansible Automation Platform 时使用:

图 2.3. 基础架构拓扑图

RPM 企业拓扑图

每个虚拟机都已根据以下组件要求进行测试:

表 2.9. 虚拟机要求
要求最低要求

RAM

16 GB

CPU

4

本地磁盘

60 GB

磁盘 IOPS

3000

表 2.10. 基础架构拓扑
VM 数量用途VM 组名称示例

2

带有 colocated Redis 的平台网关

automationgateway

2

自动化控制器

automationcontroller

2

带有 colocated Redis 的私有自动化中心

automationhub

2

带有 colocated Redis 的 event-Driven Ansible

automationedacontroller

1

自动化网格跃点节点

execution_nodes

2

自动化网格执行节点

execution_nodes

1

外部管理的数据库服务

N/A

1

平台网关前面的 HAProxy 负载均衡器(外部管理)

N/A

注意

兼容 Redis 高可用性(HA)部署需要 6 个虚拟机。Redis 可以在每个 Ansible Automation Platform 组件虚拟机上并置,但自动化控制器、执行节点或 PostgreSQL 数据库除外。

2.3.2. 测试的系统配置

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

表 2.11. 测试的系统配置
类型描述

订阅

有效的 Red Hat Ansible Automation Platform 订阅

操作系统

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

CPU 架构

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

ansible-core

ansible-core 版本 2.16 或更高版本

浏览器

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

数据库

PostgreSQL 15

2.3.3. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 2.12. 网络端口和协议
端口号协议服务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

HAProxy 负载均衡器

平台网关

80/443

TCP

HTTP/HTTPS

平台网关

自动化控制器

80/443

TCP

HTTP/HTTPS

平台网关

Automation hub

80/443

TCP

HTTP/HTTPS

平台网关

Event-Driven Ansible

5432

TCP

PostgreSQL

Event-Driven Ansible

外部数据库

5432

TCP

PostgreSQL

平台网关

外部数据库

5432

TCP

PostgreSQL

Automation hub

外部数据库

5432

TCP

PostgreSQL

自动化控制器

外部数据库

6379

TCP

Redis

Event-Driven Ansible

Redis 节点

6379

TCP

Redis

平台网关

Redis 节点

8443

TCP

HTTPS

平台网关

平台网关

16379

TCP

Redis

Redis 节点

Redis 节点

27199

TCP

Receptor

自动化控制器

hop 节点和执行节点

27199

TCP

Receptor

hop 节点

执行节点

2.3.4. 清单文件示例

使用示例清单文件为此拓扑执行安装:

# This is the Ansible Automation Platform enterprise installer inventory file
# Consult the docs if you are unsure what to add
# For all optional variables consult the Red Hat documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation

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

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

[automationcontroller:vars]
peers=execution_nodes

# This section is for your Ansible Automation Platform execution hosts
# -----------------------------------------------------
[execution_nodes]
hop1.example.org node_type='hop'
exec1.example.org
exec2.example.org

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

# This section is for your Event-Driven Ansible controller hosts
# -----------------------------------------------------
[automationedacontroller]
eda1.example.org
eda2.example.org

[redis]
gateway1.example.org
gateway2.example.org
hub1.example.org
hub2.example.org
eda1.example.org
eda2.example.org

[all:vars]
# Common variables
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-general-inventory-variables
# -----------------------------------------------------
registry_username=<your RHN username>
registry_password=<your RHN password>

# Platform gateway
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-gateway-variables
# -----------------------------------------------------
automationgateway_admin_password=<set your own>
automationgateway_pg_host=<set your own>
automationgateway_pg_database=<set your own>
automationgateway_pg_username=<set your own>
automationgateway_pg_password=<set your own>

# Automation controller
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-controller-variables
# -----------------------------------------------------
admin_password=<set your own>
pg_host=<set your own>
pg_database=<set your own>
pg_username=<set your own>
pg_password=<set your own>

# Automation hub
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-hub-variables
# -----------------------------------------------------
automationhub_admin_password=<set your own>
automationhub_pg_host=<set your own>
automationhub_pg_database=<set your own>
automationhub_pg_username=<set your own>
automationhub_pg_password=<set your own>

# Event-Driven Ansible controller
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-controller
# -----------------------------------------------------
automationedacontroller_admin_password=<set your own>
automationedacontroller_pg_host=<set your own>
automationedacontroller_pg_database=<set your own>
automationedacontroller_pg_username=<set your own>
automationedacontroller_pg_password=<set your own>

2.4. RPM 混合企业拓扑

企业拓扑主要用于需要 Ansible Automation Platform 部署,具有冗余或更高的计算以实现大量自动化。

2.4.1. 基础架构拓扑

下图显示了红帽已经测试过此部署模型的基础架构拓扑,供客户在自我管理 Ansible Automation Platform 时使用:

图 2.4. 基础架构拓扑图

RPM 混合企业拓扑图
注意

在这里,自动化控制器和自动化中心处于 2.4x,而 Event-Driven Ansible 和平台网关组件为 2.5

每个虚拟机都已根据以下组件要求进行测试:

表 2.13. 虚拟机要求
要求最低要求

RAM

16 GB

CPU

4

本地磁盘

60 GB

磁盘 IOPS

3000

表 2.14. 基础架构拓扑
VM 数量用途Ansible Automation Platform 版本VM 组名称示例

3

带有 colocated Redis 的平台网关

2.5

automationgateway

2

自动化控制器

2.4

automationcontroller

2

私有自动化中心

2.4

automationhub

3

带有 colocated Redis 的 event-Driven Ansible

2.5

automationedacontroller

1

自动化网格跃点节点

2.4

execution_nodes

2

自动化网格执行节点

2.4

execution_nodes

1

外部管理的数据库服务

N/A

N/A

1

平台网关前面的 HAProxy 负载均衡器(外部管理)

N/A

N/A

注意

兼容 Redis 高可用性(HA)部署需要 6 个虚拟机。Redis 可以在每个 Ansible Automation Platform 2.5 组件虚拟机上并置,但自动化控制器、执行节点或 PostgreSQL 数据库除外。

2.4.2. 测试的系统配置

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

表 2.15. 测试的系统配置
类型描述

订阅

有效的 Red Hat Ansible Automation Platform 订阅

操作系统

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

CPU 架构

x86_64, AArch64

ansible-core

ansible-core 版本 2.16 或更高版本

浏览器

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

数据库

PostgreSQL 15

2.4.3. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 2.16. 网络端口和协议
端口号协议服务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

HAProxy 负载均衡器

平台网关

80/443

TCP

HTTP/HTTPS

平台网关

自动化控制器

80/443

TCP

HTTP/HTTPS

平台网关

Automation hub

80/443

TCP

HTTP/HTTPS

平台网关

Event-Driven Ansible

5432

TCP

PostgreSQL

Event-Driven Ansible

外部数据库

5432

TCP

PostgreSQL

平台网关

外部数据库

5432

TCP

PostgreSQL

Automation hub

外部数据库

5432

TCP

PostgreSQL

自动化控制器

外部数据库

6379

TCP

Redis

Event-Driven Ansible

Redis 节点

6379

TCP

Redis

平台网关

Redis 节点

8443

TCP

HTTPS

平台网关

平台网关

16379

TCP

Redis

Redis 节点

Redis 节点

27199

TCP

Receptor

自动化控制器

hop 节点和执行节点

27199

TCP

Receptor

hop 节点

执行节点

2.4.4. 清单文件示例

使用示例清单文件为此拓扑执行安装:

# This is the Ansible Automation Platform mixed enterprise installer inventory file
# Consult the docs if you are unsure what to add
# For all optional variables consult the Red Hat documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation

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

# This section is for your Event-Driven Ansible controller hosts
# -----------------------------------------------------
[automationedacontroller]
eda1.example.org
eda2.example.org
eda3.example.org

[redis]
gateway1.example.org
gateway2.example.org
gateway3.example.org
eda1.example.org
eda2.example.org
eda3.example.org

[all:vars]
# Common variables
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-general-inventory-variables
# -----------------------------------------------------
registry_username=<your RHN username>
registry_password=<your RHN password>

# Platform gateway
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-gateway-variables
# -----------------------------------------------------
automationgateway_admin_password=<set your own>
automationgateway_pg_host=<set your own>
automationgateway_pg_database=<set your own>
automationgateway_pg_username=<set your own>
automationgateway_pg_password=<set your own>

# Event-Driven Ansible controller
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-controller
# -----------------------------------------------------
automationedacontroller_admin_password=<set your own>
automationedacontroller_pg_host=<set your own>
automationedacontroller_pg_database=<set your own>
automationedacontroller_pg_username=<set your own>
automationedacontroller_pg_password=<set your own>

第 3 章 容器名称

容器化安装程序使用 Podman 在 Red Hat Enterprise Linux 上部署 Ansible Automation Platform,它在主机机器上在容器中运行平台。客户管理产品和基础架构生命周期。

3.1. 容器增长拓扑

增长拓扑适用于开始使用 Ansible Automation Platform 的组织,不需要冗余或更高的计算来实现大量自动化。此拓扑允许较小的占用空间部署。

3.1.1. 基础架构拓扑

下图显示了红帽已经测试过此部署模型的基础架构拓扑,供客户在自我管理 Ansible Automation Platform 时使用:

图 3.1. 基础架构拓扑图

容器增长拓扑图

单个虚拟机已使用以下组件要求进行测试:

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

RAM

16 GB

CPU

4

本地磁盘

  • 60 GB
  • 如果安装目录位于专用分区中,则最少 15 GB 专用于安装目录。

磁盘 IOPS

3000

存储等资源可以根据部署的需求增加。

注意

如果使用 hub_seed_collections=true 执行捆绑的增长拓扑安装,则建议使用 32 GB RAM。请注意,通过此配置,安装时间将增加,并且可能需要 45 分钟或更长时间来完成集合。

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

所有 Ansible Automation Platform 组件

  • automationgateway
  • automationcontroller
  • automationhub
  • automationeda
  • database

3.1.2. 测试的系统配置

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

表 3.3. 测试的系统配置
类型描述

订阅

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

操作系统

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

CPU 架构

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

ansible-core

ansible-core 版本 2.16 或更高版本

浏览器

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

数据库

PostgreSQL 15

3.1.3. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 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

80/443

TCP

HTTP/HTTPS

平台网关

Event-Driven Ansible

5432

TCP

PostgreSQL

Event-Driven Ansible

外部数据库

5432

TCP

PostgreSQL

平台网关

外部数据库

5432

TCP

PostgreSQL

Automation hub

外部数据库

5432

TCP

PostgreSQL

自动化控制器

外部数据库

6379

TCP

Redis

Event-Driven Ansible

Redis 容器

6379

TCP

Redis

平台网关

Redis 容器

8443

TCP

HTTPS

平台网关

平台网关

27199

TCP

Receptor

自动化控制器

执行容器

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#ref-general-inventory-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#ref-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#ref-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#ref-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-controller
# -----------------------------------------------------
eda_admin_password=<set your own>
eda_pg_host=aap.example.org
eda_pg_password=<set your own>

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

3.2. 容器企业拓扑

企业拓扑主要用于需要 Ansible Automation Platform 部署,具有冗余或更高的计算以实现大量自动化。

3.2.1. 基础架构拓扑

下图显示了红帽已经测试过此部署模型的基础架构拓扑,供客户在自我管理 Ansible Automation Platform 时使用:

图 3.2. 基础架构拓扑图

容器企业拓扑图

每个虚拟机都已根据以下组件要求进行测试:

表 3.5. 虚拟机要求
要求最低要求

RAM

16 GB

CPU

4

本地磁盘

  • 60 GB
  • 如果安装目录位于专用分区中,则最少 15 GB 专用于安装目录。

磁盘 IOPS

3000

表 3.6. 基础架构拓扑
VM 数量用途VM 组名称示例

2

带有 colocated Redis 的平台网关

automationgateway

2

自动化控制器

automationcontroller

2

带有 colocated Redis 的私有自动化中心

automationhub

2

带有 colocated Redis 的 event-Driven Ansible

automationeda

1

自动化网格跃点节点

execution_nodes

2

自动化网格执行节点

execution_nodes

1

外部管理的数据库服务

N/A

1

平台网关前面的 HAProxy 负载均衡器(外部管理)

N/A

注意
  • 兼容 Redis 高可用性(HA)部署需要 6 个虚拟机。当使用容器化安装程序安装 Ansible Automation Platform 时,Red Hat Redis 可以在您选择的任何 Ansible Automation Platform 组件虚拟机上并置,但执行节点或 PostgreSQL 数据库除外。它们也可能被分配专门用于 Redis 使用的虚拟机。

3.2.2. 测试的系统配置

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

表 3.7. 测试的系统配置
类型描述

订阅

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

操作系统

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

CPU 架构

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

ansible-core

ansible-core 版本 2.16 或更高版本

浏览器

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

数据库

PostgreSQL 15

3.2.3. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 3.8. 网络端口和协议
端口号协议服务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

HAProxy 负载均衡器

平台网关

80/443

TCP

HTTP/HTTPS

平台网关

自动化控制器

80/443

TCP

HTTP/HTTPS

平台网关

Automation hub

80/443

TCP

HTTP/HTTPS

平台网关

Event-Driven Ansible

5432

TCP

PostgreSQL

Event-Driven Ansible

外部数据库

5432

TCP

PostgreSQL

平台网关

外部数据库

5432

TCP

PostgreSQL

Automation hub

外部数据库

5432

TCP

PostgreSQL

自动化控制器

外部数据库

6379

TCP

Redis

Event-Driven Ansible

Redis 节点

6379

TCP

Redis

平台网关

Redis 节点

8443

TCP

HTTPS

平台网关

平台网关

16379

TCP

Redis

Redis 节点

Redis 节点

27199

TCP

Receptor

自动化控制器

hop 节点和执行节点

27199

TCP

Receptor

hop 节点

执行节点

3.2.4. 清单文件示例

使用示例清单文件为此拓扑执行安装:

# This is the Ansible Automation Platform enterprise installer inventory file
# Consult the docs if you are unsure what to add
# For all optional variables consult the included README.md
# or the Red Hat 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]
gateway1.example.org
gateway2.example.org

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

# This section is for your Ansible Automation Platform execution hosts
# -----------------------------------------------------
[execution_nodes]
hop1.example.org receptor_type='hop'
exec1.example.org
exec2.example.org

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

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

[redis]
gateway1.example.org
gateway2.example.org
hub1.example.org
hub2.example.org
eda1.example.org
eda2.example.org

[all:vars]

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

# Platform gateway
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/containerized_installation/appendix-inventory-files-vars#ref-gateway-variables
# -----------------------------------------------------
gateway_admin_password=<set your own>
gateway_pg_host=externaldb.example.org
gateway_pg_database=<set your own>
gateway_pg_username=<set your own>
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#ref-controller-variables
# -----------------------------------------------------
controller_admin_password=<set your own>
controller_pg_host=externaldb.example.org
controller_pg_database=<set your own>
controller_pg_username=<set your own>
controller_pg_password=<set your own>

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

# 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-controller
# -----------------------------------------------------
eda_admin_password=<set your own>
eda_pg_host=externaldb.example.org
eda_pg_database=<set your own>
eda_pg_username=<set your own>
eda_pg_password=<set your own>

第 4 章 Operator 拓扑

Ansible Automation Platform Operator 使用 Red Hat OpenShift Operator 在 Red Hat OpenShift 中部署 Ansible Automation Platform。客户管理产品和基础架构生命周期。

重要

您只能将 Ansible Automation Platform Operator 的单一实例安装到单个命名空间中。在同一命名空间中安装多个实例可能会导致两个 Operator 实例都不正确的操作。

4.1. Operator 增长拓扑

增长拓扑适用于开始使用 Ansible Automation Platform 的组织,不需要冗余或更高的计算来实现大量自动化。此拓扑允许较小的占用空间部署。

4.1.1. 基础架构拓扑

下图显示了红帽已经测试过此部署模型的基础架构拓扑,供客户在自我管理 Ansible Automation Platform 时使用:

图 4.1. 基础架构拓扑图

Operator 增长拓扑图

单一节点 OpenShift (SNO)集群已使用以下要求进行测试:32 GB RAM、16 个 CPU、128 GB 本地磁盘和 3000 IOPS。

表 4.1. 基础架构拓扑
数量组件

1

自动化控制器 Web pod

1

自动化控制器任务 pod

1

Automation hub API pod

2

Automation hub 内容 pod

2

Automation hub worker pod

1

Automation hub Redis pod

1

event-Driven Ansible API pod

1

event-Driven Ansible 激活 worker pod

1

event-Driven Ansible 默认 worker pod

1

event-Driven Ansible 事件流 pod

1

event-Driven Ansible 调度程序 pod

1

平台网关 pod

1

数据库 pod

1

Redis pod

注意

您可以使用命名空间范围的部署模型将多个 Ansible Automation Platform 实例部署到同一 Red Hat OpenShift Container Platform 集群中。这种方法允许您将同一集群用于多个部署。

4.1.2. 测试的系统配置

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

表 4.2. 测试的系统配置
类型描述

订阅

有效的 Red Hat Ansible Automation Platform 订阅

操作系统

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

CPU 架构

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

Red Hat OpenShift

  • Version: 4.14
  • num_of_control_nodes: 1
  • num_of_worker_nodes: 1

ansible-core

ansible-core 版本 2.16 或更高版本

浏览器

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

数据库

PostgreSQL 15

4.1.3. 自定义资源文件示例

使用以下示例自定义资源(CR)将 Ansible Automation Platform 实例添加到项目中:

apiVersion: aap.ansible.com/v1alpha1
kind: AnsibleAutomationPlatform
metadata:
  name: <aap instance name>
spec:
  eda:
    automation_server_ssl_verify: 'no'
  hub:
    storage_type: 's3'
    object_storage_s3_secret: '<name of the Secret resource holding s3 configuration>'

4.1.4. 非功能要求

Ansible Automation Platform 的性能特性和容量受到资源分配和配置的影响。使用 OpenShift 时,每个 Ansible Automation Platform 组件都部署为 pod。您可以为每个 pod 指定资源请求和限值。

使用 Ansible Automation Platform 自定义资源(CR)为 OpenShift 安装配置资源分配。每个可配置的项目都有默认设置。这些设置是安装的最低要求,但可能无法满足您的生产工作负载需求。

默认情况下,每个组件的部署会针对最小资源请求设置,但不会设置资源限值。OpenShift 仅调度带有可用资源请求的 pod,但 pod 允许消耗无限的 RAM 或 CPU,只要 OpenShift 工作程序节点本身不在节点压力下。

在 Operator 增长拓扑中,Ansible Automation Platform 部署到具有 32 GB RAM、16 个 CPU、128 GB 本地磁盘和 3000 IOPS 的单节点 OpenShift (SNO)上。这并不是一个共享的环境,因此 Ansible Automation Platform pod 对 OpenShift SNO 的所有计算资源具有完全访问权限。在这种情况下,自动化控制器任务 pod 的容量计算派生自运行 pod 的底层 OpenShift Container Platform 节点。它无法访问整个节点。此容量计算会影响自动化控制器可以运行的并发作业数量。

OpenShift 管理与虚拟机不同的存储。这会影响自动化中心存储其工件的方式。在 Operator 增长拓扑中,我们使用 S3 存储,因为自动化中心需要一个 ReadWriteMany 类型存储,这不是 OpenShift 中的默认存储类型。

4.1.5. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 4.3. 网络端口和协议
端口号协议服务Source目的地

80/443

HTTP/HTTPS

Receptor

执行节点

OpenShift Container Platform ingress

80/443

HTTP/HTTPS

Receptor

hop 节点

OpenShift Container Platform ingress

80/443

HTTP/HTTPS

平台

客户客户端

OpenShift Container Platform ingress

27199

TCP

Receptor

OpenShift Container Platform 集群

执行节点

27199

TCP

Receptor

OpenShift Container Platform 集群

hop 节点

4.2. Operator 企业拓扑

企业拓扑主要用于需要 Ansible Automation Platform 部署,具有冗余或更高的计算以实现大量自动化。

4.2.1. 基础架构拓扑

下图显示了红帽已经测试过此部署模型的基础架构拓扑,供客户在自我管理 Ansible Automation Platform 时使用:

图 4.2. 基础架构拓扑图

Operator 企业拓扑图

以下基础架构拓扑描述了具有 3 个主节点和 2 个 worker 节点的 OpenShift 集群。

每个 OpenShift Worker 节点都根据以下组件要求进行测试:16 GB RAM、4 个 CPU、128 GB 本地磁盘和 3000 IOPS。

表 4.4. 基础架构拓扑
数量组件

1

自动化控制器 Web pod

1

自动化控制器任务 pod

1

Automation hub API pod

2

Automation hub 内容 pod

2

Automation hub worker pod

1

Automation hub Redis pod

1

event-Driven Ansible API pod

2

event-Driven Ansible 激活 worker pod

2

event-Driven Ansible 默认 worker pod

2

event-Driven Ansible 事件流 pod

1

event-Driven Ansible 调度程序 pod

1

平台网关 pod

2

Mesh ingress pod

N/A

外部管理的数据库服务

N/A

外部管理的 Redis

N/A

外部管理的对象存储服务(用于自动化中心)

4.2.2. 测试的系统配置

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

表 4.5. 测试的系统配置
类型描述

订阅

有效的 Red Hat Ansible Automation Platform 订阅

操作系统

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

CPU 架构

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

Red Hat OpenShift

  • Red Hat OpenShift on AWS Hosted Control Planes 4.15.16

    • 在 t3.xlarge 的不同可用区(AZ)中的 2 个 worker 节点

ansible-core

ansible-core 版本 2.16 或更高版本

浏览器

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

AWS RDS PostgreSQL 服务

  • 引擎:"postgres"
  • engine_version: 15"
  • parameter_group_name: "default.postgres15"
  • allocated_storage: 20
  • max_allocated_storage: 1000
  • storage_type: "gp2"
  • storage_encrypted: true
  • instance_class: "db.t4g.small"
  • multi_az: true
  • backup_retention_period: 5
  • 数据库:必须有 ICU 支持

AWS Memcached Service

  • 引擎:"redis"
  • engine_version: "6.2"
  • auto_minor_version_upgrade: "false"
  • node_type: "cache.t3.micro"
  • parameter_group_name: "default.redis6.x.cluster.on"
  • transit_encryption_enabled: "true"
  • num_node_groups: 2
  • replicas_per_node_group: 1
  • automatic_failover_enabled: true

s3 存储

HTTPS 只能通过使用 AWS Pod Identity 在运行时分配给自动化中心 SA 的 AWS 角色访问

4.2.3. 非功能要求

Ansible Automation Platform 的性能特性和容量受到资源分配和配置的影响。使用 OpenShift 时,每个 Ansible Automation Platform 组件都部署为 pod。您可以为每个 pod 指定资源请求和限值。

使用 Ansible Automation Platform 自定义资源为 OpenShift 安装配置资源分配。每个可配置的项目都有默认设置。这些设置是本参考部署架构上下文中所使用的确切配置,假设环境由企业 IT 组织部署和管理,用于生产目的。

默认情况下,每个组件的部署会针对最小资源请求设置,但不会设置资源限值。OpenShift 仅调度带有可用资源请求的 pod,但 pod 允许消耗无限的 RAM 或 CPU,只要 OpenShift 工作程序节点本身不在节点压力下。

在 Operator 企业拓扑中,Ansible Automation Platform 部署到带有 2 t3.xlarge worker 节点的 Red Hat OpenShift on AWS (ROSA) Hosted Control Plane (HCP)集群,在单个 AWS 区域内分布在 2 个 AZ 中。这并不是一个共享的环境,因此 Ansible Automation Platform pod 可以完全访问 ROSA HCP 集群的所有计算资源。在这种情况下,自动化控制器任务 pod 的容量计算派生自运行 pod 的底层 HCP worker 节点。它无法访问整个节点的 CPU 或内存资源。此容量计算会影响自动化控制器可以运行的并发作业数量。

OpenShift 管理与虚拟机不同的存储。这会影响自动化中心存储其工件的方式。在 Operator 企业拓扑中,我们使用 S3 存储,因为自动化中心需要一个 ReadWriteMany 类型存储,这不是 OpenShift 中的默认存储类型。外部为自动化中心提供 Redis、PostgreSQL 和对象存储。这为 Ansible Automation Platform 部署提供了额外的可扩展性和可靠性功能,包括特殊的备份、恢复以及复制服务和可扩展存储。

4.2.4. 网络端口

Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 4.6. 网络端口和协议
端口号协议服务Source目的地

80/443

HTTP/HTTPS

对象存储

OpenShift Container Platform 集群

外部对象存储服务

80/443

HTTP/HTTPS

Receptor

执行节点

OpenShift Container Platform ingress

80/443

HTTP/HTTPS

Receptor

hop 节点

OpenShift Container Platform ingress

5432

TCP

PostgreSQL

OpenShift Container Platform 集群

外部数据库服务

6379

TCP

Redis

OpenShift Container Platform 集群

外部 Redis 服务

27199

TCP

Receptor

OpenShift Container Platform 集群

执行节点

27199

TCP

Receptor

OpenShift Container Platform 集群

hop 节点

第 5 章 自动化网格节点

自动化网格是一种覆盖网络,旨在简化在大量和分散的 worker 集合中工作分布。这通过使用现有网络互相建立对等连接的节点完成。

5.1. 测试的系统配置

每个自动化网格虚拟机都有以下组件要求:16 GB RAM、4 个 CPU、60 GB 本地磁盘和 3000 IOPS。

5.2. 网络端口

自动化网格使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform 服务器的传入连接,以便它正常工作。确保这些端口可用,且服务器防火墙不会阻止。

表 5.1. 网络端口和协议
端口号协议服务Source目的地

80/443

HTTP/HTTPS

Receptor

执行节点

OpenShift Container Platform mesh ingress

80/443

HTTP/HTTPS

Receptor

hop 节点

OpenShift Container Platform mesh ingress

27199

TCP

Receptor

OpenShift Container Platform 集群

执行节点

27199

TCP

Receptor

OpenShift Container Platform 集群

hop 节点

附录 A. 测试部署模型的其他资源

本附录提供了与测试的部署模型中所概述的部署模型相关的其他资源的引用。

法律通告

Copyright © 2025 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

© 2025 Red Hat, Inc.