Test the configuration.
After configuring the shared file and the interface and PI tags, the interface should be ready to run.
See Troubleshooting UniInt Failover for help resolving Failover issues.
-
Start the primary interface interactively without buffering.
22.Verify a successful interface start by reviewing the pipc.log file. The log file will contain messages that indicate the failover state of the interface. A successful start with only a single interface copy running will be indicated by an informational message stating “UniInt failover: Interface in the “Primary” state and actively sending data to PI. Backup interface not available.” If the interface has failed to start, an error message will appear in the log file. For details relating to informational and error messages, refer to the Messages section below.
23.Verify data on the PI Server using available PI tools.
The Active ID control tag on the PI Server must be set to the value of the running copy of the interface as defined by the /UFO_ID startup command-line parameter.
The Heartbeat control tag on the PI Server must be changing values at a rate specified by the /UFO_Interval startup command-line parameter.
24.Stop the primary interface.
25.Start the backup interface interactively without buffering. Notice that this copy will become the primary because the other copy is stopped.
26.Repeat steps 2, 3, and 4.
27.Stop the backup interface.
28.Start buffering.
29.Start the primary interface interactively.
30.Once the primary interface has successfully started and is collecting data, start the backup interface interactively.
31.Verify that both copies of the interface are running in a failover configuration.
Review the pipc.log file for the copy of the interface that was started first. The log file will contain messages that indicate the failover state of the interface. The state of this interface must have changed as indicated with an informational message stating “UniInt failover: Interface in the “Primary” state and actively sending data to PI. Backup interface available.” If the interface has not changed to this state, browse the log file for error messages. For details relating to informational and error messages, refer to the Messages section below.
Review the pipc.log file for the copy of the interface that was started last. The log file will contain messages that indicate the failover state of the interface. A successful start of the interface will be indicated by an informational message stating “UniInt failover: Interface in the “Backup” state.” If the interface has failed to start, an error message will appear in the log file. For details relating to informational and error messages, refer to the Messages section below.
32.Verify data on the PI Server using available PI tools.
The Active ID control tag on the PI Server must be set to the value of the running copy of the interface that was started first as defined by the /UFO_ID startup command-line parameter.
The Heartbeat control tags for both copies of the interface on the PI Server must be changing values at a rate specified by the /UFO_Interval startup command-line parameter or the scan class which the points have been built against.
33.Test Failover by stopping the primary interface.
34.Verify the backup interface has assumed the role of primary by searching the pipc.log file for a message indicating the backup interface has changed to the “UniInt failover: Interface in the “Primary” state and actively sending data to PI. Backup interface not available.” The backup interface is now considered primary and the previous primary interface is now backup.
35.Verify no loss of data in PI. There may be an overlap of data due to the queuing of data. However, there must be no data loss.
36.Start the backup interface. Once the primary interface detects a backup interface, the primary interface will now change state indicating “UniInt failover: Interface in the “Primary” state and actively sending data to PI. Backup interface available.” In the pipc.log file.
37.Verify the backup interface starts and assumes the role of backup. A successful start of the backup interface will be indicated by an informational message stating “UniInt failover: Interface in “Backup state.” Since this is the initial state of the interface, the informational message will be near the beginning of the start sequence of the pipc.log file.
38.Test failover with different failure scenarios (e.g. loss of PI connection for a single interface copy). UniInt failover guarantees no data loss with a single point of failure. Verify no data loss by checking the data in PI and on the data source.
39.Stop both copies of the interface, start buffering, start each interface as a service.
40.Verify data as stated above.
41.To designate a specific interface as primary. Set the Active ID point on the Data Source Server of the desired primary interface as defined by the /UFO_ID startup command-line parameter.
|