Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Inductive Auotmation platform and MQTT modules can be resilient to failures when configured to use redundancy.  Redundant Ignition systems can be set up and configured to act as failover backups for primary/master Ignition instances.  This tutorial will provide step by step instructions for installing a set of Ignition systems with redundancy on the host/primary Ignition instance as well as redundancy on the MQTT enabled edge nodes.  For this tutorial we will show how to set up a total of six Ignition systems.  These will be:

  • Ignition Primary
    • An Ignition system running as master with MQTT Distributor and MQTT Engine installed.  This is what remote Ignition systems will send data to in normal operation.
  • Ignition Primary Backup
    • An Ignition system running as backup with MQTT Distributor and MQTT Engine installed.  This is what remote Ignition systems will send data to when Ignition Primary fails.
  • Ignition Edge 1
    • An Ignition system running as master with MQTT Transmission installed.  This will send data to Ignition Primary in normal operation.  If Ignition Primary is in a failed state, this will send data to Ignition Primary Backup.
  • Ignition Edge 1 Backup
    • An Ignition system running as backup with MQTT Transmission installed.  This will send data to Ignition Primary in the event that Ignition Edge 1 fails.  If Ignition Primary is in a failed state and Ignition Edge 1 is in a failed state, this will send data to Ignition Primary Backup.
  • Ignition Edge 2
    • An Ignition system running as master with MQTT Transmission installed.  This will send data to Ignition Primary in normal operation.  If Ignition Primary is in a failed state, this will send data to Ignition Primary Backup.
  • Ignition Edge 2 Backup
    • An Ignition system running as backup with MQTT Transmission installed.  This will send data to Ignition Primary in the event that Ignition Edge 2 fails.  If Ignition Primary is in a failed state and Ignition Edge 2 is in a failed state, this will send data to Ignition Primary Backup.

...

Upon completion of this tutorial you will have a functional system with redundancy/failover support for both remote edge nodes as well as the primary Ignition system that the remote edge nodes are reporting to.

Architecture




Tutorial

Step 1: Download and Install Ignition on Six Systems

Ignition is an Industrial Application Platform that can be used to create SCADA and HMI solutions. A fully functional Ignition system can be downloaded and run in trial mode. Using Ignition as a tool in this way, we can install the Sparkplug MQTT Modules and observe everything working.

Go to the Inductive Automation download page and download the desired Ignition installer for Windows, Linux or MacOS;
https://
inductiveautomation.com/downloads/ignition

...

(Note: For this test infrastructure, MQTT Distributor will be installed as an Ignition module . Remember on both the Primary Ignition Gateway as well as the Primary Ignition Gateway Backup.  Make sure to either turn off firewalls or at a minimum allow inbound connections to TCP/IP port #1883 and port #8883, as remote MQTT Clients will need to be able to establish a TCP/IP socket connection to these ports).

...

Go to the Inductive Automation download page again and scroll down to the Third Party modules section. Find the Cirrus Link modules section and download the MQTT Distributor, MQTT Engine, MQTT Transmission modules.
https://
inductiveautomation.com/downloads/ignition.  The download links should look similar to what is shown below.Image RemovedFor each of the Ignition


Step 3: Configure the MQTT Modules

...