1 Reply Latest reply on Jan 23, 2017 11:42 PM by sraposo

    Analysis service didn't resume calculation automatically after restoring connection to PI server

    Saken

      Hi,

      over two days we have noticed "Calc failed" state for all tags calculated from analysis and it only continues calculation (and refilling after the point when it was stopped) and writing back to tag after manually restart of Analysis service .

      We found following windows logs on af server, last time when stopped calculation was 22-Jan-17 06:06:48 (from tag value).

      Can someone explain what could happen and why Analysis service didn't resume calculation automatically after restoring connection to PI server and only resumed after restart Analysis service manually?

       

      1/22/2017 6:06:51 AM (AF server time)

      ANDataCache.TrackConnectionState[]: ANDataCache:ANPeriodicTimeClassManager: Error retrieving events and updating data cache. PIServer: PIserver_name Error: [-10723] PINET: No Connection.

       

      ANDataCache.TrackConnectionState[]: ANDataCache:ANPeriodicTimeClassManager: Calculations would only be scheduled till last successful event retrieval at 22-Jan-17 06:06:46.

       

      ANDataCache.TrackConnectionState[]: ANDataCache:ANEventTimeClassManager: Error retrieving events and updating data cache. PIServer: PIserver_name Error: Failover

       

      ANDataCache.ReInitializeAttributes[]: ANDataCache:ANEventTimeClassManager: Reinitializing data cache for 10034 attribute(s) as updates may have been lost.

       

      ANDataCache.TrackConnectionState[]: ANDataCache:ANPeriodicTimeClassManager: Error retrieving events and updating data cache. PIServer: PIserver_name Error: Failover

       

      ANDataCache.ReInitializeAttributes[]: ANDataCache:ANPeriodicTimeClassManager: Reinitializing data cache for 2118 attribute(s) as updates may have been lost.

       

      1/22/2017 6:06:54 AM (AF server time)

      ANDataCache.TrackConnectionState[]: ANDataCache:ANPeriodicTimeClassManager: Resumed calculations suspended at 22-Jan-17 06:06:46.

       

      ANDataCache.TrackConnectionState[]: PI Servers previously in error: No errors received for server 'PIserver_name', last error at 22-Jan-17 06:06:51

       

      From Pi server logs it shows following message:

      Deleting connection: PIAnalyticsProcessor.exe(6128):remote(6128), Asynch read failed. [10054] An existing connection was forcibly closed by the remote host., ID: 4011 piserver_ipaddress:50715

       

      thanks,

      S