Mender OTA study === ## architechture server - client ![](https://i.imgur.com/WSkg7eK.png) ### client client use yocto project to build image (`.sdimg`) or rootfs image(`.ext4`) #### opreation mode - command - deamon #### partition layout ![](https://i.imgur.com/8B2SMMe.png) ### server use minio to store update file (`.mender`) web ui interface (api gateway) ``` | | +-------------------------+ | | | | +--->| Device Authentication | | | | (mender-device-auth) | | | +-------------------------+ | +-----------------------+ | | | port | | | +--->| Device Admission | 443 | <----> | API Gateway | | | (mender-device-adm) | | | (mender-api-gateway) |<-----+ +-------------------------+ | +-----------------------+ | | | | +--->| Inventory | | | | (mender-inventory) | | | +-------------------------+ | | | | | +--->| User Administration | | | | (mender-useradm) | | | +-------------------------+ | +--->| | | | Deployments | | +---------------------------->| (mender-deployments) | | | +-------------------------+ | | | | | v | +------------------+ +---------+ port | | | | | 9000 | <----> | Storage Proxy |<--------------->| Minio | | | (storage-proxy) | | (minio) | | +------------------+ +---------+ | ``` ### reference - [mender document](https://docs.mender.io/)