Share Feedback to help us keep improving.
4.2. RPM 企业拓扑
基于 RPM 的企业拓扑为大量自动化提供冗余和更高的计算。包括经过测试的基础架构拓扑、系统要求、网络端口配置和示例清单文件,用于安装。
4.2.1. 基础架构拓扑 复制链接链接已复制到粘贴板!
此部署模型的红帽测试的基础架构拓扑:
图 4.2. 基础架构拓扑图
红帽根据以下要求测试每个虚拟机:
| 要求 | 最低要求 |
|---|---|
| RAM | 16 GB |
| CPU | 4 |
| 本地磁盘 | 60 GB |
| 磁盘 IOPS | 3000 |
| VM 数量 | 用途 | VM 组名称示例 |
|---|---|---|
| 2 | 带有 colocated Redis 的平台网关 |
|
| 2 | 自动化控制器 |
|
| 2 | 带有 colocated Redis 的私有自动化中心 |
|
| 2 | 带有 colocated Redis 的 event-Driven Ansible |
|
| 1 | 自动化网格跃点节点 |
|
| 2 | 自动化网格执行节点 |
|
| 1 | 外部管理的数据库服务 | N/A |
| 1 | 平台网关前面的 HAProxy 负载均衡器(外部管理) | N/A |
- Redis 高可用性(HA)部署需要 6 个虚拟机。您可以在每个 Ansible Automation Platform 组件虚拟机上并置 Redis,但自动化控制器、执行节点或 PostgreSQL 数据库除外。
- 基于 RPM 的 Ansible Automation Platform 部署不支持外部 Redis。
4.2.2. 测试的系统配置 复制链接链接已复制到粘贴板!
红帽已测试了这些配置来安装和运行 Red Hat Ansible Automation Platform:
| 类型 | 描述 | |
|---|---|---|
| 订阅 | 有效的 Red Hat Ansible Automation Platform 订阅 | |
| 操作系统 | Red Hat Enterprise Linux 9.4 或更高版本的 Red Hat Enterprise Linux 9 次版本。 | |
| CPU 架构 | x86_64, AArch64, s390x (IBM Z), ppc64le (IBM Power) | |
|
|
| Ansible Automation Platform 使用系统范围的 ansible-core 软件包来安装平台,但在其 control plane 和内置执行环境中使用 ansible-core 2.16。 |
| 浏览器 | 当前支持的 Mozilla Firefox 或 Google Chrome 版本 | |
| 数据库 |
|
|
| IP 版本 | IPv4、IPv6 (单堆栈和双栈) |
4.2.3. 网络端口 复制链接链接已复制到粘贴板!
Red Hat Ansible Automation Platform 使用多个端口与其服务进行通信。这些端口必须处于打开状态,并可用于 Red Hat Ansible Automation Platform。确保这些端口可用,且防火墙不会阻止。
| 端口号 | 协议 | 服务 | 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 |
| 80/443 | TCP | HTTP/HTTPS | 执行节点 | 平台网关 |
| 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 节点 | 执行节点 |
如果使用清单变量更改任何端口值,请参阅 清单文件变量来查看所有 默认端口值,并确保没有端口冲突。
4.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 Red Hat documentation:
# https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/rpm_installation/index
# 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.6/html/rpm_installation/appendix-inventory-files-vars#general-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.6/html/rpm_installation/appendix-inventory-files-vars#platform-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.6/html/rpm_installation/appendix-inventory-files-vars#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.6/html/rpm_installation/appendix-inventory-files-vars#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.6/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-variables
# -----------------------------------------------------
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>