Administative tasks in the IIoT Core Services UI
The following administrative tasks can be performed in the IIoT Core Services UI.
Enable message persistence in the message queue
You can ensure the retention of all data messages in internal routes, even during full or partial system failure, by enabling message persistence in the message queue of AMQP.
With message persistence enabled, messages in internal routes are written to disk. In the event of a system failure, the messages are processed when service is restored. Without message persistence, messages are stored only in memory and can be lost. This feature is enabled by default.
Procedure
In the IIoT Core Services UI, select the Administration tab.
Select the Data Routes Configuration tab.
Toggle to turn on Enable internal routes - AMQP persistence.
Click Apply.
Measure message latency
You can measure the average amount of time from when IIoT Core Services receives a message to when it writes the message to the final database, to help you fine-tune your system settings during maintenance. This feature is disabled by default.
The information is stored in the couchdb database. See your system administrator for information about querying couchdb.
Procedure
In the IIoT Core Services UI, select the Administration tab.
Select Data Routes Configuration.
Toggle to turn on Enable performance metrics.
(Optional) Enter a value for Data per batch. This is the number of messages grouped to create an average value. The default is 200.
Click Apply.
Count the number of messages received
This feature is disabled by default. Enable message enumeration to record the number of messages received by IIoT Core Services.
Once recorded, compare it with the number of messages sent by the registered asset. Information about the number of messages sent is stored in the couchdb database. See your system administrator for information about querying couchdb.
Procedure
In the IIoT Core Services UI, select the Administration tab.
Select Data Routes Configuration.
Toggle to turn on Number of messages received.
(Optional) Enter a time value for Batch Time. This is the time interval between message counter updates. Increasing the time value minimizes the number of write operations. The default is 5 seconds. To change the default, enter a number followed by a letter indicating a time period, as follows:
- s = seconds
- m = minutes
- h = hours
- d = days
Click Apply.
Configure log level
You can set the level for the types of messages that are logged.
The default log level is info. Each log level includes logging of the preceding levels. Minimizing the number of messages that are logged improves performance. Set a high level of logging for troubleshooting. The order of log levels from the most to the least amount of logging is as follows:
- debug
- info
- warn
- error
Procedure
In the IIoT Core Services UI, select the Administration tab.
Select Log Configuration.
Select a log level.
Click Apply.