IMD SolutionComputing LibraryShop main store

Troubleshooting

Process Historian drops the active OS Server client after a download

Edge computing and IIoT Published 7 min read

Short answer

The active OS Server drops because Process Historian rejects its tag and alarm configuration after the download, so the registration is removed seconds after it is created. Read the PH message log for the rejection reason, compare configuration timestamps against the standby, confirm the licensed archive tag count covers the new long-term tags, then recompile and push a full download.

On this page
  1. Why does the client disappear a few seconds after activating?
  2. What do the dashboard timestamps tell you?
  3. What does the Process Historian message log say?
  4. Does the license still cover the added archive tags?
  5. How do you compare the active server against the standby?
  6. How do you fix it?
  7. How do you verify the fix held?
  8. Questions asked

The active OS Server disappears from Process Historian because its tag and alarm configuration transfer is rejected after the download, so the historian tears down a registration it never accepted as complete. The standby registers normally, which proves the historian, its license server and the network are working. The fault is confined to what the active server sends and how the historian judges it. Work through the checks below in order; the answer is almost always in the Process Historian message log.

Why does the client disappear a few seconds after activating? #

The brief appearance followed by a drop means connection, authentication and initial registration all succeeded; the session dies at the configuration handshake. When runtime activates on an OS Server that archives to a Process Historian, it registers as a client and sends its archive structure: the tag list, archive tag attributes and alarm configuration. The historian keeps the client only while that structure is consistent with what it already stores and with what the license permits. A rejection removes the entry moments later, which is exactly the couple-of-seconds picture on the dashboard.

A download that added long-term archived tags changed that structure. The failure classes, in order of likelihood, are a structure conflict with existing archive objects, a license tag-count overrun, a partial or stale runtime database on the active server, or a stale client entry blocking re-registration. The checks that follow separate them.

What do the dashboard timestamps tell you? #

Read the client list and the timestamps together: they localize the fault to one server. The three observations that define it:

  • OS Server appears as a client briefly, then vanishes: the network path and the historian itself are fine; the teardown happens after registration.
  • Last heartbeat updates only at activation, then freezes: the runtime starts the historian link but the cyclic heartbeat is not sustained past the handshake.
  • Last tag configuration and last alarm configuration never advance for the active server while the standby's advance with each download: the configuration transfer is rejected or never attempted for that client.

Because the standby keeps a constant heartbeat and updating timestamps, the historian database, its storage and the shared project data are all functional. Treat the download as the change that introduced the fault and compare both servers against it.

What does the Process Historian message log say? #

Capture the historian's message log at the exact moment the OS Server activates; the rejection reason is normally written there, on the historian side, before any client-side symptom. Record the exact message text before changing anything. The message usually names the class: a license refusal, a structure conflict with a named archive object, a duplicate entry or an authentication failure.

On the active server, check its own runtime diagnostics and the Windows event log for historian-connection errors at activation time. The client-side entry usually names the stage that failed and corroborates the historian-side reason. Also check the PH-Ready component versions on both OS Servers against the historian's version: a version mismatch between PH-Ready on the OS Servers and the Process Historian is a common cause of a client that connects and is repeatedly dropped, and it must match the documented release pairing before you look further.

If the system shows connected but no data transfer at all, the vendor's guidance is to download the OS to the server and its standby after fixing the underlying cause, which matches the recovery procedure below.

Does the license still cover the added archive tags? #

Sum the archive tags engineered for the project, including the new long-term tags, and compare the total against the licensed count shown in the historian's license display — not an assumed figure. An illustrative example with example numbers: the project held 1,850 archive tags before the download and you added 220 long-term tags, so the engineering total is 2,070. If the historian is licensed for 2,000 archive tags, the active server's configuration is refused outright and the client entry is removed. Note that both servers of a redundant pair share the one historian and its one licensed count; adding the same tags to the standby does not halve the load.

If the total is under the licensed count, the license is not the cause and you should move to the configuration comparison. If it is over, either reduce the engineered tag count or extend the license for the historian before any download will be accepted.

How do you compare the active server against the standby? #

Diff the engineering data for the two servers before touching runtime. Check the newly added tags for duplicate names, empty archive assignments and any attribute that differs between the pair's configurations, and run the project consistency check before compiling. Then confirm the infrastructure matches: name resolution, time synchronization and firewall rules between the active server and the historian must equal the standby's, because a route or NIC difference on one server produces the same dashboard picture as a rejected handshake.

A stale or conflicting client entry for the active server inside the historian can also block registration while the standby's entry stays valid. If the log names a duplicate or stale entry, plan to remove that client entry specifically during recovery — never the archive data. For the general case of a historian pair stuck on client state rather than a single dropped client, the checks in article:process-historian-redundant-pair-suspended-locked on a redundant Process Historian pair suspended and locked over a full drive cover the historian-side states you may also see.

How do you fix it? #

Change one variable at a time, from least to most disruptive, so each result stays attributable:

  1. Fix whatever the log named first: a license shortfall, a duplicate or renamed tag, an empty archive assignment, or a specific conflicting object.
  2. Recompile the OS and perform a complete download to the active server — not a delta download — with the OS runtime deactivated. A full download rewrites the runtime database and clears any partial configuration left by the failed transfer.
  3. Reactivate the active server while watching the historian dashboard and message log live. The client should stay listed and the heartbeat should keep advancing.
  4. If the entry still drops, back up the historian configuration, then remove only the active server's stale client entry with the historian's management tools and reactivate so it is recreated from the current configuration. Do not delete archive data under any circumstances.
  5. If the log shows a structure conflict with existing archive objects, resolve it the way the Process Historian documentation prescribes for changed archive tags; do not re-initialize the historian database, and schedule the work outside production because archive continuity is affected.
  6. Download the standby again afterwards only if the project changed, so both servers hold the same version.

Adding large batches of long-term tags in one download makes the cause hard to isolate and eats license margin in one step; add them in batches when the margin is small.

How do you verify the fix held? #

Verification is observation with expected values, not a single glance. Activate the active OS Server and leave the historian dashboard open for five minutes: the client must remain listed the whole time, its last heartbeat must keep advancing continuously the way the standby's does rather than freezing at activation, and last tag configuration and last alarm configuration must advance with the next download. Then confirm a real value: pick one known tag, force a value change in runtime, and verify it arrives in the historian with the correct timestamp. If any of those fail, return to the message log before changing anything else, because a second blind download repeats the same rejection and can add further inconsistency.

One safety note: recompiling and downloading an OS Server touches the runtime that operators rely on. Do the full download during a planned window, with the shift informed, and never deactivate runtime on a server that is currently carrying the operator's control interface.

If the historian host itself is aging and repeatedly drops clients after faults like this, replacing it with a purpose-built fanless mini PC sized for the historian role is the fallback once the software cause is ruled out.

Questions asked

Can I just switch the redundancy master to the standby server so archiving resumes?

No. The standby registers its own client entry with Process Historian, but the two runtime databases are independent until a full download makes them match. If the active server's configuration is the rejected one, the new master carries the same fault and archiving still stops when it takes over. Fix the configuration on the failing server first.

Does deleting the OS Server entry on the Process Historian erase archived history?

No, not if you remove only the client registration. The stored tag values and alarms stay in the historian's archive database. What destroys history is deleting or re-initializing the historian database itself, which some engineers try when a client entry looks stuck. Back up the historian configuration, then remove and let the runtime recreate just that client entry.

How long can the OS Server buffer data while Process Historian is unreachable?

The OS runtime caches values locally and transfers the cache to the historian when the link is re-established or the historian is restarted. The cache is finite: if the connection stays broken past the configured retention window, the oldest buffered segments are overwritten and that data is lost permanently. So restore the link promptly rather than planning to backfill later.

Why does the standby server stay connected if the problem is on the shared project?

Because Process Historian keeps a separate client entry, configuration handshake and license accounting for each server. A rejection logged against the active server's entry proves nothing about the standby's entry. That split is exactly why a healthy standby cannot be used as evidence that the active server's configuration, registration or license share is intact.

Keep reading

  • Troubleshooting

    Process Historian connected clients but no stored values

    Connected clients in the PH Management Console prove only the communication link. With Stored Values and Stored Messages frozen and a Com-Exception in SendToProcessHistorian in the WinCC diagnostics, the OS-side send fails after connecting: confirm OS archive generation, run the PHIsReady client configuration on each OS server with an authorized account, check the CCCAPH Server Service logon identity, and prove the fix with a counter delta.

    Edge computing and IIoT

  • Troubleshooting

    Why TLGGetArchiveDataEx returns only OS server data

    TLGGetArchiveDataEx and the WinCC OLE DB provider both read the archive belonging to the machine they run on, so a PCS 7 OS Client at v8.0 SP2 returns OS server data and cannot return Process Historian 2013 Upd7 data. Commission Information Server against the Process Historian, then validate one known tag over a historian-only interval before trusting any export.

    Edge computing and IIoT

  • Troubleshooting

    Aggregation Matrix report fails when tag count rises

    The failing report is the bigger aggregate workload even though it covers a shorter time range: report size follows tags times intervals, not the date span. The error name identifies the database function that was executing, not the cause. Capture the complete SQL message and test one report setting at a time.

    Edge computing and IIoT

Fix duplicate driver IDs after a Docker historian upgrade