Troubleshooting
Historian secondary in demo mode and license tag violation
Short answer
No. In a partner configuration the two Historians are licensed independently, and a trend client losing the primary releases nothing. The secondary stays in demo mode with its tag violation until you activate its own entitlement, and trends return only after clients have a configured alternate server they can reach.
On this page
- What a partner Historian configuration licenses
- Why pulling the primary's cable transferred nothing
- What demo mode and the tag violation mean
- Sizing the secondary's tag entitlement for a 120-tag workload
- Restoring the secondary as a trend target
- Proving the failover once both servers are licensed
- Questions asked
No — the secondary does not automatically pick up the primary's license, and forcing the license manager to release it is not a supported path. On the deployment in question, running AVEVA Historian 2017 Update 3 SP1 P01, the two servers form a partner configuration: two independent Historians, each licensed on its own, both receiving the same data from the Application Server engine. A trend client that cannot reach the primary switches servers; that switch never releases or moves a license. Pulling the primary's Ethernet cable therefore left the clients without trends and left the secondary exactly as it was — in demo mode with a license tag violation. The fix is to activate an entitlement on the secondary that covers its tag workload, then give the clients a working alternate-server path.
What a partner Historian configuration licenses #
AVEVA's documentation describes the arrangement directly: a Historian can be configured with a partner Historian that acts as a hot backup when the primary is not available. The mechanics are what matter here. Each server is a complete, independent Historian, each carries a system parameter that names its partner, and the Application Server engine delivers duplicate data to both. Nothing in that arrangement merges the two into one licensed process: each server activates against its own entitlement and reports its own licensing state.
Read the screen as two separate facts, then: the primary is licensed for its workload, and the secondary has no activated entitlement at all. The secondary's demo mode is its own condition, not the effect of the primary "holding" the license. For how this architecture compares with the connector-based alternative, see how AVEVA Historian Connector redundancy options differ.
Why pulling the primary's cable transferred nothing #
Unplugging the primary's network cable changes reachability and nothing else. The Historian process on the primary keeps running and keeps every license it acquired, because a live consumer does not surrender entitlement. A trend client failing to reach a historian has never been a release trigger: the client's connection and the license allocation are separate mechanisms, and neither informs the other.
Network licensing does have one release path. When a historian genuinely goes down, the license server releases the licenses that stopped historian had acquired, after a timeout. No timeout value is published for this in the material covering this release, so treat the interval as unknown and measure it on your own license server if failover timing depends on it. Even a release only frees capacity — the surviving partner still has to be granted and activate an entitlement of its own before it serves anything.
The clients' blank trends have their own cause: they still query the primary, and the trend client switches to the other historian only when its connection logic sees the preferred server as unreachable. In this state a switch would not have helped anyway, because the secondary serves no trends while it is unlicensed. Do not force a release from a running consumer to make this work — the supported route is documented license administration, in the order given below.
What demo mode and the tag violation mean #
Demo mode on the secondary means it is running without an activated entitlement that covers its tag workload, and the tag violation is the count that proves it. Under AVEVA's licensing model a Historian license allows a number of tags, and the license server activates that allowance in steps of 50 tags as tags are added. With nothing activated on the secondary, every collected tag sits above the activated count.
Keep this diagnostic separate from two faults it is not. A license tag violation is not an unresolved trend tag, which is a naming or collection problem, and not a failed server binding, which is a connection problem. Read the licensing diagnostics for the entitlement and the workload, and read the client connection status to learn which server the display actually queried. Clients that cannot connect at all once repointed are a different fault, covered under troubleshooting historian trend client connection failures.
Sizing the secondary's tag entitlement for a 120-tag workload #
This is a worked check with an illustrative workload; substitute your measured tag count from the server's diagnostics.
Inputs:
- Tag workload on the secondary: 120 tags — the workload size used in AVEVA's licensing documentation.
- Activation step: 50 tags per step — documented license-server behavior as tags are added.
Rule in words: entitlement is activated in 50-tag steps, so the allowance consumed is the smallest multiple of 50 tags that is at least the workload.
Arithmetic: 120 tags ÷ 50 tags per step = 2.4 steps, which rounds up to 3 steps. 3 × 50 tags = 150 tags.
Result: the secondary consumes 150 tags of entitlement. Two steps would activate 2 × 50 = 100 tags, and the violation would appear from tag 101 upward.
Decision: activate at least 150 tags on the secondary before you repoint anything at it. An entitlement at or below the last full step below the workload — 100 tags here — guarantees the violation; the next multiple of 50 at or above the workload — 150 tags here — clears it.
Restoring the secondary as a trend target #
- Record the state before changing anything: the version (2017 Update 3 SP1 P01), the exact licensing messages on the secondary, which server the clients query, and one known tag and time range that trends on the primary.
- Verify the partnership: on each Historian, confirm the system parameter that points at its partner resolves to the intended counterpart from both servers.
- Fix the secondary's licensing: activate an entitlement that covers its measured workload — 150 tags for the 120-tag case above — using documented license administration, and confirm demo mode and the tag violation clear in its diagnostics. If the entitlement you hold was issued for a different Historian release, start from how AVEVA Historian license backward compatibility works across versions.
- Verify duplicate delivery: confirm the Application Server engine sends the same data to both servers, then query the known tag and time range directly against the secondary. Partnership alone does not prove the secondary holds the history.
- Give the clients the alternate path: configure the client's preferred and alternate Historian selections with names that resolve from the client. Keep the direct connection as your diagnostic tool; the configured alternate is the operational path.
Proving the failover once both servers are licensed #
Work through this in order, and record what you interrupt at each step:
- With both servers healthy, display the known trend and record which server the client is connected to.
- Query the same tag and time range directly on the secondary and compare tag identity, timestamps and range against the primary.
- Under an approved test plan, make the preferred historian unavailable to the client, and record exactly what you interrupted — client connectivity, server connectivity, or the historian service.
- Confirm the client selects the secondary rather than retrying the primary, that new samples appear while the primary is unavailable, and that the secondary stays licensed throughout.
Pulling an Ethernet cable is a reachability test only; it says nothing about license transfer, which is why it produced no licensing change on this system. And if a failover restores trends but output writes stop, that is a different failure — see why historian output writes stop on a secondary server.
Questions asked
Will the secondary pick up the license if the primary historian actually stops?
Only through network licensing, and only after the license server detects a historian that has genuinely stopped and releases what it had acquired, after a timeout that no published value in the available material covers. Even then the surviving partner must be granted and activate an entitlement of its own. In a partner pair the intended design is that both historians hold their own entitlement, so treat stopping the primary as a test, never as a licensing strategy.
Is there a supported way to force the license manager to release the primary's licenses?
Not from a running consumer. Forcing a release while the primary is up risks leaving one server unlicensed and the other still short, and it is not a documented path. The supported routes are documented license administration, activating the correct entitlement on each server, and the vendor's support process for allocation faults; documented deactivation tasks sit under Maintenance in License Manager.
Why did the clients lose all trends when the cable was pulled?
Because they kept querying the primary and had no usable alternate. The trend client switches to the other historian only when its connection logic sees the preferred server as unreachable and a reachable alternate is configured. In this state a switch would not have helped anyway: the secondary was in demo mode with a tag violation and served no trends, so repointing the clients alone would not have restored history.
How many tags does an activated historian license consume?
AVEVA licensing activates in steps of 50 tags as tags are added, so the allowance consumed is the next multiple of 50 at or above the workload: 120 tags consume 150 tags, which is 3 times 50. Size each server's entitlement from its own measured tag count, and expect the violation message whenever the workload exceeds what is activated on that server.