[ovirt-users] Re: Reimport VMs after lost Engine with broken Backup

2020-01-31 Thread Vinícius Ferrão
Hello, sorry to bump the thread. But I was able to recover the backup, but it 
ended in a non usable state.

The process was reinstall a host from the DVD. Create a new NFS share to the 
new hosted engine and do the ovirt-hosted-engine-setup procedure. After the new 
engine is up, I’ve connected to it via SSH and run engine-backup to restore my 
old backup. After that the engine is up, but this new engine does not knows he 
is hosted and the interface still shows the old one down.

So right now, all my VM’s are running on ovirt2 and in ovirt1 there’s the new 
hosted engine. On the interface the old still appears:

[cid:ED7E1C25-5358-4313-9D57-3BA6A517A5AB]

The ovirt1 host can’t join since it complains about SSL Errors:

VDSM ovirt1 command Get Host Capabilities failed: General SSLEngine problem, 
and the status is unassigned. I can’t do nothing on it:

[cid:AB09EFB4-73DA-49A1-ACBB-CB1ADFEED7E5]

So… I’m still considering recreating everything from the ground, the real issue 
will be re adding the VMs. So the original question is still valid: What 
happens if I just add the ovirt2 machine to the new engine? It will reboot or 
will add everything back: storage, networks etc?

Thanks,
Vinícius.

On 29 Jan 2020, at 15:20, Vinícius Ferrão 
mailto:fer...@versatushpc.com.br>> wrote:

Hello,

I’m with a scenario with a lost hosted-engine. For reasons unknown the backup 
is broken and I’ve tried everything: redeploy with backup file, deploy a new 
one and them restore the backup. Changed the HE storage domain in both cases 
just be sure. Reinstalled one of the hosts just to be safe but nothing worked.

So I just deployed a brand new engine and now I want to import back the VM’s.

My scenario right now is:

ovirt1 brand new with the new VM in a new storage domain.
ovirt2 have production VMs running without any issue.

So my questions right now:
* What happens if I just add the ovirt2 machine to the new engine? It will 
reboot or will add everything back: storage, networks etc?

My plan right now would be:
* Reconfigure the DC and the cluster.
* Readd all the networks.
* Reattach the storage domains.
* Recreate all the VM”s attaching it’s disks.

Is there’s something that I can do better to mitigate the work?

Thanks,

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IBAOGK75KI4SJR4JGTLM2ZJRPPQDEZQF/


[ovirt-users] Re: Reimport VMs after lost Engine with broken Backup

2020-01-31 Thread Vinícius Ferrão
Once again bumping my own thread. I came across this link:

https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain.html

So it’s say that the VM metadata is stored in OVF_STORE. Which is awesome.

But in my case right now, the VM’s are running. So I need to properly shutdown 
them (I can SSH to all of them and them issue power off).

But I can’t detach the storage from the broken engine.

* Is it safe to just attach the storage domain on the brand new engine? If it 
fails there’s a way to recover from this?

Thanks.

On 31 Jan 2020, at 14:22, Vinícius Ferrão 
mailto:fer...@versatushpc.com.br>> wrote:

Hello, sorry to bump the thread. But I was able to recover the backup, but it 
ended in a non usable state.

The process was reinstall a host from the DVD. Create a new NFS share to the 
new hosted engine and do the ovirt-hosted-engine-setup procedure. After the new 
engine is up, I’ve connected to it via SSH and run engine-backup to restore my 
old backup. After that the engine is up, but this new engine does not knows he 
is hosted and the interface still shows the old one down.

So right now, all my VM’s are running on ovirt2 and in ovirt1 there’s the new 
hosted engine. On the interface the old still appears:



The ovirt1 host can’t join since it complains about SSL Errors:

VDSM ovirt1 command Get Host Capabilities failed: General SSLEngine problem, 
and the status is unassigned. I can’t do nothing on it:



So… I’m still considering recreating everything from the ground, the real issue 
will be re adding the VMs. So the original question is still valid: What 
happens if I just add the ovirt2 machine to the new engine? It will reboot or 
will add everything back: storage, networks etc?

Thanks,
Vinícius.

On 29 Jan 2020, at 15:20, Vinícius Ferrão 
mailto:fer...@versatushpc.com.br>> wrote:

Hello,

I’m with a scenario with a lost hosted-engine. For reasons unknown the backup 
is broken and I’ve tried everything: redeploy with backup file, deploy a new 
one and them restore the backup. Changed the HE storage domain in both cases 
just be sure. Reinstalled one of the hosts just to be safe but nothing worked.

So I just deployed a brand new engine and now I want to import back the VM’s.

My scenario right now is:

ovirt1 brand new with the new VM in a new storage domain.
ovirt2 have production VMs running without any issue.

So my questions right now:
* What happens if I just add the ovirt2 machine to the new engine? It will 
reboot or will add everything back: storage, networks etc?

My plan right now would be:
* Reconfigure the DC and the cluster.
* Readd all the networks.
* Reattach the storage domains.
* Recreate all the VM”s attaching it’s disks.

Is there’s something that I can do better to mitigate the work?

Thanks,


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BB3PVCLBE66C3GKURW46AFKZML2HTE6L/