Configure interface instances for failover
- Last UpdatedMar 07, 2025
- 1 minute read
- PI System
- Interfaces
To ensure that batch data continues to be collected if an instance of the interface fails, you can configure multiple interface instances to run in failover mode.
To enable failover, perform the following steps before you start the interface instances:
-
Configure instances of the interface on different host computers. Assign an interface ID, point source and failover ID to each instance. The interface ID must be unique for each interface.
You can configure more than two instances for failover.
-
In the target PI Data Archive, create a string tag to coordinate failover.
-
Using PI Event Frame Interface Manager, go to the Operational Settings tab and configure the failover settings.
-
Failover tag
The name of the tag that you created in the previous step.
-
Failover identifier
A unique ID for the interface instance.
-
Failover swap time
The amount of time that the current primary interface must be unavailable before failover occurs.
-
-
Start the interface instances.
When the primary interface instance is operational, it updates the failover tag with the timestamp of the last value written. The backup instance monitors this tag and, if the failover swap time elapses and the failover tag has not been updated, the backup instance takes over data collection and becomes the primary instance.