搜索

3.5. 多跃点执行节点

download PDF

在此配置中,弹性的控制器节点与弹性本地执行节点相对等。弹性本地跃点节点与控制器节点的对等点。远程执行节点和远程跃点节点与本地跃点节点对等。

如果需要从远程网络在 DMZ 网络中运行自动化,您可以使用此设置。

[automationcontroller]
aap_c_1.example.com
aap_c_2.example.com
aap_c_3.example.com

[automationcontroller:vars]
node_type=control
peers=instance_group_local

[execution_nodes]
aap_e_1.example.com
aap_e_2.example.com
aap_e_3.example.com
aap_e_4.example.com
aap_h_1.example.com node_type=hop
aap_h_2.example.com node_type=hop
aap_h_3.example.com node_type=hop

[instance_group_local]
aap_e_1.example.com
aap_e_2.example.com

[instance_group_remote]
aap_e_3.example.com

[instance_group_remote:vars]
peers=local_hop

[instance_group_multi_hop_remote]
aap_e_4.example.com

[instance_group_multi_hop_remote:vars]
peers=remote_multi_hop

[local_hop]
aap_h_1.example.com
aap_h_2.example.com

[local_hop:vars]
peers=automationcontroller

[remote_multi_hop]
aap_h_3 peers=local_hop

下图显示了此网格网络的拓扑。

The topology map of the configuration consists of an automation controller group, a local execution group, a hop node group, and a remote execution node group.The automation controller group consists of three control nodes: aap_c_1, aap_c_2, and aap_c_3.The local execution nodes are aap_e_1 and aap_e_2.Every control node is peered to every local execution node.The hop node group contains two hop nodes, aap_h_1 and aap_h_2.It is peered to the controller group.The remote execution node group contains one execution node, aap_e_3.It is peered to the hop node group.A remote hop node group, consisting of node aap_h_3, is peered with the local hop node group.An execution node, aap_e_4, is peered with the remote hop group

[automationcontroller:vars] 小节为 control plane 中所有节点设置节点类型,并定义控制节点与本地执行节点对等的方式:

  • control plane 中的所有节点都会自动相互连接。
  • control plane 中的所有节点都与所有本地执行节点相对等。

[local_hop:vars][local_hop] 组中的所有节点都带有所有控制节点的对等点。

如果一组节点的名称以 instance_group_ 开头,安装程序将它重新创建为实例组,并将它添加到 Ansible Automation Platform 用户界面中。

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.