AnsweredAssumed Answered

Need AFSDK failover solution for data redundancy

Question asked by adhiman on Mar 6, 2016
Latest reply on Mar 7, 2016 by Mike Zboray

I'm developing a fail over data collection mechanism. There will be two collectors listening to the same data source and when one goes down other will come into play.

For collecting data, I'm using bulk update like:

 

_piserver.UpdateValues(afValues, AFUpdateOption.InsertNoCompression, _afBufferOption);

 

I have tried all available AFUpdateOptions in both the collectors but still I get duplicate values. From my experiments so far, it seems that there is no way to handle it using AFSDK as both the collectors act differently to the PI system.

I might need to add some kind of signaling between the collectors which would tell me when the a particular collector should start/stop.

 

Please suggest

 

Outcomes