IMD SolutionComputing LibraryShop main store

Explainer

Why AVEVA Historian does not support SQL Server clusters

Edge computing and IIoT Published 7 min read

Short answer

No. AVEVA Historian 2023 R2 SP1 does not support SQL Server cluster environments, and AVEVA has stated there are no plans to add support. Most historian functionality lives in time-series storage and extensions, which clustering leaves unprotected, so the documented availability design is a pair of Historian partners on traditional, non-clustered configurations.

On this page
  1. What AVEVA supports at this release
  2. Why a SQL Server cluster does not equal historian availability
  3. SQL uptime is not history uptime
  4. Counting protected components for two servers at release 2023 R2 SP1
  5. Standing up the partner pair
  6. Testing the pair the way an operator sees it
  7. Questions asked

No. AVEVA Historian 2023 R2 SP1 does not support a SQL Server cluster environment, and AVEVA has stated there are no plans to change that. The reason is architectural: most of what the historian does lives in time-series storage and extensions, which a SQL Server cluster does not touch. The documented route to higher availability is a pair of Historian partners on traditional, non-clustered configurations. What follows is what a cluster would and would not protect, why a responding SQL endpoint is not the same as available history, and how to deploy and test the partner pair.

What AVEVA supports at this release #

The support statement for this release is plain: no SQL Server cluster support for AVEVA Historian, and nothing planned to change it. What AVEVA documents instead is the partner arrangement. The "Use a redundant Historian" page in the AVEVA Historian documentation describes configuring a partner AVEVA Historian that acts as a hot backup when the primary historian is not available. Both machines in that design are traditional, non-clustered configurations.

The rest of the documentation family shows the same shape. AVEVA System Platform requires a supported version of SQL Server installed on the computer designated as the Galaxy Repository (GR) node, a local instance rather than a cluster endpoint. Historian follows the same pattern: its Runtime database is the SQL Server online database for the entire AVEVA Historian, one component of the installation rather than the container for all of it.

Why a SQL Server cluster does not equal historian availability #

A SQL Server cluster does real work inside its own architecture. A failover cluster instance keeps a database engine reachable across node failures, over cluster disks (iSCSI, Fiber Channel) or SMB storage. It protects what lives inside the database engine. In AVEVA Historian that is the Runtime database; the majority of functionality, the time-series storage and the extension layer, lives outside it. A cluster that fails over the SQL instance leaves those parts exactly where they were, and at this release there is no supported way to make them cluster resources in the first place.

The contrast within the same product family makes the boundary visible. Where a component does support clustered SQL Server, the documentation says how to connect: guidance for the PI AF Server tells you to use the SQL Network Name or SQL IP Address instead of a computer name when SQL Server runs on a cluster. Historian has no equivalent guidance, because there is no supported clustered configuration to connect to.

Availability design What it protects What it leaves exposed Status at 2023 R2 SP1
SQL Server failover cluster The SQL Server instance and its databases Time-series storage, historian services, extensions, the acquisition path Not supported
Pair of Historian partners A second complete historian: services, time-series storage, extensions, Runtime database The client's retrieval path, which you must configure and test Documented ("Use a redundant Historian")

SQL uptime is not history uptime #

A successful SQL connection proves exactly one thing: a connection reached SQL Server. It does not prove that the historian can accept incoming samples, reach the history a display is asking for, or complete the retrieval. An open display proves the visualization is running, not that its historical data path is healthy. How AVEVA Historian publishes collected data to a client is a path of its own, and every hop on it can fail independently of SQL Server (article:how-aveva-historian-publishes-collected-data-to-a-client).

When a trend goes stale, walk the layers in order before touching server architecture:

  • The display's historical binding and selected time range.
  • The client connection, query interface, or driver the display uses to reach the historian.
  • The historian instance serving the request and its access to stored history.
  • Acquisition from the controller when new samples are missing.

Scope tells you which layer. One display failing while another retrieves the same history points at binding or connection settings. One tag missing samples while its neighbors update points at that tag and its acquisition path. Readable old history with no new samples separates retrieval from collection. Many clients failing at once points at shared dependencies.

Counting protected components for two servers at release 2023 R2 SP1 #

Inputs, each with its source:

  • Installed release: AVEVA Historian 2023 R2 SP1, the release in question.
  • Server count: 2, the count the documented design itself uses, since a partner arrangement is a pair.
  • Components per historian installation: 1 Runtime database, the SQL Server online database for the entire historian (AVEVA documentation), plus the time-series storage and extensions that carry most functionality (AVEVA's own support answer).
  • Support statement: no SQL Server cluster support at this release.

Rule in words: to keep history collectable and retrievable through the loss of one server, every component must exist in at least two complete copies on separate servers. Count complete historians per design; fewer than two means a single failure can stop history.

The arithmetic:

  • Partner design: 1 primary + 1 partner = 2 historians. Runtime databases: 2 x 1 = 2. Complete copies of time-series storage and extensions: 2 x 1 = 2. Historians remaining after one server loss: 2 - 1 = 1.
  • Cluster design on the same two machines: 2 cluster nodes, 1 failover SQL Server instance, 1 Runtime database. Complete historians: 1. Components the failover acts on: only the SQL layer. Complete historians after the historian itself fails: 1 - 1 = 0, and the arrangement is unsupported regardless.

Result: two servers deployed as partners yield two complete installations; the same two servers as a cluster yield one, and the cluster protects only a slice of it.

Decision: deploy the two machines as two partners. Any proposed design that provides fewer than two complete historians leaves a single server loss able to stop history, and a cluster provides exactly one.

Standing up the partner pair #

  1. Confirm the installed release, then its documented SQL Server, operating system, and partner-configuration requirements. If the two partners will run different releases during a migration, sort out licensing first: AVEVA Historian 2023 R2 license backward compatibility is its own subject (article:aveva-historian-2023-r2-license-backward-compatibility-explained).
  2. Inventory what must survive: acquisition sources, required tags, historical clients, authentication dependencies, storage locations.
  3. Define acceptance separately for continued collection and continued retrieval. Decide whether operators need recent values, older history, or both during an outage.
  4. Install the two historians on traditional, non-clustered configurations following the documented procedure for the release.
  5. Configure the acquisition and partner relationships. Check tag configuration and the history reachable through each instance.
  6. Configure each client's retrieval path explicitly, and write down the switching procedure, recovery procedure, and observable success criteria before any outage test.
  7. Back up both machines. A partner is not a backup; each installation needs its own, and fixing AVEVA Historian VSS writer 0x800423f4 backup failures has its own diagnosis (article:fixing-aveva-historian-vss-writer-0x800423f4-backup-failures).

If the risk you are actually covering is the path from the plant into the historian rather than the historian itself, that redundancy is arranged at the connector tier, and AVEVA Historian Connector redundancy options are a separate set of choices (article:aveva-historian-connector-redundancy-options-explained).

Testing the pair the way an operator sees it #

Test the workflow operators use, not server reachability. Partner availability, incoming collection, and historical retrieval are three separate outcomes that need three separate observations.

With both partners running, retrieve a known tag over a recorded time range through each client path, checking recent samples and older history independently, with values and timestamps confirmed against the source where practical. Then, in an approved test window and never by pulling a server on a running line, make one partner unavailable, execute the configured switching, and repeat the same query. Record connection errors, missing intervals, stale values, and any operator action the switchover demanded. Confirm that collection continues through its intended path, and write down what the display showed at each step so the recovery criteria are the observed ones.

Keep the scope honest when reading results: a broken display binding is not a server failure, and a controller communication fault is not fixed by moving the query to another server. Record the error text, affected tags, requested time range, and the actual destination server read from the client configuration rather than inferred from the display name.

Questions asked

Are there plans to add SQL Server cluster support to AVEVA Historian?

No. AVEVA has said there are no plans to add it. Treat that as planning guidance rather than a permanent guarantee: support statements are release-scoped, so when you move to a later Historian release, read that release's own requirements before assuming either answer still holds.

Can I point Historian at a clustered SQL Server by its network name?

Not in any supported way. Connecting with the SQL Network Name instead of a computer name is guidance for products in this family that do support clustered SQL Server, such as the PI AF Server. Historian has no documented cluster configuration to point at; its Runtime database belongs to the historian installation, and availability is handled by the partner pair.

We already run a SQL Server cluster for other plant databases. Can the historian use it?

Keep the cluster for the databases it already serves and keep the historian off it. Each partner runs its own non-clustered SQL Server with its Runtime database. The two designs coexist cleanly: the cluster protects those other databases, the partner pair protects history.

Does the client switch to the partner automatically?

That depends on the client, not on the historian. Check each client's documentation and settings for whether switchover is automatic or needs an operator action, and make the intended destination explicit in the configuration. A healthy partner helps nothing while a display stays connected to an endpoint that is down.

What is the minimum that must keep working when one partner is unavailable?

Two outcomes, measured separately: continued collection of new samples, and continued retrieval of history through the client path operators actually use. A server that answers a ping or a SQL endpoint that accepts a connection proves neither; only a repeated query for a known tag over a recorded range does.

Keep reading

  • 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

  • Troubleshooting

    Citect Historian database creation fails on a named instance

    The error names a failed server-level command on the named instance's master database, not a broken wizard. Get the underlying SQL exception, confirm that the login the wizard presents sits in the sysadmin server role on that instance, and confirm the engine version is on the historian build's support list. Switching between Windows and SQL Server authentication fixes neither a permission gap nor a version mismatch.

    Edge computing and IIoT

  • Comparison

    How AVEVA Historian publishes collected data to a client

    Yes — AVEVA Historian publishes collected data, but through a client-matched output rather than one universal server. Seven paths cover the cases: SuiteLink, PCS iData, OMI Replay, SQL History or Live tables, MQTT, OData, and Gateway as an OPC DA client. Keep the OPC UA link as collection, then pick the output by the client's protocol and whether it needs live or stored values.

    Edge computing and IIoT