IMD SolutionComputing LibraryShop main store

Troubleshooting

Suspended and locked on a redundant Process Historian pair

Edge computing and IIoT Published 7 min read

Short answer

The locked server is protecting its archive because its storage volume has reached its capacity limit, and the inactive compression is a symptom of the suspended server processing nothing. No state switch works until free space returns. Free space through retention and archive tools, migrate only by the documented procedure for your installed version, then recover redundancy with the storage-healthy server first.

On this page
  1. Read the four findings separately
  2. Why switching the state does nothing
  3. How long the remaining headroom lasts
  4. Where the space actually goes
  5. Why LIFO is not the setting you are missing
  6. The recovery order that works
  7. Moving the database the supported way
  8. Questions asked

Nothing about this pair is one fault, and the order of the fixes matters more than any single setting. The server showing Locked is protecting its archive because its storage volume has reached its capacity limit — that is the example cause the manuals give for the Locked operating state. The suspended server and its inactive compression are one finding, not two: compression processes closed archive segments, and a suspended server processes none. No state switch will work while the trigger is still live, because a transition succeeds only once the condition behind the state is gone. You can move the database, but only through the documented migration procedure for your installed version, never as a file copy. Free space the supported way first, migrate only if the volume cannot grow, then bring the pair back with the storage-healthy server leading.

Read the four findings separately #

Locked. A protective state, not a crash. The Siemens documentation describes the Process Historian server entering the Locked operating state, for example, because its hard disk storage is reaching its capacity limit. The server refuses further work rather than risk an inconsistent archive; the state is the symptom and the drive is the cause.

Suspended. The server has stopped archiving runtime data. Read the reason text delivered alongside the state in your installed version's diagnostics instead of trusting the label alone, because documented triggers differ between releases.

Compression inactive. Internal compression reduces the space the historian needs by compressing closed archive segments, and the Compression dashboard shows the current compression state together with the number of uncompressed segments being held. Inactivity here simply tracks the suspension: nothing is processing, so no segment is moving through compression. Treat it as a symptom, not a third fault.

Drive nearly full. The measurable fact underneath the other findings on the locked server. Measure it precisely before acting, because the exact figure sets your deadline — the worked example below shows how.

Why switching the state does nothing #

A state change is a request, and the server grants it only when its preconditions hold. The locked partner has no capacity to accept work, so it returns to the same state no matter how often you switch it, and the suspended partner's blocker is unchanged as well. Stop toggling the control: a rejected transition is diagnostic evidence that the underlying condition persists, not a stuck button. Clear the capacity problem first and the states follow the cause, which is why the recovery order below touches the state controls only at the end.

How long the remaining headroom lasts #

Worked example, with example inputs you replace with your own measurements. Say the locked server's data volume is 500 GB with 20 GB free, and that archive data plus the database transaction logs on it grew by 14 GB over the last 7 days. Daily growth is 14 GB ÷ 7 days = 2 GB per day.

At that rate the remaining headroom lasts 20 GB ÷ 2 GB per day = 10 days, and each gigabyte you free extends the deadline by 1 GB ÷ 2 GB per day = half a day. The decision falls straight out of the arithmetic: if retention cleanup and compression together cannot hold growth below that rate, plan a bigger volume or a migration now, inside the window your own measurement sets — 40 GB free at the same growth means 20 days, and 10 GB free means 5.

Where the space actually goes #

A nearly full drive does not prove the archive is the consumer. One volume on a historian host can carry:

  • closed and open archive segments, inside and beyond the retention period;
  • the database engine's transaction logs, which grow with write activity;
  • diagnostic dump files — one repeating service fault can produce these fast enough to refill a cleaned drive on its own, which is the failure covered in recovering a historian dump loop after a service restart;
  • backup copies, and the temporary working space that compression and maintenance need while they run.

Measure folder by folder before deleting anything. Space recovery for archive data belongs to the historian's own retention and archive-management functions; hand-deleting files inside a live database directory does not reclaim space safely — it corrupts the archive.

Why LIFO is not the setting you are missing #

The deletion you are looking for exists, but it runs the other way. A historian reclaims space by discarding the oldest history first — first in, first out in deletion order. LIFO, last in first out, would delete the newest values first, which no historian does, because it would erase the live trend the plant is watching at that moment. So there is no LIFO switch to enable, and its absence is not why the drive stays full. Deletion also works only on closed segments, and only while the server is processing — a suspended server and a drive at its limit both stall the very maintenance that would release space. If free space does not grow after a retention cleanup, the bytes sit in one of the other consumers listed above.

The recovery order that works #

One safety note before you touch services: a suspended or stopped historian archives nothing, so agree the window with operations and confirm the data sources buffer upstream before stopping either partner.

  1. Capture both servers before changing anything. Operating state, compression state, redundancy status, message text and timestamps on each server. The reason text attached to Locked confirms whether capacity is the trigger on your build.
  2. Measure every volume the pair uses. Database data, transaction logs, temp space, backups and dump folders on both servers, not only the locked one — and name the volume whose limit fired.
  3. Free space the supported way. Retention and archive-management functions for the history; delete by hand only the files your version's documentation names as removable, such as old dumps or superseded backups. Nothing inside the database directory, ever.
  4. Expand the volume if you can, migrate if you cannot. The documented migration procedure for your installed version stops the services in the right order, moves the database and reattaches it at the configured location. The destination needs capacity for the whole retention horizon, and the service account needs the same rights it had before — the six rights are enumerated in SQL Historian database permissions: the full six rights. If the target is new hardware, size the host for measured growth plus headroom; a fanless mini PC is the usual historian box for this role.
  5. Bring the pair back in order. Start the storage-healthy server first, clear the locked state once its volume has room again, then let redundancy synchronization finish before you trust the pair.

Moving the database the supported way #

A supported migration is not a copy. The vendor publishes a step-by-step migration document for Process Historian databases — new hardware, with the Information Server and clients staying where they are — and the steps differ by release, so use the one written for your installed version and build. Expect it to sequence the clean shutdown of the historian service and its database backend, the transfer, the update of the configured database location, the restart and the verification of acquisition. Copying the database directory while services run captures a torn, unvalidated set of files: it is neither a migration nor a backup, and it can leave two half-databases where one whole one used to be. Every historian platform documents its own move — moving an Ignition historian database with pre-copied partitions shows how another product structures the same operation — but those steps do not transfer between products.

The decisions for your four findings: the locked server waits for capacity, so free space or migrate and only then clear it; the suspended server stays suspended until the blocker captured in step 1 is resolved; inactive compression needs no action of its own and resumes when processing does; and the drive gets its headroom from retention and cleanup first, from expansion or migration second.

Questions asked

Can I copy the Process Historian database folder to another drive as a backup before migrating?

No. A file-level copy of a running historian database captures files mid-write and is not a recoverable backup. Use the historian's own backup function instead. The V8.0 release documentation, for example, states that during backup or restore the server switches to the Deactivated state up to two times and archives no runtime data in that state, so schedule backups where a short archiving gap is acceptable and let them finish.

How much free space does the healthy partner need?

Plan the partner with the same arithmetic, because it logs the same tags at the same rate. If the partner shows the same 20 GB free at the same 2 GB per day of growth as in the worked example, it sits about 10 days from its limit too. For a sizing target, multiply measured daily growth by the retention period and add headroom: 2 GB per day across a 90-day retention is 180 GB before any allowance for logs, dumps and backups.

Can I shorten the retention period to free space faster?

Yes, where your retention policy allows it. Shortening the retention period makes older history eligible for deletion at the next cleanup run, which is the supported way to shrink an archive quickly. The data removed in that window is gone permanently, so record what the shortened setting will delete and restore the policy afterward. Cleanup still needs the server processing and some working space, so pair it with clearing log and dump files rather than treating it as the whole fix.

Free space keeps dropping even after retention cleanup, where else should I look?

Measure folder by folder instead of trusting drive totals. The usual non-archive consumers on a historian host are the database engine's transaction logs, diagnostic dump folders, backup files and temporary space, and a single repeating service fault can refill a cleaned drive within days through dump files alone. If transaction logs are the consumer, check the backend's log-backup schedule before touching anything inside the database directories. The log exists for recovery, and shrinking it blindly removes that protection.

Keep reading

  • Explainer

    What Ignition historian failover leaves behind in the second database

    When a database connection fails over, Ignition keeps collecting: it builds the historian tables in the secondary schema and commits samples there, and nothing merges back when the connection returns. Recovery is a manual reconciliation bounded by the failover window and guarded by a tag-mapping check. The supported design is database redundancy behind one logical endpoint, with History Mode matched to database availability.

    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

  • Explainer

    AVEVA Historian Connector redundancy options explained

    AVEVA Historian Connector v3.1 does not manage failover between redundant Historians. For collection redundancy, run two Connectors, each writing to its own Historian, with configurations you keep identical by procedure; use Historian partner and client failover only to cover temporary access loss.

    Edge computing and IIoT