am working with ThingsBoard Edge and would like to set up two separate edges, each connected to a different database, but both using the same user credentials and simultaneously sending data to ThingsBoard Core.
Questions:
Is it possible to configure two ThingsBoard Edge instances like this?
How does ThingsBoard handle multiple edges sending data to Core under the same user?
Are there any potential issues with database conflicts, device synchronization, or authentication?
What I Did: 1. Set up Edge 1: Successfully installed and configured the first ThingsBoard Edge instance, and it is working fine.
2. Cloned Edge 2 from Edge 1:
Copied all files from Edge 1 to set up Edge 2.
Changed all ports to avoid conflicts.
Set up a new database for Edge 2.
Updated the configuration files (such as tb-edge.conf and postgres.conf) to reflect the new database and ports.
3. Started Edge 2, but it is not working—only Edge 1 works. What I Expected:
Both Edge 1 and Edge 2 should function independently.
Each edge should sync its data with ThingsBoard Core.
No conflicts in authentication or synchronization.