Difference between revisions of "DataSync V2"

From ESS-WIKI
Jump to: navigation, search
Line 9: Line 9:
 
#DataSync always backup data whether connected or disconnected.
 
#DataSync always backup data whether connected or disconnected.
 
#The recover data and report data can send in the same time.
 
#The recover data and report data can send in the same time.
 +
#DataSync doesn't monitor network adapter and pythical layer status, the disconnected status is reported from mosquitto library (software connection status).
 +
 +
  
 
== How to Verify ==
 
== How to Verify ==

Revision as of 09:27, 12 July 2018

DataSync

  1. DataSync will backup capability/report/event data and re-send missing data after connection recover.
    • RTENOTITLERTENOTITLE
  2. The data will backup with SQLite3 (datasync.db).
    • Capability is saved in table TB_Cap.
    • Report and Event data are saved in TB_Data.
  3. DataSync will re-send capability first before the missing report data.
  4. DataSync always backup data whether connected or disconnected.
  5. The recover data and report data can send in the same time.
  6. DataSync doesn't monitor network adapter and pythical layer status, the disconnected status is reported from mosquitto library (software connection status).


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