IMD SolutionComputing LibraryShop main store

Troubleshooting

Why InTouch stops logging to Historian after WindowMaker edits

Edge computing and IIoT Published 7 min read

Short answer

When every historized tag stops after a WindowMaker edit and values pile up in the InTouch store-and-forward buffer, the delivery path to the Historian has failed, not the tags. Restarting the Historian in OCMC does not clear it. Run osconfiguratorutility.exe to reapply the node's firewall rules and folder permissions, and logging resumes.

On this page
  1. The symptoms that identify this fault
  2. Check whether one tag or every tag stopped
  3. Read the store-and-forward buffer and its state
  4. What an unnoticed stop costs
  5. Filter the SMC log before chasing warnings
  6. Rule out an external change to ports, policies, or accounts
  7. Restart the Historian in OCMC and read the result
  8. Run osconfiguratorutility.exe to restore the path
  9. What the evidence says about the root cause
  10. Questions asked

When every historized tag stops reaching the Historian after a WindowMaker edit and the values pile up in the InTouch node's store-and-forward buffer, the tags are not the problem — the delivery path is. In the reported case, InTouch 2020 R2 SP01 running the InTouch 2020 feature that publishes application tags to AVEVA Historian, the stop followed the edit-and-restart cycle four times out of four, a Historian restart in OCMC did not clear it, and running osconfiguratorutility.exe to reapply the node's firewall rules and folder permissions restored logging. Work the checks in order: they separate a tag fault from a delivery fault and end at the procedure that restores the path.

The symptoms that identify this fault #

WindowViewer looks healthy — tags update, alarms work, windows open — so the first sign is absent data in Historian trends and queries from the moment of the edit. Four observations define this fault:

Observation Where you see it What it tells you
No new values for any historized tag since the edit Historian trend or query A pipeline fault, not a tag fault
Values accumulating on the InTouch node Store-and-forward buffer Acquisition works; the server is not accepting data
A pending change the Commit button does not clear SMC A queued configuration change never applies
Warnings all labelled Replication SMC log viewer A symptom of the stalled server state, not an InTouch source error

The combination is specific. If your stop began with a re-enable in SMC rather than an edit in WindowMaker, that is historian logging that stopped after an SMC re-enable, a different fault with a different fix.

Check whether one tag or every tag stopped #

Take this reading first, because it decides whether you debug a tag or the transport.

  1. Confirm WindowViewer is running. Historization requires the runtime: with WindowMaker open and WindowViewer closed, nothing logs by design and the buffer does not grow either.
  2. Stop historizing one tag, save, and watch the SMC acquisition view and log. If the warnings stop with that tag, the tag configuration is the cause.
  3. Historize a different tag, save, and keep WindowViewer running. If the new tag logs, the fault is confined to the original tag.
  4. If the new tag also fails to log while the buffer grows, every tag is affected.

Decision: all tags down with a growing buffer is a delivery fault, not a tag fault — continue to the buffer reading and the fix. The reported installation landed here on every edit cycle.

Read the store-and-forward buffer and its state #

The node queues historized values locally whenever the Historian server cannot accept them, the same store-and-forward pattern behind choosing an edge data path for periodic records. Two readings settle the direction:

  • Buffer growing while WindowViewer runs: acquisition is healthy and delivery is broken. This is the fault in this article.
  • Buffer empty and Historian empty: nothing is being collected. Re-check the historization flags and confirm the edit did not delete or rename the historized tags.

Read the store/forward state while you are there. The driver documentation defines Disconnected as the driver not having opened a network connection and Failed as the store-and-forward process failing with an error message; either state alongside a growing buffer confirms the path is down, not the tags.

Read the configured buffer size and retention before an outage runs long: once the buffer fills, new values are dropped and the gap in the Historian becomes permanent.

What an unnoticed stop costs #

Illustrative numbers, not measurements from the reported site — substitute your tag count, update rate and configured buffer size:

  • 240 historized tags at one update every 2 s per tag: 240 ÷ 2 s = 120 values per second.
  • An edit at shift end, noticed 4 h later: 4 h × 3,600 s/h = 14,400 s of queuing.
  • Values queued: 120 values/s × 14,400 s = 1,728,000 values.
  • Against a buffer sized for 1,000,000 records (an example capacity): 1,728,000 − 1,000,000 = 728,000 values dropped, and 728,000 ÷ 120 values/s ≈ 6,067 s, about 1 h 41 min of data no fix will bring back.

Decision: alarm on the buffer count. A rise that persists for 5 minutes while WindowViewer runs is a down path — start these checks the same hour, not at the morning trend review.

Filter the SMC log before chasing warnings #

The warnings in the reported case were all labelled Replication and none referenced the InTouch source. Filter the log on the InTouch node name and the acquisition source before acting on any of them:

  • No entries from the InTouch source while Replication entries repeat: the server is stalling on queued configuration, which matches the stuck pending change.
  • Entries from the InTouch source with errors: read those first, because they name the failing side.

Decision: do not edit tags in response to Replication warnings. They describe the stalled state of the Historian, not a fault in the application.

Rule out an external change to ports, policies, or accounts #

A filling buffer means the server is unreachable or refusing data, so clear the external causes once:

Cause How to test Result in the reported case
Local firewall rule change Compare inbound and outbound rules on both nodes with a known-good capture None found
Group policy Ask IT for GPO pushes around each failure time None pushed
Folder permissions changed Compare data-folder access lists on both nodes Not isolated; the fix below rewrites these
Service or network account blocked Check the accounts both nodes run under Not isolated

With no external change and a stop on 4 of 4 edit cycles, an external cause is excluded. The fault is node-local and triggered by the edit-and-restart cycle itself.

Restart the Historian in OCMC and read the result #

The standard first move on a stuck pending change is a service-level reset from the OCMC: run Shutdown and disable, wait for the Historian to stop, then run Enable to run, and check whether the pending change cleared and Commit works. Restart both nodes if it persists.

In the reported case the reset failed, and the node restarts failed with it. A service restart re-launches a process; it does not rewrite firewall rules or folder permissions. Decision: when the reset leaves the fault intact, stop restarting and move to the node's configured settings. A different OCMC symptom — the question mark that means a role problem — is not this fault.

Run osconfiguratorutility.exe to restore the path #

Running osconfiguratorutility.exe cleared the condition in the reported case and logging resumed. The utility inspects and reapplies the settings the platform needs on the node — inbound and outbound firewall rules and folder permissions among them — so it repairs exactly the layer a service restart cannot touch.

  1. Stop WindowViewer on the InTouch node, and record the buffer count and the timestamp of the last good value in the Historian so the recovery can be proven.
  2. Run osconfiguratorutility.exe from an administrative account on the InTouch node. Read the role options it presents and select the roles that node performs; do not accept defaults blindly.
  3. Start WindowViewer and watch the buffer drain, then confirm new values in the Historian for a tag you know is updating.
  4. If the pending change is still stuck, run the utility on the Historian node as well: both ends must accept the connection.
  5. Verify in the SMC log filtered to the InTouch source. A Test Connection from InTouch that fails outright is an InTouch Test Connection failure to Historian, a separate fault with its own checks.

The utility changes firewall rules and folder permissions, so run it in a window when the node can leave runtime, and review what it is about to change before applying it.

What the evidence says about the root cause #

Scoped to what was reported: one site, InTouch 2020 R2 SP01, the InTouch 2020 path that publishes tag data to AVEVA Historian.

  • The stop correlated with the WindowMaker edit-and-restart cycle 4 times out of 4, with no GPO, firewall, or account change in between.
  • A Historian service reset and full node restarts did not restore logging.
  • The node settings utility, whose repair scope is firewall rules and folder permissions, restored logging each time it was run.

Commit to the conclusion the evidence supports: the edit-and-restart cycle disturbs node-local firewall and permission settings on the InTouch node, and values stop because the delivery path is refused, not because the tags or the Historian service fail. Which rule or permission drifts is not identified in the report; that identification is the open question for vendor support.

The decisions that follow: keep the site running with the utility as the standing recovery and the buffer alarm armed; open the support case with the 4-of-4 sequence and, best, a before-and-after capture of the node's firewall rules and folder permissions around one edit cycle; and hold the migration of other sites to this configuration until the vendor names the drifting setting. A fix you re-apply by hand is a workaround, not a design you replicate.

Questions asked

Is the data sitting in the buffer recovered after the fix?

Everything still in the buffer, yes. Store-and-forward delivers the queued values once the path is repaired, and each record keeps the timestamp it was collected with, so the outage window fills in on the trends rather than shifting. What no fix recovers is the data dropped after the buffer filled. Verify with one fast-updating tag queried across the gap.

Should I run osconfiguratorutility.exe after every WindowMaker edit, as prevention?

No. Run it when the symptoms appear: every tag stopped, buffer growing, pending change stuck. It rewrites firewall rules and folder permissions, so each run needs an administrative account and a window in which WindowViewer can be stopped. Scheduling a settings-reset tool after every edit hides the trigger instead of fixing it; with a 4-of-4 reproduction on record, the trigger belongs in a vendor support case.

What should I capture before migrating this configuration to more sites?

A baseline and a reproduction. Capture the inbound and outbound firewall rules and the folder permissions on the working node, note the SMC store/forward state while healthy, then perform one edit cycle in WindowMaker on a lab node and diff the settings afterwards. Open the support case with that diff and the 4-of-4 sequence. Migrate only after the vendor names the setting that drifts.

Do historized tags keep collecting while WindowViewer is closed?

No. WindowViewer must be running for InTouch to historize tag values, so a closed runtime produces no data and no buffer growth. That gives you a quick discriminator on a quiet node: a growing buffer with WindowViewer running means acquisition works and delivery is broken, while an empty buffer with the viewer closed is normal, not a fault.

Keep reading

  • Troubleshooting

    Historian not logging after re-enable in SMC

    After Historian is shut down and re-enabled through SMC Historian Management, a publishing AppEngine can stay in store-and-forward mode: the status window shows a very low data rate while history only lands in the buffer path. Check the engine's InStoreForward attribute in Object Viewer, then recover the engine with an off-scan/on-scan cycle or a stop and start in Platform Manager instead of rebooting the server.

    Edge computing and IIoT

  • Troubleshooting

    Ignition historian logs memory tags but not OPC tag changes

    Memory tags record because their history subscription was created fresh; the migrated OPC tags carry a stale recording subscription that a storage-provider field edit alone does not rebuild. Fix one tag first: disable history, save, re-enable history with the production provider, and save again, then verify with one safely forceable fault before batching across the remaining tags.

    Edge computing and IIoT

  • Troubleshooting

    Why historian output writes stop on a secondary server

    Output writes stop because the interface keeps pulling source-tag events from its configured /host server, and a single PI-model interface instance does not search the collective for another member. Buffering only covers the interface-to-server direction, which is why inputs keep logging. Point the standby interface's /host at the secondary member, confirm the source-tag events reach it, and prove the subscription with pilistupd.

    Edge computing and IIoT