2.2. 网络要求
Ansible Automation Platform 2.1 需要 Ansible Automation Platform 集群中的所有节点至少有一个网络。
要访问 Ansible Automation Platform 仪表板,需要一个可以访问 control plane 节点所在的网络的浏览器。如果要从外部访问 Ansible Automation Platform 仪表板,请确保在 control plane 节点中添加公共 IP 地址。
建议网络管理员为所有节点和适当的 DNS 记录设置静态 DHCP 地址。这样可确保在没有 DHCP 服务器时每个节点的 IP 地址保持恒定状态。要使用静态 IP 地址,请使用无限租期保留 IP 地址。
在本参考架构中,设置 DHCP 服务器,设置 DNS 记录和设置负载均衡器超出范围。
网络管理员应至少保留以下 IP 地址数,包括:
- 每个 control plane 节点有一个 IP 地址。
- 每个执行节点有一个 IP 地址。
- 每个自动化中心节点有一个 IP 地址。
- control plane 数据库的一个 IP 地址。
- 一个用于自动化中心数据库的 IP 地址。
- 用于 Ansible Automation Platform Site 1 的负载均衡器自动化控制器集群地址的一个 IP 地址。
- 用于 Ansible Automation Platform Site 2 的负载均衡器自动化控制器集群地址的一个 IP 地址。
- 用于 Ansible Automation Platform Site 1 的负载均衡器私有自动化中心集群地址的一个 IP 地址。
- 用于 Ansible Automation Platform Site 2 的负载均衡器私有自动化中心集群地址的一个 IP 地址。
此参考环境为每个站点保留 12 个 IP 地址。
下表提供了参考环境的 Ansible Site 1 示例。
| 使用方法 | 主机名 | IP |
| Control Plane 1 | controlplane-1.site1.example.com | 192.168.0.10 |
| Control Plane 2 | controlplane-2.site1.example.com | 192.168.0.11 |
| Control Plane 3 | controlplane-3.site1.example.com | 192.168.0.12 |
| Control Plane 数据库 | controlplane-db.site1.example.com | 192.168.0.13 |
| Control Plane 集群地址 | controlplane-cluster.site1.example.com | 192.168.0.14 |
| 执行节点 1 | executionnode-1.site1.example.com | 192.168.0.15 |
| 执行节点 2 | executionnode-2.site1.example.com | 192.168.0.16 |
| Automation Hub 节点 1 | automationhub-1.site1.example.com | 192.168.0.17 |
| Automation Hub 节点 2 | automationhub-2.site1.example.com | 192.168.0.18 |
| Automation Hub 节点 3 | automationhub-3.site1.example.com | 192.168.0.19 |
| Automation Hub 数据库 | automationhub-db.site1.example.com | 192.168.0.20 |
| Automation Hub 集群 | automationhub-cluster.site1.example.com | 192.168.0.21 |