I am using Mender to manage 10 Raspberry Pis. I have to port the Pis to a new management server because the older server will not be available to me. I set up a new management server with new certificate keys and created an artifact to deploy to the Pis from the old server. The Pis did reach the new server and I approved them. But they soon rollbacked to the old artifact because the old server thought the deployment failed. Please advise me how I can finish the server switching. Any suggestion will be appreciated!
And if one migrates authentication data between servers the migration should be more seamless. There are plans on improving this workflow by providing more tooling or documentation but we are not there yet.
My situation was, that I had a “test” setup with 4-5 devices in it. I had to visit those 5 devices to reflash anyway, so I started setting up the production environment. New server, new images, etc. At some point i switched over my dns entry to the new server, andsuddenly the old devices appeared there. Not really more involved… The moment the old devices hit the new server it worked…
This is the way I practically prefer. Thanks for proving its feasibility. I am actually asking my IT manager to let me keep the old server domain as an alias of my new server. By doing this I won’t have to do any porting. It may not always work though, depending on how much my manager likes me.