The MING stack empowers edge computing by combining efficient data handling, automation, and visualization, enabling organizations to unlock the full potential of IoT and real-time applications in distributed environments. In this article we explore how organizations can deploy it at the Edge, easily using Barbara.
The MING stack is a popular technology stack used in Edge solutions. It's an acronym that stands for:
This solution utilizes a distributed architecture designed for efficient edge data management. The architecture comprises the following key components:
To deploy our solution at the edge, we'll start by establishing a central communication hub: an MQTT Broker. This broker will facilitate the seamless sharing of the OPC-UA data among all involved applications.
The MQTT Broker can be easily deployed on an Edge Node with just a few clicks, requiring minimal configuration for connection, exposed ports, etc.
An OPC UA connector is a crucial component for bridging industrial equipment with the MING stack at the edge. This connector facilitates data exchange between OPC UA servers and the MQTT broker, which serves as the communication backbone for our solution.
Deploying the OPC UA Connector involves a streamlined process facilitated by the Barbara Marketplace.
The connector, available through the Marketplace, is installed directly onto the edge device. Crucially, proper configuration is required to establish communication between the OPC UA server and the MQTT broker. This includes configuring the connector's connection to the MQTT broker by specifying its address, port, and any necessary authentication.
Furthermore, the connector must be configured to connect to the OPC UA server itself, requiring the server's endpoint URL, security settings (if applicable), and specification of the data points (nodes) to be collected. Finally, the MQTT topic for publishing the collected OPC UA data must be configured, ensuring alignment with the Ingester's configuration for seamless data flow.
Now we will set up the tools needed to ingest OPC UA data from the MQTT broker and store it in an InfluxDB database. These steps involve installing and configuring two key applications: InfluxDB and the Ingester, both readily available in the Barbara Marketplace.
InfluxDB is a high-performance time-series database designed for handling large volumes of time-stamped data, making it an ideal choice for IoT applications. To get started:
The Ingester bridges the gap between the MQTT broker and InfluxDB by processing and storing the OPC UA data stream. And here’s how to set it up:
With these applications in place, your system will seamlessly ingest, filter, and store OPC UA data, creating a robust foundation for real-time monitoring and analytics.
Deploying Node-RED at the edge is simplified through the Barbara Marketplace. This visual programming tool, ideal for creating data processing workflows, is readily available and installable on any Edge Node with just a few clicks using the Marketplace wizard.
Node-RED’s browser-based flow editor allows users to easily connect pre-built nodes from a comprehensive palette, defining data pipelines without extensive coding.
This visual approach, combined with the ability to create custom JavaScript functions, supports both rapid prototyping and complex data manipulation. The platform's lightweight Node.js runtime ensures efficient performance on edge devices.
Finally we will deploy Grafana, a powerful visualization tool for creating and sharing interactive dashboards.
Once we install it using the wizard, we can access its dashboard to visualize telemetry data in real-time. Simply access port 13000 (configured during installation) to view the predefined dashboard, which we imported using a JSON file during the app configuration.
Finally, we have all the necessary applications to deploy the MING stack correctly installed in the Edge Node.
While this article has focused on deploying the solution to a single edge node, the true potential of the Barbara platform lies in its ability to scale across multiple edge nodes.
Barbara's batch command functionality enables the simultaneous installation of identical application sets on numerous edge nodes, each with tailored configurations to match specific use case requirements. This powerful feature significantly streamlines both installation and configuration processes, saving considerable time and effort.
Barbara significantly simplifies and accelerates the deployment of the MING stack at the edge. By providing a centralized platform and a marketplace of pre-built applications, Barbara eliminates the complexities typically associated with configuring and managing individual components like MQTT, InfluxDB, Node-RED, and Grafana on edge devices.
This streamlined approach reduces deployment time, minimizes manual configuration, and lowers the barrier to entry for edge computing projects. Furthermore, Barbara's management capabilities simplify ongoing maintenance and updates, ensuring the long-term stability and reliability of your edge deployments.
Using Barbara for MING stack edge deployments offers the following benefits: