Collector modules dstribution files
In terms of files, particular modules are distributed as JAR files, which are executed as Java program. Each module has own file:
Module | File name |
---|---|
Audit | iot-collector-audit-x.y.z.jar |
Receiver | iot-collector-generic-receiver-x.y.z.jar |
Sender | iot-collector-generic-sender-x.y.z-.jar |
x.y.z refers to specific IoT Data Controller version.
Configuration files
There are two main configuration files for all modules:
- config.json - holds the configuration of the module, including license
- cluster.xml - defines the clustering mechanism, modules discovery strategy etc
See Configuring IoT Controller for more details.
Database files
Database directory and data files are created as specified in config.json file. The default location is <installation_directory>/hsql. Particular data files and directories are created according to module type and it's name:
- <module_type><module_name>-db.data
- <module_type><module_name>-db.log
- <module_type><module_name>-db.properties
- <module_type><module_name>-db.script
- <module_type><module_name>-db.tmp/
All these files are created automatically and are not supposed to be changed.
Log files
Log files reside in <installation_directory>/logs and are named according to the module type and it's name. Logs are rotated on time and file size basis: 50MB and 7 days.