I have experienced a catastrophic disaster while I tried to upgrade my rack servers. At first it worked very well by using the migration of VMs to the new server then assigning the new server as the master. Then, I decided that it was time to change the DHCP assigned address to take the place of the static ip , replacing the old server. Then all hell broke loose.
the xsconsole no longer saw the pms, yet the vms were still running!
decided to reboot the server to see if it's xsconsole not reading something and a reboot would solved it.
That's when I realized that all my metadata were gone! the vms were gone. the storage repositories were gone.
Yet, I know that the iSCSI repository, which stores all the vms, was still intact by looking at the mount of free vs. total space as presented in TrueNAS Core.
After many tries, I was able to reattach the iSCSI repository to the new server running, of course, xcp-ng. But there were no VMs presented in presented in a new instance of Xen Orchestra (CE). I thought that if there's a way to restore the meta-data for XO config and XO backup, I would be able to restore everything. The data has been downloaded off TrueNAS and into my MacBook Pro. It seems that these strategies aren't working.
I googled around to find out best practice or solutions to no avail.
I hope that you can help me please! These VMs are business critical. If someone can help me, the business won't be burning come Monday morning.