搜索

3.3. 最小弹性配置

download PDF

这个示例清单文件部署由两个控制节点和两个执行节点组成的 control plane。control plane 中的所有节点都会自动相互连接。control plane 中的所有节点都与 execution_nodes 组中的所有节点相连接。此配置具有弹性,因为执行节点可从所有控制节点访问。

容量算法决定在启动作业时选择哪个控制节点。如需更多信息,请参阅自动控制器用户指南中的自动化控制器容量确定和作业影响

以下清单文件定义了此配置。

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

[automationcontroller:vars]
node_type=control
peers=execution_nodes

[execution_nodes]
aap_e_1.example.com
aap_e_2.example.com

[automationcontroller] 小节定义控制节点。control plane 中的所有节点都相互对等。如果您将新节点添加到 automationcontroller 组,它将与原始节点自动对等。

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

  • 如果您向 execution_nodes 组添加新节点,则 control plane 节点会自动与其对等。
  • 如果您向 automationcontroller 组添加新节点,节点类型被设置为 control

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

The topology map of the minimum resilient mesh configuration consists of an automation controller group and two execution nodes.The automation controller group consists of two control nodes: aap_c_1 and aap_c_2.The execution nodes are aap_e_1 and aap_e_2.The aap_c_1 node is peered to aap_c_2.Every control node is peered to every execution node.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.