Primary instance loses connection to PI Data Archive
- Last UpdatedApr 03, 2023
- 1 minute read
In cases where failover is configured to ensure a continuous data flow to Data Archive to prevent disruption of operations dependent on the server connection, primary and backup interfaces perform the following operations:
-
If any PI API functions return a value indicating Data Archive is unavailable, UniInt signals that IF-Node1 lost its connection to Data Archive, and IF-Node1 writes a value to its heartbeat point. This value increments from 17 to 31 in a cycle that repeats while IF-Node1 is disconnected.
-
During its next failover cycle, IF-Node2 reads the value in the heartbeat point indicating a failover trigger and stops discarding queued data.
-
At the following failover update, IF-Node2 tries to read the value of the active ID point on Data Archive.
-
For a successful active ID read, IF-Node2 transitions to AssumingControl state and updates the active ID point value to its own failover ID.
-
IF-Node1 reads the value of the active ID for IF-Node2 and immediately assumes backup role.