Skip to main content
net10.0.NETFramework4.7.2.NETFramework4.8net8.0net9.0.NETStandard2.1

OPC UA Distributed / High-Availability Server Class Library

Published
Sep 2, 2026
1mo ago
Total Downloads
203
203

Install

dotnet add package OPCFoundation.NetStandard.Opc.Ua.Redundancy.Server --version 2.0.0-preview.4
ProductVersions
.NET
net10.0net8.0net9.0
.NET Standard
netstandard2.1
Other
.NETFramework4.7.2.NETFramework4.8

README

OPC UA .NET Standard — Distributed / High-Availability Server

OPCFoundation.NetStandard.Opc.Ua.Redundancy.Server adds the optional distributed building blocks that let an OPCFoundation.NetStandard.Opc.Ua.Server server run as a redundant replica set (active/passive or active/active) while sharing its address space and — optionally — its session state across replicas.

Overview

The core server library stays a self-contained, single-instance server. This package layers the distributed concerns on top through dependency injection so the in-memory, single-instance path is unchanged when the package is not used:

  • A shared, integrity-protected key/value backend (ISharedKeyValueStore) that mirrors node additions, removals, references, and values across replicas.
  • Leader election (ILeaderElection) for the shared-read / leader-write redundancy model, surfaced to clients through the standard OPC UA ServiceLevel and redundancy nodes.
  • Opt-in mirrors for HotAndMirrored/Transparent failover: encrypted session state with single-use nonce validation, subscription definitions, retransmission queues for Republish, best-effort continuation-point envelopes, and deterministic EventIds when an IEventIdProvider such as DeterministicEventIdProvider is configured.

Getting started

Wire the distributed address space and (optionally) shared sessions through the fluent DI surface:

services.AddOpcUa()
    .AddServer(...)
    .UseDistributedAddressSpace(distributed =>
    {
        distributed.UseSharedKeyValueStore(new InMemorySharedKeyValueStore());
    })
    .UseDistributedSessions();

The single-instance defaults remain in effect until a shared store is supplied, so the same server binary runs stand-alone or as part of a replica set.

Target frameworks

net472, net48, netstandard2.1, net8.0, net9.0, net10.0.

Additional documentation

See the High Availability guide for the OPC UA redundancy mapping and the Kubernetes deployment guide for running the server as a replica set.

Changes from Previous Version

No structural changes between v2.0.0-preview.3 and v2.0.0-preview.4.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.The published metadata declares 160 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.