Add an IoT Edge Runtime application
Configure settings when adding or editing an IoT Edge Runtime application.
To add an IoT Edge Runtime application
- In the top-right corner, selectOnlineto go online with the gateway.FactoryTalk Edge Gatewaydisplays a green banner:Gateway Connection: Online.
- SelectData Flow>Applications.
- To add the first application, selectAdd Application.
- To add a subsequent application, selectAdd
.
- FromSelect Application, select an application
- SelectNext.
- Set these parameters:
- Application Name.Defines the application name.
- Connect to Edge Runtime.Select to see additional options.
- Use Websockets.Select to use MQTTWS protocol. Uses port 443.
- Edge Runtime Host Name.Enter the host name of the machine where Edge runtime is running. This machine must be accessible from the current machine.
- Protocol. HTTP, MQTT, AMQP, MQTTWS.
- Public certificate.Defines the public certificate used.
- Use token identification.Select to use token identification.If selected, enter: X509 Certificate, X509 Certificate Key, or X509 Certificate Passphrase
- IoT Device Name.Name of IoT device created in Microsoft Azure portal.
- IoT Device Connection String.Enter the Primary/Secondary Device connection string from IoT Hub device.
- Store and Forward.Enables the data storage in a database on the gateway. This setting also functions as a buffer for data entering the store database at higher speeds than the data is forwarded to the application. SelectStore and Forwardto enable the Maximum store size (bytes) and Fetch Interval (ms) settings.In case connectivity is lost to the external application, havingStore and Forwardenabled helps prevent periods of lost data toSQL Server.Store and Forwardstores data in the database until the connection is restored.
- Maximum store size (bytes).Defines the maximum size of the store database on the gateway, in bytes. When the maximum store size is reached, the oldest data is deleted to make space for new application data. SelectStore and Forwardto enable this setting.
- Fetch Interval (ms).Defines the interval of time to egress (that is, forward) data from the store database, in milliseconds. Data continues to be egressed to the Azure application until the store database is empty. When egress fails, the data remains in the store database. SelectStore and Forwardto enable this setting.
- SelectSave.
Provide Feedback