Thank god this is just a what if question. I am using XCP-NG and Freenas in my lab (works great), I am also using it at a few customers in the same format. My question is, and I may be thinking about this too in depth but how would you recover from a failed host? My VMs are all stored on the freenas box except for XOA, idk why but I like to run it on whatever little local storage I have on the host.
So my question is really, if the host fails is it just a matter of
- Installing xcp again,
- Mounting the ISCSI volume (without formatting, oh jeeze don’t format it James! baddd)
- Import the VM???
- Create new vm and attach storage from the old VM?
Do I need to be backing up the metadata from the host?
I have been using BackupNG to backup production VMs to an NFS share on the freenas box, so i assume i could also just
- Install xcp again
- Install XOA
- Re map the nfs share with the backups
- use BackupNG to restore the VMs
I hope this makes sense.