|
|
|
|
|
by chocobor
484 days ago
|
|
Q: How do you guys centrally update field devices? I am working on professionalizing our IOT setup that currently consists of a few dozen raspberries which run docker containers. They are individually updated by sshing into them and running apt update manually. Docker containers are deployed with a commercial solution.
I want to have a centralized way to update the OSes, but it does not really make sense for our small team to introduce yocto knowledge, because that would make us fall behind development schedule even more. Also, the hardware needs are just too boring to justify rolling our own os.
I have not yet found a hardware independent Linux distro that can be reliably updated in an IOT context. I am now looking if we can buy ourselves out of this problem.
Ubuntu Core goes in the right direction, but we don't want to make us dependent on the snap store.
Advantech has a solution for central device management with Ota updates, maybe we are going that route. How do you guys update field devices centrally? Thanks! |
|
It's meant (I think?) for immutable style distros like Yocto. You basically create a cpio archive and a manifest of what file goes in which partition (plus bells and whistles like cryptography). It's a good idea to have double buffering, so that if boot fails to come to a reasonable state, the device will revert after a few tries.
IMO the mutable distro model is way too fragile for long term automated updated. Errors and irregularities accumulate with each change. Besides, the whole "update while the system is running" is actually not well defined behaviour even for Linux, it just happens to work most of the time.