Why don't you use 'hosted-engine --deploy --restore-from-file=' ?

Best Regards,
Strahil Nikolov

On Sat, Mar 19, 2022 at 18:51, goosesk blabla
<goosesk@gmail.com> wrote:
Hi,



I have problem with LOCKED host after restore of engine.



i am trying many disaster scenarios and one from them is loosing of all hosts with self hosted engine included with backup file of engine only.

When all hosts and engine VM were destroyed at the same time, i installed new self hosted engine on hardware from one lost host. Then tried restore engine

engine-backup --mode=restore --scope=all --file=backup/file/ovirt-engine-backup  --log=backup/log/ovirt-engine-backup.log --no-restore-permissions  --provision-db --provision-dwh-db –provision-reports-db


After this, lost engine was restored successfully. I had offline Datacentrer, dead hosts and VM. I added new hosts, which were able to connect to domain storage automatically and I was able to start VM.

New host cannot has the same IP as already dead host or hardware UID. This can be solved by setup old dead host to maintenance mode and then delete host. Then the same hardware and IP can be reused.


But, host where old engine was running is LOCKED. You cannot migrate engine VM, cannot start hosted engine from new engine GUI, cannot setup host to maintenance mode and delete.. This is problem when your hardware for hosts is limited.



I would like to ask how to solve this situation, Is there any way how to “reinstall” old hosts? I see that SSL certificates were changed with new installation of new hosts, but I don’t know if there is way how to enable old dead hosts.



Is there any way how to destroy old engine VM to add host back to work ?



Thank you
_______________________________________________
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/DLRLQ43X5UN7YSMOEQHRJFLJKLDS65XV/