# Ignition MQTT - Redundant Gateways and Failover of MQTT traffic?

**URL:** <https://forum.cirrus-link.com/t/ignition-mqtt-redundant-gateways-and-failover-of-mqtt-traffic/77>\
**Category:** MQTT Modules\
**Created:** [April 25, 2021, 7:37pm UTC](https://forum.cirrus-link.com/t/ignition-mqtt-redundant-gateways-and-failover-of-mqtt-traffic/77 "2021-04-25T19:37:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisgray](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chrisgray](https://forum.cirrus-link.com/u/chrisgray)\
**Post date:** [April 25, 2021, 7:37pm UTC](https://forum.cirrus-link.com/t/ignition-mqtt-redundant-gateways-and-failover-of-mqtt-traffic/77/1 "2021-04-25T19:37:32Z")

</div>

Hoping someone in the forum can assist with a question I have around Ignition Gateway Redundancy and MQTT. We are looking at using Gateway Redundancy for uptime/resiliency/maintenance purposes, but have some questions around how MQTT traffic routing happens at the Edge Nodes when a failover occurs from Primary to Backup Gateway? Since the Backup Gateway will be on a different IP how can traffic be redirected (from Edge Nodes) to the Backup Gateway when a failover occurs?

Do you have any helpful hints as to how to best architect this so we don’t lose data on a failover condition to the Backup Gateway?

---

<div class="post-metadata">

**Author:** ![wes.johnson](https://avatars.discourse-cdn.com/v4/letter/w/f14d63/32.png) [@wes.johnson](https://forum.cirrus-link.com/u/wes.johnson)\
**Post date:** [April 26, 2021, 2:43am UTC](https://forum.cirrus-link.com/t/ignition-mqtt-redundant-gateways-and-failover-of-mqtt-traffic/77/2 "2021-04-26T02:43:35Z")

</div>

I’d recommend starting with the basic tutorial. It covers much of what it sounds like you’re trying to do: [Advanced: MQTT Modules in Redundant Ignition Environment - MQTT Modules for Ignition 8.x - Confluence](https://docs.chariot.io/display/CLD80/Advanced%3A+MQTT+Modules+in+Redundant+Ignition+Environment)

---

<div class="post-metadata">

**Author:** ![chrisgray](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chrisgray](https://forum.cirrus-link.com/u/chrisgray)\
**Post date:** [April 26, 2021, 3:16am UTC](https://forum.cirrus-link.com/t/ignition-mqtt-redundant-gateways-and-failover-of-mqtt-traffic/77/3 "2021-04-26T03:16:46Z")

</div>

Thanks Wes. I am getting old as I recall looking at this link before, but didn’t retain it in my aging brain. I will give it a good read this time. Thanks again Wes. Cheers, Chris

---

<div class="post-metadata">

**Author:** ![wes.johnson](https://avatars.discourse-cdn.com/v4/letter/w/f14d63/32.png) [@wes.johnson](https://forum.cirrus-link.com/u/wes.johnson)\
**Post date:** [April 26, 2021, 3:45am UTC](https://forum.cirrus-link.com/t/ignition-mqtt-redundant-gateways-and-failover-of-mqtt-traffic/77/4 "2021-04-26T03:45:01Z")

</div>

No problem. Let us know if you see any room for improvement in the doc or if any of your questions aren’t answered. Good luck with your project!
