Runtimes
A Site Runtime collects data from your devices and sends it to the plant historian. The Runtimes page shows every runtime of this Console, how healthy it is and what it holds. It is also where you add runtimes, renew their certificates and remove them.

The ISA-95 Site is the facility (Izmir Plant). A Site Runtime is the collector software (line1-rt). One Console has exactly one Site and can have many runtimes. See Plant topology.
How it works
The page title is Runtimes: "Site Runtimes collect from your devices and send the data to this Console’s historian." The count reads N runtimes. The page refreshes about every 5 seconds.
Two transports exist:
| Transport | Used by | Path |
|---|---|---|
| Direct | mi-siterun in the plant stack, the built-in lite runtime | The collector writes the plant historian itself and talks to the Console with a runtime token |
| Ingest | Remote or standalone runtimes (mii-runtime) | Collector, then HTTPS to mi-ingest, then the historian. Only outbound HTTPS is needed at the site |
The list
Filters: Search runtimes (name, id or host), status chips (All, Online, Degraded, Offline, Waiting for first contact), Kind, Transport (Ingest or Direct) and Clear filters.
| Column | Meaning |
|---|---|
| Runtime | Name and id. Below it: seen <time ago> |
| Status | See states below |
| Version | Software version of the runtime |
| Transport | Ingest or Direct |
| Buffer | Fill level of the local buffer (a meter) |
| Lag | How far behind real time the data delivery is |
| Samples/s | Samples sent per second |
| Errors | Hover for details: send errors, rejected, quarantined, dropped |
| Unknown tags | Samples that arrived for tags the Console does not know |
| Devices | Number of devices on the runtime |
Kinds: Windows, Linux, Docker, Built-in (Lite).
Add runtime is shown only to users who can configure the plant. In mii Lite it is hidden: "mii Lite has one built-in runtime inside the mii service. Use the Enterprise stack for more runtimes."
States
| State | Meaning |
|---|---|
| Online | The Console received a heartbeat or an ingest status within the last 15 seconds |
| Degraded | Online, but the ingest state is not ok or catching_up, the lag is above 60 s, or the ingest status is stale while the heartbeat is fresh |
| Offline | Nothing for more than 15 seconds |
| Waiting for first contact | The runtime was created but has not reported yet |
Ingest states (shown on a degraded runtime):
| Label | State | Meaning |
|---|---|---|
| Sending | ok | Everything is delivered |
| Catching up backlog | catching_up | Delivering data that was buffered |
| Gateway is slowing it down | backpressure | mi-ingest asks the runtime to slow down |
| Gateway unreachable, buffering | offline | The runtime cannot reach the gateway and buffers on disk |
| Certificate revoked | cert_revoked | The runtime's certificate was revoked. It keeps buffering |
| Buffer full, dropping oldest | outbox_full | The disk buffer is at its limit. The oldest data is dropped |
Detail page
Click a runtime (or open /runtimes?inspect=<id>). The page has sections, not tabs. A link All runtimes goes back.

| Section | Content |
|---|---|
| Health | State, Last seen, Version, Host, Running since, Transport, Buffer (rows and batches unsent, disk free), Lag, Samples/s, Errors, Unknown tags, Memory, Disk, Telemetry bus, Samples |
| Devices | "Site Runtime → Devices → tags → equipment": Device, Protocol, Tags, Equipment, Enabled |
| Certificates | Serial, SHA-256 fingerprint, Issued, Expires, Status |
| Enrollment tokens | Tokens that are still valid |
| Recent errors | The latest errors of the runtime |
| Delete | The danger zone |
Changing things needs the role admin or controls_engineer. Others see a read-only note.
Add a runtime
Click Add runtime. The wizard has three steps: Details, Install, Connect.
- Details. Fill:
- Name.
- Runtime id. Starts with a letter, then letters, digits,
_or-, at most 64 characters. It cannot be changed later. Example:line1-rt. - ISA-95 Site. If missing, you see "This Console has no ISA-95 Site yet. Create the Site in the Model first."
- Where will it run?: Windows (Windows 10 or Server 2016 or newer, as a service), Linux (systemd, amd64,
.debor tar.gz) or Docker (Docker or Podman). - Enrollment token valid for: 1 hour, 24 hours (default), 3 days or 7 days.
- Click Create runtime.
- Install. The one-time token is "Shown only now" and works once. Copy the commands for your system and run them on the target computer. See Site Runtime install.
- Connect. The wizard shows progress: "Runtime and token created", "Enrolled, certificate issued", "Waiting for first contact…", "First report received — the runtime is online". Then click Open runtime or Done.
No inbound port and no firewall rule are needed at the site.
The first runtime is included in every edition. A second runtime needs the Enterprise licence feature edge.multi_runtime (otherwise MI-5003, HTTP 402).
Certificates
Remote runtimes authenticate to mi-ingest with their own client certificate.
- The certificate is valid for 90 days (
MI_RUNTIME_CERT_DAYSon the Console). - The runtime renews it automatically at two thirds of its life, about day 60, with a new key.
- A certificate shows expires soon within 14 days.
- Status values: Active, Revoked, Expired.
| Button | What it does |
|---|---|
| Rotate certificate | Creates a new enrollment token for a new certificate. The old certificate works until the runtime re-enrolls |
| Revoke | Revokes a certificate (a reason is optional and audited). mi-ingest drops it within about 5 seconds. The runtime keeps buffering |
| New enrollment token | Creates a token for enrolling or re-enrolling |
| Delete token | Removes an unused token |
Enrollment tokens
- Format
mi_enroll_<random>. The Console stores only a hash. - Valid for 1 to 168 hours, default 24. A token works once.
MI_INGEST_PUBLIC_URLmust be set on the Console, or the token request fails with 409 "set MI_INGEST_PUBLIC_URL on the Console".MI_MASTER_KEYmust be set too.- A direct runtime that is online cannot be enrolled. Create a new runtime for the remote computer.
- Re-enrolling an existing runtime on a host uses
mii-runtime enroll --force. The Console revokes the old certificates as "superseded".
Delete a runtime
Delete asks you to type the runtime id (the dialog says Type <id> to confirm).
- It is blocked while devices still use the runtime. Move or delete the devices first.
- History in the historian stays.
- The runtime's certificates are revoked.
- In mii Lite, deleting is refused (
403 edition_lite); the built-inliteruntime cannot be removed.
Deleting a runtime in the Console does not uninstall the software at the site. On the computer run mii-runtime uninstall --purge (on Linux /opt/makeintelligent-runtime/mii-runtime uninstall --purge).
Relay (command channel)
A remote runtime sits behind NAT and the Console cannot call it. So the runtime opens an outbound long poll to the Console and keeps it open. Through this channel the Console sends test connection, browse, tag and group changes, driver lists, live values and alarm actions, and the runtime sends the answers back.
- A runtime counts as connected if it polled within the last 35 seconds.
- Limits: queue 64 calls, 16 per batch, request body 4 MB, reply 12 MB.
- The queue lives in the Console process. A single Console replica is assumed.
- If the runtime is not connected, calls fail with "site runtime is not connected to the Console command channel".
Limits and good practice
- One runtime per network zone is a good start. Partition devices by
runtimeId. - Watch Lag and Buffer. A growing buffer means the link or the historian is too slow.
- Look for the expires soon flag on certificates now and then. Automatic renewal normally prevents expiry.
- Upgrading a remote runtime pauses polling for about 9 seconds.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Runtime is Offline | Service stopped, no network, or the Console cannot be reached | Check the service on the host; see Troubleshooting |
| Degraded, "Gateway unreachable, buffering" | Cannot reach mi-ingest (DNS, firewall, proxy) | Allow outbound HTTPS 443 to the ingest address |
| Degraded, "Certificate revoked" | Certificate revoked in the Console | Create a token and enroll again with --force |
| Token request returns 409 | MI_INGEST_PUBLIC_URL not set | Set it on the Console |
| Unknown tags is above 0 | Data arrives for tags not in the Console | Check the tag configuration of the device |
| Cannot delete | Devices still use the runtime | Remove or move the devices |