Register device/deviceprofile #96
Unanswered
NguyenKhanh27
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I believe it's about the setting of RedisDB. It's the persisence layer of core-metadata, and it's a memory db. If we shut it down gracefully, such as using docker compose down, it could always persist the data to the disk. However, your scenario might cause data loss before it stores data to the disk. Please see the article and try to configure RedisDB. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I would like to ask about device/deviceprofile registeration. I have simulated a case that there is power loss after registering a device/deviceprofile. The behavior was strange, UI has loaded the device/profile that I POST into core-metadata, however, when I plug out and in power input, it will restart to run those in docker and the device/profile that I have registered were loss. In another case, if I register then use docker compose down, and later use docker compose up, the devices and profiles registered are still there, even if I plug in and out power, it is still there. I believe it affect something with volume created by docker but Im unsure, I would appreciate any helps regarding to this strange behavior.
I'm using ver 2.3 with docker-compose, test with edgex-compose already
Beta Was this translation helpful? Give feedback.
All reactions