In This Article
- Executive Summary
- Why the Historian Is the Hardest System in the Plant to Replace
- Retention and Readability: The Question That Should Come First
- Compression: The Record You Kept Is Not the Signal You Measured
- Contextualization: A Tag Value Is Not a Batch Record
- The Historian Sits on the IT and OT Fault Line
- The Analytics Ambition, in the Honest Order
- A Migration Approach That Survives an Inspection
- What Has to Be True Before You Retire the Legacy System
- Conclusion
- For Further Reading
- References & Sources
Executive Summary
The process historian is usually the most valuable and least examined system in a pharmaceutical plant. It holds years of time-series data from every sensor on every skid, it typically predates the current data governance program by a decade or more, and it is the single point of dependency for continued process verification, trend investigations, and a large share of deviation root cause work. Most sites can name the vendor and the server. Far fewer can say what the compression settings are, who last reviewed them, or whether data from 2014 still opens.
Replacing a historian is harder than replacing almost anything else in the plant, and the reasons are specific. The record it holds has a regulated retention period measured in years past product expiry. The values it stores were altered on the way in by compression algorithms that discard data by design. The data means very little without batch, product, equipment, and phase context that usually lives in a different system. And the historian sits exactly on the boundary between operational technology and enterprise IT, which means any move touches network segmentation, validation scope, and the plant’s security architecture at the same time.
This article works through those five problems in order: retention and readability, compression and what it does to the record, contextualization, the IT and OT boundary and why a read-only replica is often the right compromise, and the analytics ambition that funds most of these projects. It closes with a migration approach built around parallel running and a defined set of verification results, plus the specific list of things that must be proven before the legacy system can be switched off.
Why the Historian Is the Hardest System in the Plant to Replace
Ask a manufacturing IT team to rank their systems by business risk and the historian rarely comes first. The MES is more visible. The ERP touches money. The LIMS blocks release. The historian just runs, quietly collecting tag values from distributed control systems, programmable logic controllers, building management systems, and standalone skids, and it has usually been running that way since before anyone currently on the team joined the company.
That is exactly the problem. A system nobody has needed to think about for fifteen years is a system whose behavior nobody has documented for fifteen years. And unlike most plant systems, the historian’s value is almost entirely retrospective. Its purpose is to answer questions that have not been asked yet, about batches that have already been released, using data that was collected before anyone knew the question existed.
What the historian actually holds
A mature site historian typically holds tens of thousands of tags. Temperatures, pressures, flow rates, pH, dissolved oxygen, agitation speed, valve positions, motor currents, differential pressures across filters, room classifications, chilled water supply temperatures, and every alarm and event that the control system generated along the way. Some of those tags map directly to critical process parameters named in the validated control strategy. Most do not. The ratio is often ten or twenty to one.
What makes this valuable is not the individual tag. It is the accumulated history. When a site needs to demonstrate that a process has remained in a state of control across three years of commercial production, the evidence comes from that archive. When an out-of-specification result triggers an investigation, the first question is almost always what the process was doing at the time, and the answer comes from the historian. When a technology transfer team needs to understand why a step behaves differently at a receiving site, they compare historian traces.
The dependency nobody drew on the architecture diagram
The FDA’s process validation guidance defines a three-stage lifecycle, with Stage 3 continued process verification described as an ongoing program of collecting and analyzing product and process data to confirm the process remains in a state of control.1 In practice, the data that feeds Stage 3 at a commercial site comes from the historian. Statistical process control charts on critical process parameters, capability indices, trending of in-process measurements against action and alert limits: all of it is built on historized time-series data, usually pulled on a schedule into a reporting layer.15
That creates a dependency that rarely appears on the system inventory in the form it deserves. The historian is not a supporting system for CPV. It is the record. If a historian migration breaks the continuity of that record, the site has a validation problem, not an IT problem.
Three things that make it different from an ERP or LIMS replacement
Every regulated system migration is difficult. The historian adds three problems that most others do not have.
The record was transformed on the way in. A LIMS result is stored as it was reported. A batch record entry is stored as it was entered. A historian value has usually passed through an exception filter at the interface and a compression algorithm at the archive, both of which discard values on purpose. What sits in the archive is a reduced representation of what the instrument produced. That is a design feature, and it is defensible, but it has to be understood before anyone starts talking about a faithful migration.
The data is only meaningful in combination. A single tag value with a timestamp is close to useless. It becomes evidence only when you know which batch was running, which product, on which equipment train, in which phase of which unit procedure, with which material lots charged. That context usually lives in the MES, the batch execution system, or the ERP, not in the historian.
The system spans a security boundary. The historian collects from the control network and serves to the business network. It is one of the few systems that has to exist on both sides of the line, which makes any change to it a change to the plant’s network architecture at the same time.
The question to ask before the project starts
Before scoping a historian modernization, ask the site to answer three questions in writing: What are the current compression and exception settings for every tag associated with a critical process parameter, and when were they last reviewed? What is the oldest data anyone has successfully retrieved and read from the current archive in the last twelve months? Which downstream reports, CPV charts, and annual product quality review sections draw on historian data, and who owns each of them?
If those three answers are not readily available, the project is not ready to start. It is ready to start an assessment.
Retention and Readability: The Question That Should Come First
Most historian modernization business cases open with analytics. They should open with retention. The reason is simple: analytics is an ambition that can be deferred, and retention is an obligation that cannot.
What the regulations actually require
Under 21 CFR 211.180(e), production, control, and distribution records specifically associated with a batch must be retained for at least one year after the batch expiration date, and records must remain readily available for inspection throughout the retention period.17 For a product with a five year shelf life, that is a six year floor from the date of manufacture, and most companies set internal policies well above the floor to cover litigation, product complaints, and post-approval commitments.
Retention alone is not the hard part. Storage is inexpensive. The hard part is readability. The MHRA’s data integrity guidance is explicit that archive arrangements must be designed to permit recovery and readability of the data and metadata throughout the required retention period, and that where a computerized system can no longer be maintained, records should be archived according to a documented strategy before the system is decommissioned. The same guidance notes that for legacy systems, the ability to review data periodically should be verified rather than assumed.
Read that last point carefully. The expectation is not that the site believes old data is readable. It is that the site has checked, on a defined schedule, and can show the check.
Why decade-old time-series data is a specific problem
Historian archives age badly in ways that are easy to miss. Several failure modes recur:
- Archive file format drift. Historian products have gone through major version changes over twenty years. Archives written by an old version are often readable only by a compatibility layer that the vendor supports for a defined window and then retires.
- Tag configuration drift. A tag’s engineering units, scaling, or descriptor may have been changed at some point. The archive stores values. If the metadata that explains what those values mean has been overwritten rather than versioned, old data becomes ambiguous.
- Lost point mapping. Tag names were often generated by the control system integrator using site conventions that changed when the DCS was upgraded. Historical tags may have no surviving map to the equipment they came from.
- Orphaned interfaces. Data collected from a skid that was decommissioned in 2016 is still in the archive, but nothing in the current system describes what the skid was or how its instruments were calibrated.
- Backup media that nobody has restored. Offline archives on tape or on decommissioned storage arrays are frequently untested. The first restore attempt during a migration project is often the first restore attempt ever.
The readability test that most sites skip. Loading old data into a new system proves the file could be parsed. It does not prove the values are correct or interpretable. A genuine readability test picks a specific batch from the oldest retained year, retrieves the full set of critical process parameter traces for that batch from the legacy system, retrieves the same traces from the new system, and has a process engineer who knows the product confirm that both tell the same story and that the engineering units, timestamps, and quality flags match. Run that test before the migration design is finalized, not after.
Deciding what has to move and what only has to remain retrievable
Not all historian data carries the same obligation. Treating it as one undifferentiated block is the most common way these projects become unaffordable in effort and schedule. A tiered approach works better.
| Data tier | What it covers | Retention obligation | Reasonable target state |
|---|---|---|---|
| Tier 1: GMP record | Tags tied to critical process parameters, critical quality attributes, and validated control strategy limits, plus associated alarms and events | Full regulated retention with readability, audit trail, and metadata intact | Migrate into the new system with full verification, or retain in a validated read-only archive with a documented retrieval procedure |
| Tier 2: Investigation support | Utility, environmental, and equipment health tags routinely used in deviation and complaint investigations | Site policy driven, generally aligned with Tier 1 retention | Migrate a defined recent window, archive the remainder with a tested retrieval path |
| Tier 3: Engineering and optimization | Tags used for troubleshooting, energy monitoring, maintenance trending, and process improvement | No regulated obligation beyond company policy | Migrate a rolling window sized to analytics needs; retire the rest on an approved schedule |
| Tier 4: Dormant | Tags from decommissioned equipment, duplicate collectors, test points, and interfaces that no longer exist | Assess individually; often none | Document, obtain quality approval, and dispose under the records retention procedure |
The tiering exercise is not a technical task. It requires quality, process engineering, and manufacturing to agree, tag by tag for Tier 1 and by tag group below that. It is slow. It is also the single highest-value activity in the whole program, because it is the only thing that turns an unbounded migration into a bounded one.
Compression: The Record You Kept Is Not the Signal You Measured
This is the part of historian modernization that most projects avoid discussing, and it deserves direct treatment because it sits awkwardly against data integrity expectations.
How exception and compression actually work
Process historians were built when storage was expensive and network links to the plant floor were slow. To make continuous collection from thousands of instruments practical, they apply two filters in sequence.
The first is exception reporting, applied at the interface or collector, close to the control system. A new reading is only sent onward if it differs from the last reported value by more than a configured deadband. Readings inside the deadband are treated as noise and dropped at the source. They never reach the archive at all.
The second is compression, applied at the archive. The most widely used method is the swinging door algorithm, which fits a straight line through consecutive readings and stores only the endpoints of each segment, as long as every intermediate reading falls within a tolerance corridor around that line. When a reading falls outside the corridor, the previous value is committed to the archive and a new segment begins. Vendor documentation describes these two mechanisms and their tuning parameters in detail.8
The result is that a tag sampled every second may be stored as a few hundred points per day rather than 86,400. On retrieval, the historian interpolates between stored points, so a trend chart looks continuous. Most users have no idea that the smooth line they are reading is largely reconstructed.
Say the uncomfortable part plainly. Compression settings discard data by design. Two sites running identical processes with identical instruments can hold materially different records of the same event because one configured a tighter compression deviation than the other. The archive is not a passive recording. It is the output of a configured algorithm, and that configuration is a decision the site made, usually a long time ago, often without quality involvement.
Why this matters for data integrity and for analytics
The data integrity concern is not that compression is inherently improper. Reduction of a continuous analog signal to a stored representation is unavoidable in any digital system, and regulators have never expected sites to archive every sample from every instrument at full rate. The concern is that the reduction is an undocumented, uncontrolled transformation applied to GMP records.
If the compression deviation on a bioreactor temperature tag is set wide enough to smooth over a short excursion, that excursion may not appear in the archive at all. An investigator reviewing the trend would see a process that stayed within limits. Nobody falsified anything. The configuration made the excursion invisible. That is a control weakness, and the fact that it originated in an engineering setting rather than a user action does not make it less of one.
The analytics concern is related and better documented. Research on compression in real-time and historical data acquisition systems shows that excessive compression can lose critical patterns, skew statistical measures, and reduce predictive accuracy in downstream models.7 A model trained on aggressively compressed data learns the shape of the compression as much as the shape of the process. Multivariate methods are particularly sensitive, because compression is applied per tag, so different tags in the same model are reduced at different rates and their apparent correlations shift.
What to do about it during a modernization
The practical approach is not to eliminate compression. It is to bring it under control and to document it as what it is.
- Inventory the settings. Extract exception deviation, compression deviation, compression maximum time, and compression minimum time for every tag. This is usually a straightforward export and it is usually the first time anyone has looked at it as a whole.
- Compare settings against instrument accuracy. A compression deviation set wider than the instrument’s own accuracy is defensible. One set several times wider is a decision that needs a rationale. Many sites find tags where the deviation was set at a vendor default and never revisited.
- Tighten or disable compression on Tier 1 tags. For the tags tied to critical process parameters, storage is no longer a meaningful constraint. Turning compression off entirely on that subset, or setting it at instrument accuracy, removes the ambiguity for the data that matters most.
- Treat the settings as configuration under change control. Compression parameters affect the content of a GMP record. They belong in the validated configuration baseline, with changes going through change control and a documented impact assessment, not in an engineer’s discretion.
- Quantify the effect once, on real data. Take a set of representative batches, collect them uncompressed in parallel for a defined period, and compare the compressed and uncompressed traces. The comparison gives a defensible statement about what compression does to the record at that site, which is far better than an assertion that it does not matter.
- Decide what the migration preserves. Historical data cannot be uncompressed. What was discarded is gone. The migration should carry across exactly what the archive holds, with the original timestamps and quality flags, and the documentation should be clear that the migrated record reproduces the legacy archive rather than the original instrument signal.
That last point matters for how the migration is described in validation documents. Claiming the new system holds the raw data is inaccurate if the legacy archive never did. Claiming it faithfully reproduces the legacy archive is accurate and provable, and it is what an inspector would actually want to see demonstrated.
Contextualization: A Tag Value Is Not a Batch Record
The second structural problem is that a historian holding raw tags and a historian holding contextualized batch data are different systems with the same name, and the difference determines whether anyone can use the data without a specialist sitting next to them.
What context means concretely
A value of 37.2 with a timestamp of 14 March 2024 at 09:41:16 tells you almost nothing. To use it, you need to know at minimum:
- Equipment identity and hierarchy. Which vessel, in which process cell, in which area, at which site. The ISA-95 equipment hierarchy defines this structure: enterprise, site, area, process cell or line, unit, equipment module.9
- Batch identity. Which batch or lot was in the vessel, and which product and strength.
- Procedural state. Which unit procedure, operation, and phase the control recipe was executing. A temperature of 37.2 means something different during inoculation than during a hold or a clean in place cycle.
- Equipment state. Whether the vessel was in production, idle, being cleaned, or in maintenance. Data collected during a CIP cycle mixed into production trending produces nonsense.
- Material genealogy. Which raw material lots, media lots, and buffer preparations were charged.
- Data quality flag. Whether the instrument was reporting good, bad, uncertain, or substituted at that moment, which most historians record and most downstream reports discard.
Without those, every analysis begins with an engineer manually reconstructing what was happening from batch records and shift logs. With them, an analysis that used to take two days takes twenty minutes, and more importantly it can be repeated by somebody else and produce the same answer.
Two historians, same tags, different value
| Capability | Raw tag historian | Contextualized historian |
|---|---|---|
| Retrieve a trend for a known time window | Yes | Yes |
| Retrieve all traces for a named batch | Manual: find the batch start and end times from another system first | Direct query by batch identifier |
| Compare the same phase across 200 batches | Impractical without custom scripting per batch | Standard query with phase alignment |
| Exclude non-production periods from trending | Requires manual judgment each time | Automatic, driven by equipment state |
| Support CPV charting without rework | Report layer must reimplement context logic | Context is upstream of the report; charts are thin |
| Support a defensible multivariate model | Alignment and phase segmentation must be recreated by the modeler, usually undocumented | Alignment is a system function under configuration control |
| Answer an investigator’s question in the room | Rarely | Often |
Where the context comes from and who owns it
Context does not originate in the historian. It originates in the systems that run the plant: the batch execution system for procedural state, the MES for batch and material genealogy, the ERP for product master data, the maintenance system for equipment status. ISA-95 describes this layered structure, with Level 3 systems providing the contextualization that Level 4 systems consume.9 ISPE’s work on Pharma 4.0 makes the same point from the quality direction, describing automated data gathering and contextualization infrastructure as a precondition for a modernized approach to continued process verification rather than an optional enhancement.2
This has an organizational consequence that most programs discover late. Contextualization is an integration project across three or four system owners, and it usually exposes that the equipment naming in the historian does not match the equipment naming in the MES, which does not match the asset numbering in the maintenance system, which does not match the functional location in the ERP. Reconciling those four hierarchies is often the longest single task in a historian modernization, and it produces no visible output until it is finished.
Two technical patterns dominate current practice. The first uses an asset framework layer inside the historian itself, where equipment templates carry the hierarchy and event frames or capsules mark the batch and phase boundaries. The second publishes contextualized data through a broker layer, using OPC UA information models at the machine level13 and a topic structure aligned to the ISA-95 hierarchy for onward distribution.14 Both work. The choice usually follows the existing control system estate rather than any abstract architectural preference.
A useful sequencing rule. Contextualization delivers value against the existing historian. It does not require a new one. Sites that build the equipment hierarchy, batch and phase framing, and equipment state model on top of what they already have almost always find that the modernization decision becomes clearer afterward, because they finally know which data they actually use. Doing contextualization first also de-risks the migration, since the context model is portable and the tag data is not.
The Historian Sits on the IT and OT Fault Line
Every historian modernization runs into the network architecture, and it is worth being concrete about why rather than treating it as a security team objection to be managed.
Why the boundary exists and where the historian falls
Plant networks are segmented for a reason that has nothing to do with data governance. Control systems run equipment that can injure people and destroy product. They are built for availability and determinism, they often run operating systems that cannot be patched on an IT schedule, and they are protected by keeping them separated from general-purpose networks. The Purdue reference model, adopted by the ISA-99 committee as the conceptual basis for the zone and conduit approach in the ISA/IEC 62443 series, describes this as a set of levels: field devices and control at the lower levels, supervisory control above that, site operations including MES and historian servers at Level 3, and enterprise systems at Level 4, with a demilitarized zone between them.1011
The historian is unusual because its job requires it to touch both sides. It has to read continuously from control systems at Levels 1 and 2, and it has to serve data to engineers, quality reviewers, and reporting systems at Level 4. NIST’s guide to operational technology security places historian servers at the operations level alongside MES, and treats the boundary between operations and enterprise as a primary control point.18 CISA’s segmentation guidance makes the same architectural point for industrial environments generally.12
Poorly configured historians become the path an attacker uses to move from the business network into the control network. The safe pattern is well established: the collection function pulls from below and never accepts inbound connections from above, and anything that serves data upward does so from a separate instance in the DMZ.
What moving shop floor data to an enterprise or cloud platform actually changes
The proposal in most modernization programs is to move historian data into an enterprise data platform, frequently a cloud one, so that analytics can run across sites. That is a reasonable ambition. The consequences need to be stated accurately.
A new conduit through the boundary
Any path from the plant to a cloud endpoint is a new conduit in the zone and conduit model. It needs a documented security requirement level, a defined protocol, an outbound-only direction where possible, and a review by whoever owns the plant’s segmentation design.
Scope follows the record, not the server
If the cloud platform becomes the place where CPV charts are produced or where GMP records are retained, it is in validation scope. If it holds a copy used only for engineering exploration, and the GMP record stays on site, it is not. The decision has to be made explicitly, not inherited from where the data happens to land.
Plant operation must not depend on the link
Data collection has to continue and buffer locally when the wide area link is down. If the plant cannot make product or review a batch when the cloud connection drops, the architecture has moved a dependency into a place it does not belong.
Two copies means two record owners
Once data exists in both the plant historian and an enterprise platform, someone has to declare which copy is the record. Leaving that undeclared produces exactly the situation an inspector will find first: two systems, slightly different numbers, no stated precedence.
Why a read-only replica is often the right compromise
The pattern that resolves most of this tension is a one-way replica. The plant historian stays where it is, in the operations zone, collecting from control systems and serving the site. A replication process pushes data outward into a read-only instance in the DMZ or into the enterprise platform. Nothing writes back. The plant retains the record. The enterprise gets the analytics surface.
This is not architectural timidity. It solves several problems at once:
- Security direction is fixed. Data flows one way, out. There is no inbound path to the control network to review, monitor, and defend.
- Validation scope stays bounded. The site historian remains the GMP record under its existing qualification. The replica is a derived copy, and its use determines whether it needs its own controls rather than dragging the whole enterprise platform into GMP scope by default.
- The plant is insulated from enterprise change. Cloud platform upgrades, schema changes, and analytics experiments cannot affect data collection or the site’s ability to review batches.
- Migration risk is contained. A replica can be built and proven while the legacy system continues to run untouched, which is the safest possible starting position for any historian project.
The trade-off is real: a replica means duplicated storage, a reconciliation process to prove the copy is complete, and a standing requirement to keep the two in agreement. That reconciliation is not optional and it is not a one-time test. It is a scheduled control with a defined tolerance and an owner.
The question that settles most architecture arguments
Ask: if an inspector asks to see the process data for a specific batch three years from now, which system will you open, and can you show that the numbers on that screen are the ones the instruments produced and the ones used to release the batch? Whichever system answers that question is the record. Everything else is a copy, and copies get lighter controls and more architectural freedom. Programs that answer this question in week two move much faster than programs that answer it in month nine.
The Analytics Ambition, in the Honest Order
Almost every historian modernization is funded on an analytics case. Predictive maintenance, golden batch analysis, multivariate process monitoring, yield optimization, early deviation detection. Those are genuine opportunities. The sequencing in most business cases is backwards, and the consequence is predictable.
Why the business case is usually written in the wrong order
The typical proposal reads: replace the historian, move the data to a modern platform, apply machine learning, realize benefits. The implied assumption is that the constraint is the storage technology and the analytics tooling. In most plants, it is not. The constraint is that the data has no context, so every analysis starts with weeks of manual reconstruction that is never documented and never reusable.
ISPE’s work on data science for pharmaceutical development and production makes this point repeatedly across both parts of its treatment: the difficulty is in aligning time-value pairs with discrete quality measurements and in establishing context across data sources, not in the modeling technique.34 Reviews of machine learning in upstream bioprocessing describe the same constraints from the technical side, noting limited usable historical data, heterogeneous process conditions, and infrequent feedback as the primary obstacles rather than algorithm selection.16
What a model trained on uncontextualized tags does in a real investigation
This is the specific failure worth understanding, because it is where the reputational damage happens.
A team builds a model on three years of historian data to flag batches at risk of a low yield. It performs well on held-out data. It goes into use as an early warning. Six months later it flags a batch, the site investigates, and quality asks the obvious questions: which parameters drove the flag, what data was the model trained on, how was that data selected, and can you show that the training data excluded periods when the equipment was being cleaned or when a sensor was reading bad quality.
If the training set was pulled as raw tag ranges without equipment state or phase framing, the honest answers are that some CIP cycles were probably included, that bad-quality readings were probably treated as real values, and that batch boundaries were approximated from a tag threshold rather than from the batch record. None of that is fraud. All of it means the model cannot be defended in the investigation, and the flag becomes an unexplained finding that has to be closed out rather than a piece of evidence.
The second-order effect is worse than the first. Once a model has failed in an investigation, quality’s position on the next one hardens, and reasonably so. Sites that push analytics ahead of contextualization frequently set their own program back by two years.
The sequence that holds
Establish the equipment and batch context model
Build the ISA-95 aligned hierarchy, reconcile it with the MES and maintenance system naming, and frame the data by batch, unit procedure, operation, and phase. Do this against the existing historian. It is portable to whatever comes next.
Fix data quality at the source
Address the tags with wrong engineering units, stuck values, unreviewed compression settings, missing quality flags, and duplicate collection paths. Every one of these becomes a silent error in a model that nobody will catch downstream.
Rebuild the existing reports on the contextualized layer
Move CPV charts, annual product quality review data pulls, and routine trending onto the context model before adding anything new. This proves the layer is correct against outputs that people already know the right answer for, and it removes a class of manual rework immediately.
Run descriptive and comparative analytics
Batch-to-batch comparison, golden batch overlays, phase duration analysis, alarm frequency by equipment. These need no model, they build trust, and they surface the data problems that remain before anyone stakes a decision on a prediction.
Then build predictive models, with a documented data lineage
By this point the training set can be described precisely: which batches, which phases, which exclusions, which quality flags. That description is what makes the model defensible when it is questioned, and it is the part that cannot be retrofitted.
Steps one through three deliver measurable benefit on their own. That matters for funding, because it means the program does not have to hold its value promise until the final step to show a result.
A Migration Approach That Survives an Inspection
With the preceding sections settled, the migration itself becomes a manageable engineering exercise. The approach below assumes a Tier 1 dataset that carries a regulated retention obligation.
Decide the target pattern before anything else
There are three viable end states and they carry very different effort and risk profiles.
| Pattern | What it means | Best suited to | Principal risk |
|---|---|---|---|
| Full replacement | New historian collects going forward; all retained history migrated; legacy system decommissioned | Sites where the legacy product is out of vendor support or the hardware is unsustainable | Migration verification effort scales with history volume; a failed verification blocks the whole program |
| Forward cutover with legacy archive | New historian collects from a defined date; legacy system frozen and retained read-only as the archive for older data | Most sites, particularly where the legacy product is still supported | Two systems to query during investigations spanning the cutover; the frozen system still needs periodic readability verification |
| Replica and coexist | Legacy historian remains the collection system and the record; a replica feeds enterprise analytics | Sites whose real problem is analytics access rather than the historian itself | Deferred rather than solved; the underlying obsolescence remains and reconciliation becomes a standing obligation |
The forward cutover is underused and often the right answer. It removes the largest single block of migration effort, it lets the new system prove itself on live data before anything historical depends on it, and it converts the legacy system from an operational dependency into an archive with a much smaller support footprint. Its weakness is that investigations spanning the cutover date need two systems, which is manageable with a documented procedure and becomes irrelevant once the cutover date passes out of the retention window.
The parallel run and what it has to prove
Whichever pattern is chosen, both systems should collect the same data at the same time for a defined period before anything is switched off. Parallel running is the standard approach for high-risk regulated cutovers because it produces direct evidence rather than inference.
The parallel period should be long enough to cover a representative set of production events, not a fixed number of weeks chosen for the schedule. Concretely, it should include at least: several complete batches of each product family running on the affected equipment, at least one full clean in process and clean in place cycle, a planned equipment shutdown and restart, a network interruption of the collection path, and a historian server restart. Those are the conditions under which collection systems differ from each other, and the parallel run exists to find those differences.
| Verification test | What it demonstrates | Acceptance basis |
|---|---|---|
| Value-for-value comparison on Tier 1 tags | The new system stores the same values at the same timestamps as the legacy system for the same source data | Defined tolerance stated in advance, with any deviation explained by a documented difference in compression or interpolation behavior |
| Completeness count by tag and interval | No gaps introduced by the new collection path | Point counts reconcile within the tolerance created by known differences in exception handling |
| Boundary condition behavior | Both systems handle interruptions, buffering, and recovery the same way | After a simulated network outage, buffered data backfills completely with original timestamps preserved |
| Quality flag fidelity | Bad, uncertain, and substituted states survive migration rather than being coerced to numeric values | Every non-good state in the source appears as the equivalent state in the target |
| Time synchronization and time zone handling | Timestamps are unambiguous across daylight saving transitions and across sites | A transition period is tested explicitly; stored times are traceable to a single reference |
| Report and chart equivalence | Downstream CPV charts and quality review outputs produce the same result from either system | Independent regeneration of a defined set of reports from both sources, reviewed by the report owner |
| Historical retrieval on the oldest retained data | Migrated legacy data is readable and correct, not merely present | A process engineer familiar with the product confirms the traces from a batch in the oldest retained year |
| Audit trail and access control | The new system’s controls meet the same expectations as the system it replaces | Configuration changes, security events, and administrative actions are recorded and attributable |
Two points about the value-for-value comparison deserve emphasis. First, the tolerance must be defined and justified before the test runs, not selected afterward to fit the result. Second, exact equality should not be expected if the two systems apply different compression. Setting an acceptance criterion of exact match on a system with different default compression behavior guarantees a failed test and a scramble to explain it. State the expected difference in the protocol, and test against that.
The failure mode to plan for. The most common migration surprise is not corrupted data. It is discovering, during the parallel run, that a tag believed to be a critical process parameter has been collecting from a decommissioned instrument for two years, or that two tags with similar names have been used interchangeably in different reports. These are pre-existing conditions, not migration defects, and they generate deviations of their own. Budget schedule and quality resource for them, and route them through the normal deviation process rather than absorbing them quietly into the project.
What Has to Be True Before You Retire the Legacy System
The retirement decision is where historian projects most often stall, because it is the point at which the site has to say, in writing, that it no longer needs the system holding its process history. That statement needs support.
The retirement gate list
Before the legacy historian is decommissioned, the following should be complete and approved:
- The parallel run is closed with a signed report. All verification tests executed, all deviations closed, all differences explained. Not summarized in a slide. A report that the quality unit has approved.
- Every retained record has a proven home. For each data tier, a documented statement of where the data now lives, how it is retrieved, and by whom. Tier 4 data has a disposal record approved under the records retention procedure.
- Retrieval has been demonstrated by someone who was not on the project. A quality reviewer or process engineer independently retrieves a defined set of historical records from the new system using the documented procedure, without project support.
- Downstream systems and reports are cut over and verified. Every CPV chart, product quality review extract, dashboard, and scheduled report that read from the legacy system now reads from the new one and produces the same result.
- Procedures are updated and people are trained. Investigation procedures, CPV procedures, and data review SOPs reference the new system. Training is complete and recorded for everyone who retrieves process data.
- Periodic readability verification is scheduled. A recurring check confirming that the oldest retained data remains retrievable and readable, with defined frequency, method, and owner. This is a standing control, not a project deliverable.
- The decommissioning itself is documented. A decommissioning record covering final backup, verification of that backup, data disposition, hardware disposal, and the date after which the legacy system is no longer available. Retain it for the same period as the records the system held.
- A defined fallback exists until the gate is fully closed. Keep the legacy system powered, isolated, and read-only for a stated period after cutover. Turning it off on the day the new system goes live removes the only real fallback the site has.
When migration is not viable
Sometimes the legacy archive genuinely cannot be migrated. The format is proprietary and the vendor no longer supports extraction. The volume makes verification impractical within any reasonable schedule. The tag metadata needed to interpret the values no longer exists.
In that situation the archive-and-retain path is legitimate, and it is better to take it deliberately than to discover it halfway through a failing migration. Freeze the legacy system, restrict it to read-only access, document a retrieval procedure that a trained reviewer can follow without vendor support, verify retrieval on a schedule, and record the whole arrangement as a controlled archive with an owner and an end date tied to the retention obligation. The regulatory expectation is readability and retrievability throughout the retention period, not residence in the current platform.
What is not acceptable is the silent version of this: leaving an unsupported server running in a corner with no documented procedure, no verified retrieval, and no owner, on the assumption that it will still work if anyone ever asks. That is the arrangement inspectors find, and the finding is not about the technology.
Governance after go-live
A modernized historian degrades in the same way the old one did unless a few controls are put in place at the start.
Compression settings under change control
Exception and compression parameters for Tier 1 tags belong in the validated configuration baseline. Changes go through change control with an impact assessment covering the affected records and reports.
A defined route for new tags
Every new tag gets a tier assignment, a place in the equipment hierarchy, and a documented owner at the point it is created. Without this, the context model decays within eighteen months and the site is back where it started.
Periodic readability and reconciliation checks
Scheduled verification that old data is still retrievable and that any replica reconciles with the record. Frequency set by risk, results recorded, deviations raised through the normal process.
Periodic evaluation with real scope
The periodic review of the system should examine collection completeness, compression configuration changes, retrieval performance, and hierarchy accuracy, not only user accounts and patch levels.
What good looks like two years later. A process engineer can pull every trace for a named batch, aligned by phase, in a single query. A quality reviewer can retrieve data from the oldest retained year without calling IT. The compression settings for every critical process parameter tag are documented, justified against instrument accuracy, and under change control. The CPV charts are generated from the context model rather than rebuilt each quarter. And when an investigator asks where the process data lives, there is one answer.
Conclusion
Historian modernization is presented as an infrastructure decision and it is really a records decision. The system holds a regulated record with a long retention obligation, that record was transformed on the way in by settings most sites have never reviewed, and it is close to unusable without context that lives somewhere else. Any program that treats the work as a platform swap will find these problems late, in validation, when they are most expensive to resolve. Any program that starts with retention, compression, and context will find that the platform question becomes much easier and sometimes turns out to be less urgent than assumed.
The honest sequencing is the whole message here. Contextualize before you migrate, because the context model is portable and the tag data is not. Understand and control your compression before you promise anyone a faithful record. Establish which system is the record before you argue about cloud architecture. Prove the new system on live data through a parallel run that covers real production conditions before you commit historical data to it. And keep the legacy system available, read-only, until an independent reviewer has retrieved what they need from its replacement. None of that is exotic. It is simply the order that produces defensible outcomes rather than a system that works until the first time it is questioned.
Sakara Digital works with pharma and biotech organizations facing exactly this kind of decision, where a long-lived plant system carries more regulatory weight than its place on the architecture diagram suggests. If you are weighing a historian modernization and want an independent read on whether replacement, forward cutover, or contextualization on the existing platform is the right first move, we are happy to have that conversation.
For Further Reading
For Further Reading
- IT/OT Convergence in Pharmaceutical Manufacturing: What to Expect
- Legacy System Integration in Life Sciences: Bridging 20-Year-Old Infrastructure with Modern Platforms
- The Manufacturing Data Quality Scorecard: KPIs Beyond Regulatory Submissions
- Process Analytical Technology (PAT) in 2026: From Compliance Tool to Manufacturing Intelligence Platform
- Legacy LIMS Modernization: A Three-Path Decision Framework
- Continuous Manufacturing Validation Approaches: A Comparative Review
References & Sources
- US Food and Drug Administration. “Process Validation: General Principles and Practices.” Guidance for Industry, January 2011. Process Validation: General Principles and Practices (PDF, fda.gov)
- Boyer, M. et al. “Reimagining CPV for a Pharma 4.0 World.” Pharmaceutical Engineering, ISPE, May/June 2022. https://ispe.org/pharmaceutical-engineering/may-june-2022/reimagining-cpv-pharma-40tm-world
- ISPE. “Data Science for Pharma 4.0, Drug Development, and Production, Part 1.” Pharmaceutical Engineering, March/April 2021. https://ispe.org/pharmaceutical-engineering/march-april-2021/data-science-pharma-40tm-drug-development-production
- ISPE. “Data Science for Pharma 4.0, Drug Development, and Production, Part 2.” Pharmaceutical Engineering, May/June 2021. https://ispe.org/pharmaceutical-engineering/may-june-2021/data-science-pharma-40tm-drug-development-production-part
- ISPE. “Pharma Facilities, Composable Tools, and Validation 4.0.” Pharmaceutical Engineering, July/August 2024. https://ispe.org/pharmaceutical-engineering/july-august-2024/pharma-facilities-composable-tools-and-validation-40
- ISPE. “Key Insights From a Journey Through the Pharma 4.0 Baseline Guide.” Pharmaceutical Engineering, July/August 2025. https://ispe.org/pharmaceutical-engineering/july-august-2025/key-insights-journey-through-pharma-40tm-baseliner
- “The Impact of Data Compression in Real-Time and Historical Data Acquisition Systems on the Accuracy of Analytical Solutions.” arXiv:2510.26868, October 2025. https://arxiv.org/abs/2510.26868
- Bregenzer, B. “Exception, Compression, and their Impacts on AVEVA PI System Performance.” AVEVA World Conference, 2023. https://cdn.osisoft.com/osi/presentations/2023-AVEVA-San-Francisco/UC23NA-3PGK04-AVEVA_Bregenzer_Brent-Exception-Compression-and-their-Impacts-On-PI-System-Performance.pdf
- International Society of Automation. “ISA95, Enterprise-Control System Integration.” ISA Standards Committees. https://www.isa.org/standards-and-publications/isa-standards/isa-standards-committees/isa95
- International Society of Automation. “ISA/IEC 62443 Series of Standards.” https://www.isa.org/standards-and-publications/isa-standards/isa-iec-62443-series-of-standards
- SANS Institute. “The Purdue Model: Introduction to ICS Security Part 2.” https://www.sans.org/blog/introduction-to-ics-security-part-2
- Cybersecurity and Infrastructure Security Agency. “Layering Network Security Through Segmentation.” https://www.cisa.gov/resources-tools/resources/layering-network-security-through-segmentation-infographic
- OPC Foundation. “OPC Unified Architecture.” https://opcfoundation.org/about/opc-technologies/opc-ua/
- HiveMQ. “Semantic Data Structuring with MQTT Sparkplug and Unified Namespace.” https://www.hivemq.com/blog/semantic-data-structuring-mqtt-sparkplug-unified-namespace-uns-smart-manufacturing/
- Pharma Manufacturing. “Supporting continued process verification.” https://www.pharmamanufacturing.com/compliance/regulatory-guidance/article/11288316/supporting-continued-process-verification
- “Machine Learning Methods for Small Data and Upstream Bioprocessing Applications: A Comprehensive Review.” arXiv:2506.12322, June 2025. https://arxiv.org/abs/2506.12322
- Legal Information Institute, Cornell Law School. “21 CFR 211.180: General requirements.” Code of Federal Regulations, Title 21. https://www.law.cornell.edu/cfr/text/21/211.180
- National Institute of Standards and Technology. “Guide to Operational Technology (OT) Security: NIST Publishes SP 800-82 Revision 3.” September 2023. https://www.nist.gov/news-events/news/2023/09/guide-operational-technology-ot-security-nist-publishes-sp-800-82-revision
- ECA Academy. “Data Integrity Problems as Main Topic of an FDA Warning Letter.” GMP News. https://www.gmp-compliance.org/gmp-news/data-integrity-problems-as-main-topic-of-an-fda-warning-letter








Your perspective matters—join the conversation.