The public and private keys are saved in the configuration table in DB.
When add a new management server, ACS will create key files in ~cloud/.ssh
folder if the files do not exist. Of course you can backup the folder.
I think it is good enough if dump db and backup /etc/cloudstack folder.

-Wei


On Monday, January 20, 2025, <m...@swen.io> wrote:

> Hi all,
>
> I need to migrate the management-server (only one, db on the same server)
> to
> another VM with the same os (Ubuntu 22.04 LTS). We need to change the
> hypervisor the VM is running on.
>
> I am aware to dump the database and copy custom configs, what I am not
> aware
> of what keys we also need to copy. We added our KVM hosts via user and
> password to CS, but as far as I understand CS did create some key pairs to
> communicate with the hosts. Is this correct and if so, I guess I need to
> copy them, too?
>
>
>
> The new management-server will use the same internal IP, but I will restart
> all system VMs. Anything else I forgot? Thx everybody for help!
>
>
>
> Regards,
>
> Swen
>
>

Reply via email to