IMD SolutionComputing LibraryShop main store

How-to

Historian 23.2.1 to 25.4: upgrade historians before collectors

Edge computing and IIoT Published 6 min read

Short answer

Upgrade both Historians from 23.2.1 to 25.4 before any collector. Version 25 collectors default to gRPC, and the version 23 Historian does not have that transport, so collector-first lands on an incompatible default; sender/receiver does not make it safe. Upgrade collectors in verified batches only after both Historians run the new version.

On this page
  1. The upgrade order to follow
  2. Why collector-first fails at the transport
  3. Why sender/receiver does not rescue the order
  4. The order worked through for 2 historians and 12 collectors
  5. Upgrade and verification procedure
  6. What the mixed-version window does and does not promise
  7. Questions asked

Upgrade both Historians to 25.4 before any collector moves. The system in question runs two Historians and about a dozen collector machines on 23.2.1, and the vendor's support answer is blunt about the order: the Historian has to be upgraded first, because version 25 collectors default to gRPC and a version 23 Historian does not have that functionality. Collector-first is not the easier path with a caveat; it points version 25 collectors at a Historian that cannot accept their default transport, and sender/receiver does not rescue the arrangement. Upgrade the two Historians, prove each one stores data, then move the collectors in batches that each end verified. This article gives the order, the reason it holds, the rollout worked through for this fleet size, and the check that gates every stage.

The upgrade order to follow #

Stage one upgrades both Historians to the target version. Stage two upgrades collectors, in batches, and only once every destination Historian runs the new version.

The reason sits at the collector-to-Historian transport, not at a feature you can postpone. A version 25 collector picks gRPC for its trips to the Historian by default, and a version 23 Historian has no gRPC endpoint to receive them, so collector-first fails on default configuration with nothing to reconfigure.

The Identity service is the natural guess for why the order exists, and it is not the documented reason. Support's answer names the transport and nothing else, so plan around the transport and treat the Identity service as unconfirmed. This order is required, not preferred: no supported mixed-version pairing puts a version 25 collector against a version 23 Historian.

Why collector-first fails at the transport #

A version 25 collector speaks gRPC to the Historian out of the box. The version 23 Historian does not implement gRPC, so the collector's session never comes up even though the machines, accounts and network path are all fine. Nothing in the collector's configuration offers a fallback to the old transport, because gRPC is what the new collector defaults to.

The failure has a signature worth knowing in advance: a TCP port test against the Historian passes because the port is open, while the gRPC session still fails. That gap between a passing port check and a failing session is what why gRPC ingestion fails when the TCP port test still passes takes apart, and it is the failure you build in deliberately if a version 25 collector is pointed at an unupgraded Historian.

Why sender/receiver does not rescue the order #

Running sender/receiver does not make a collector-first sequence safe. Support's answer warns that even collectors upgraded to version 25 and using sender/receiver may carry other version 25 changes that cause problems on a version 23 Historian, and it does not name those changes or define a supported mixed version in which they are harmless.

Treat sender/receiver as a data path between machines, not a compatibility bridge between versions. The transport argument stands even when the collector is set to move data by sender/receiver instead of its gRPC default, so the sequence stays historians first.

The order worked through for 2 historians and 12 collectors #

Inputs, all from the case as asked: two Historian servers and about a dozen collector machines, every machine at 23.2.1, target version 25.4 everywhere. The arithmetic takes the dozen as 12. One example choice: batches of four collectors, sized to a maintenance schedule; eleven or thirteen collectors moves the batch count, not the order.

Rule in words: a collector may upgrade only after its destination Historian runs 25.4, so the Historian upgrade is stage 1 and every collector batch is a stage that must end verified before the next stage begins.

Arithmetic: collector batches 12 / 4 = 3. Stages 1 + 3 = 4. Collectors still on 23.2.1 after stage 2: 12 - 4 = 8. After stage 3: 8 - 4 = 4.

Stage Machines upgraded Fleet state when the stage ends Gate to the next stage
1 both Historians 2 Historians on 25.4, 12 collectors on 23.2.1 known tag, value and timestamp confirmed written on each
2 4 collectors 4 collectors on 25.4, 8 on 23.2.1 all 4 writing fresh values
3 4 collectors 8 collectors on 25.4, 4 on 23.2.1 all 4 writing fresh values
4 4 collectors 12 collectors on 25.4, versions uniform transition checked end to end

Result: a four-stage rollout, with mixed versions only inside stages 2 through 4.

Decision: begin a stage only when the previous stage's gate passes, and let one collector that will not reconnect or write stop the remaining batches until it is fixed. At no point does a 25.4 collector face an unupgraded Historian, which is the pairing with no supported path.

Upgrade and verification procedure #

  1. Back up each Historian with the vendor's documented backup procedure, and prove a restore from that backup on a test machine before you change anything in production.
  2. Agree the maintenance window with operations before you begin: while a Historian is down, operators lose the trends and views it serves.
  3. Upgrade the first Historian to 25.4 and confirm it is serving before you touch the second.
  4. Prove each upgraded Historian stores data: send one known tag value at a known timestamp and confirm it reads back. A running service, a clean login or a provisioned schema is not a confirmed write.
  5. Upgrade collectors in batches of four as worked above. After each batch, confirm every upgraded collector reconnects to the intended Historian and writes a fresh, correctly timestamped value; connection status alone is not proof of delivery.
  6. Hold the remaining batches the moment one collector fails to reconnect or write, and leave that machine out of the rollout until it is fixed.
  7. After the last batch, follow one tag from collector to store to confirm the whole path, not just the pieces.

Two failure shapes sit on this path. An upgraded Historian that reports timeout faults after a move off a 23.x build matches the case in Fix Historian timeout error 1460 after a 23.1 upgrade. A collector that reconnects while stored tags go quiet, with live values still good, matches the case in Why Ignition historian tags stopped recording but live data is good.

What the mixed-version window does and does not promise #

The documented order implies one mixed arrangement: collectors still on 23.2.1 delivering into Historians on 25.4 during the collector stages. Support's answer forbids the reverse pairing and does not promise the allowed direction runs indefinitely, so treat the window as a controlled transition: verify delivery at every gate and finish the batches promptly.

Data a collector queued while its destination was down arrives late, and from redundant senders it can arrive out of order; Backfill late and out-of-order data into Canary collectors covers getting that held window into the store once both Historians are current.

The decision for your system: upgrade the two Historians first and confirm writes, upgrade collectors in verified batches after that, reject collector-first outright with or without sender/receiver, and keep the mixed-version stretch to the shortest verified window you can schedule.

Questions asked

Can version 25 collectors connect to a version 23 Historian?

No. Version 25 collectors default to gRPC for the trip to the Historian, and a version 23 Historian does not have that functionality, so a collector-first arrangement fails at the transport rather than at a setting you can flip. Keep every collector on 23.2.1 until its destination Historian runs 25.4, and expect no supported switch that turns the older Historian into a gRPC receiver.

Do the historians come first because of the new Identity service?

The support guidance that settles the order gives the transport reason: version 25 collectors default to gRPC and the version 23 Historian has no such endpoint. The new Identity service is a natural guess, but the evidence does not confirm it as the deciding factor. Plan the sequence around the collector-to-Historian transport and treat the Identity service as unconfirmed.

How long can collectors stay on 23.2.1 against an upgraded Historian?

Treat it as a short, verified transition, not a target configuration. The documented order has collectors still on 23.2.1 delivering into an upgraded Historian between stages, but the guidance does not confirm the mix runs indefinitely. Verify a known tag, value and timestamp after each stage and finish the collector batches promptly instead of leaving the fleet mixed.

Keep reading

  • Troubleshooting

    Fix Ignition SQL Server connection faults after an upgrade

    After an Ignition 8.1.x upgrade, a faulted SQL Server connection is almost never a credentials problem: the new Java runtime disables TLS 1.0 and 1.1 (builds from 8u291), and a Microsoft JDBC driver as old as 4.0 cannot run on it. Read the Gateway exception, then patch SQL Server to TLS 1.2 per KB3135244 or replace the driver; the reported working pair was 9.4 in place of 4.0.

    Edge computing and IIoT

  • Explainer

    AVEVA Historian 2023 R2 license backward compatibility explained

    Yes. AVEVA knowledge base 000033942 lists Historian among the 2023 products whose licenses are backward compatible to their 2017 versions, and one field test reports a 2023 R2 license running Historian 2020 R2. That clears the license layer only: Citect 2016 connectivity must be proven through the Plant SCADA Connector and CtAPI path.

    Edge computing and IIoT

  • How-to

    Connecting InTouch HMI tags to Wonderware Historian by version

    The installed InTouch release decides the path: on 2020 R2 or newer, configure the Historian connection inside InTouch and enable its store-and-forward; on earlier releases, let Historian's IDAS collector read the running InTouch application. Verify with one stored value before expanding the tag set.

    Edge computing and IIoT