Difference between revisions of "DataSync V2"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
== Functionality ==
+
== DataSync ==
  
*DataSync will cache capability/report data and re-send missing data after connection recover.
+
#DataSync will cache capability/report/event data and re-send missing data after connection recover.
 +
#The cached data will save with SQLite3 (datasync.db).
 +
**Capability is saved in table TB_Cap.
 +
**Report and Event data are saved in TB_Data.
 +
#DataSync will re-send capability first before the missing report data.
 +
#DataSync will send recover progress by auto report data, so you can find recover progress in monitor/DataSync page.
 +
 
 +
== How to Verify ==
 +
You can verify DataSync function by one of following:
 +
#Make a disconnect event by pull out network wire.
 +
#Disable network adapter
 +
#Modify routing table to block WISE-Cloud IP.
  
 
== DataSync.ini ==
 
== DataSync.ini ==

Revision as of 07:50, 12 July 2018

DataSync

  1. DataSync will cache capability/report/event data and re-send missing data after connection recover.
  2. The cached data will save with SQLite3 (datasync.db).
    • Capability is saved in table TB_Cap.
    • Report and Event data are saved in TB_Data.
  1. DataSync will re-send capability first before the missing report data.
  2. DataSync will send recover progress by auto report data, so you can find recover progress in monitor/DataSync page.

How to Verify

You can verify DataSync function by one of following:

  1. Make a disconnect event by pull out network wire.
  2. Disable network adapter
  3. Modify routing table to block WISE-Cloud IP.

DataSync.ini

  • File example:
[DataSync]
; database size limit MB
Storage=20
; database duration limit HR
Duration=1
; keep previous data before # SEC.
RetainDWTP=60
; # item in each batch
BatchSize=3
; time between each wrap batch send, SEC.
WrapSendInterval=3
; preserved storage space. MB
PreserveStorage=200