Migrate engine to another storage domain without losing engine settings?

Have been trying to figure out a simple way of migrating our hosted-engine to another storage domain, while keeping the data on the same domain. Is there any safe way of doing this? Fortunately I've only tested this in a dev environment, where I ended up with not being to able to restore the backup I did. The only way I got it to work was to deploy a fresh engine attached to the new storage domain, and then import the data storage domain containing the vms. The problem with that is that I lose all the settings I had in my hosted engine, and the hosts.

On April 15, 2020 11:40:23 AM GMT+03:00, Simon Nylund <henkeslaeppar@gmail.com> wrote:
Have been trying to figure out a simple way of migrating our hosted-engine to another storage domain, while keeping the data on the same domain.
Is there any safe way of doing this? Fortunately I've only tested this in a dev environment, where I ended up with not being to able to restore the backup I did.
The only way I got it to work was to deploy a fresh engine attached to the new storage domain, and then import the data storage domain containing the vms. The problem with that is that I lose all the settings I had in my hosted engine, and the hosts. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/P3NI2SUKICK34R...
Actually I managed to migrate from Gluster via NFS Ganesha to pure FUSE (so from NFS to Gluster). I can't say it was completely successful, as I had later to fix some issues. What is your current HE storage domain ? Best Regards, Strahil Nikolov

Thanks for the answer, The goal is to move our current HE storage domain on an external gluster, to a gluster storage on our nodes instead. So move HE from one gluster to another gluster.

On April 17, 2020 10:50:39 AM GMT+03:00, Simon Nylund <henkeslaeppar@gmail.com> wrote:
Thanks for the answer,
The goal is to move our current HE storage domain on an external gluster, to a gluster storage on our nodes instead.
So move HE from one gluster to another gluster. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/O3DJEUKCYV7T5M...
I have forwarded you an old email. In my case I did it wrong. Setting manually on each hosted engine's agent config works , but when you reinstall/add a new node - it will use the old storage. So, don't use my approach - but use the 'hosted-engine' one. Best Regards, Strahil Nikolov

Didn't recieve the forwarded email. Could you send it to simon@weblink.se please? Thanks,

You can use two ways to do that: if your new environment has the same version try to use engine-backup/restore, or save your backup and try to use hosted-engine --deploy --restore-configuration=your-backup, see more info in documentation

The only way for me to choose another storage domain for the HE, was when i did a /usr/sbin/ovirt-hosted-engine-cleanup on one of the nodes, and then hosted-engine --deploy --restore-from-file=backup/file_name. After that I ended up with HE running on the new storage domain, and the data still remained on the old storage domain. But how do I connect the other node to this environment after that?
participants (4)
-
Patrick Lomakin
-
Simon Nylund
-
Simon Nylund
-
Strahil Nikolov