最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to Connect Two ThingsBoard Edges to Different Databases with the Same User and Sync Data to ThingsBoard Core? - Stack Overfl

programmeradmin0浏览0评论

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:

  1. Is it possible to configure two ThingsBoard Edge instances like this?

  2. How does ThingsBoard handle multiple edges sending data to Core under the same user?

  3. 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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论