# Executor Node Failover Behavior

**URL:** <https://forum.ansible.com/t/executor-node-failover-behavior/4734>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [April 4, 2024, 6:47pm UTC](https://forum.ansible.com/t/executor-node-failover-behavior/4734 "2024-04-04T18:47:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sakshi](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sakshi](https://forum.ansible.com/u/Sakshi)\
**Post date:** [April 4, 2024, 6:47pm UTC](https://forum.ansible.com/t/executor-node-failover-behavior/4734/1 "2024-04-04T18:47:02Z")

</div>

Hi Team, Could you please provide your solution for the below three pointers:

- How can I configure AWX VM Executor nodes in a High Availability (HA) Cluster Load Balancer setup to ensure continuous availability and fault tolerance?
- What is the functionality of the AWX Instance Peer in AWX platform and how can we interlinked with the two executor nodes at a time into the AWX Instance Peer.
- What are all the main components monitoring should be enabled on the AWX VM executor node in order to not to receive any escalations from the SLA agreement with the stake holders.

---

<div class="post-metadata">

**Author:** ![Sakshi](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sakshi](https://forum.ansible.com/u/Sakshi)\
**Post date:** [April 5, 2024, 9:35am UTC](https://forum.ansible.com/t/executor-node-failover-behavior/4734/2 "2024-04-05T09:35:52Z")

</div>

Hi Team, could you please help us and provide the insights for the above three pointer queries on the AWX VM Executor Node, and the solution would be helpful for us to leverage the Ansible Automation on the AWX VM Executor Node without any hassles.

---

<div class="post-metadata">

**Author:** ![Denney-tech](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/denney-tech/32/1556_2.png) [@Denney-tech](https://forum.ansible.com/u/Denney-tech)\
**Post date:** [April 5, 2024, 3:53pm UTC](https://forum.ansible.com/t/executor-node-failover-behavior/4734/3 "2024-04-05T15:53:25Z")

</div>

> [@Sakshi](#):
>
> - How can I configure AWX VM Executor nodes in a High Availability (HA) Cluster Load Balancer setup to ensure continuous availability and fault tolerance?

When you create Execution Nodes (EN), they will be added to an Instance Group (IG) in AWX. You can have as many IG’s as you like, but each EN can only be associated to a single IG. When AWX runs Jobs, they get placed into a queue, and the job gets assigned to an Execution/Hybrid/Control node in an available IG. The IG’s also keep track of the health state of each node, and only schedules jobs against healthy nodes. This provides you with High Availability through AWX, there’s no need for you to do any sort of HAProxy load balancing.

> [@Sakshi](#):
>
> - What is the functionality of the AWX Instance Peer in AWX platform and how can we interlinked with the two executor nodes at a time into the AWX Instance Peer.

IIRC, peering is for pairing EN’s to Hop nodes. Hop nodes act as Bastions or Proxy hosts between AWX and EN’s in isolated networks

> [@Sakshi](#):
>
> - What are all the main components monitoring should be enabled on the AWX VM executor node in order to not to receive any escalations from the SLA agreement with the stake holders.

AWX monitors the EN’s itself, but if you want to ingest into third party monitoring, there’s probably a way to check the health of your AWX nodes. You could see if `https://awx.company.corp/api/v2/metrics/` has what you need, or if you specifically need each instance’s health state, you can go to `https://awx.company.corp/api/v2/instances/` and iterate over the `"results": [*].node_state` to see if they’re in a `ready` state.

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/c/c005fd2a009af7fe8c2b8dba72e745375c39c5af.png)

---

<div class="post-metadata">

**Author:** ![Sakshi](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sakshi](https://forum.ansible.com/u/Sakshi)\
**Post date:** [April 8, 2024, 9:31am UTC](https://forum.ansible.com/t/executor-node-failover-behavior/4734/4 "2024-04-08T09:31:48Z")

</div>

Hello,

Thank you for taking the time to reply. Could you please provide any supporting documents or URLs for our reference. Your assistance would be greatly appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![Denney-tech](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/denney-tech/32/1556_2.png) [@Denney-tech](https://forum.ansible.com/u/Denney-tech)\
**Post date:** [April 8, 2024, 1:56pm UTC](https://forum.ansible.com/t/executor-node-failover-behavior/4734/5 "2024-04-08T13:56:22Z")

</div>

I generally use the AWX-Operator GitHub [docs](https://github.com/ansible/awx-operator/tree/devel/docs) or the actual AWX GitHub [docs](https://github.com/ansible/awx/tree/devel/docs), but there is also the [readthedocs.io](https://ansible.readthedocs.io/projects/awx/en/latest/) documentation.

- You can read about instance Groups here: [23. Instance Groups — Ansible AWX community documentation](https://ansible.readthedocs.io/projects/awx/en/latest/userguide/instance_groups.html)
- as well as Container Groups here: [7. Container and Instance Groups — Ansible AWX community documentation](https://ansible.readthedocs.io/projects/awx/en/latest/administration/containers_instance_groups.html)
- This goes over Mesh Topology, which shows hop nodes used as peers: [8. Managing Capacity With Instances — Ansible AWX community documentation](https://ansible.readthedocs.io/projects/awx/en/latest/administration/instances.html#mesh-topology)
- You’ll probably be interested in performance (monitoring is mentioned here): [13. Improving AWX Performance — Ansible AWX community documentation](https://ansible.readthedocs.io/projects/awx/en/latest/administration/performance.html)
- and last but not least: [12. Metrics — Ansible AWX community documentation](https://ansible.readthedocs.io/projects/awx/en/latest/administration/metrics.html)

There’s plenty of RTM material.
