So Xen Server gave me an error / what do i do
-
-
Your vms are on the hardware raid.
Just install a clean xs to your USB/sd and introduce the xe Sr to the host.
DON'T CREATE A SR DURING INSTALLATION.
-
-
@DustinB3403 let me read that
-
@Dashrender honestly I wish VMWare would open source some of their code because there are plenty of times where they have definitely made an awesome tool or resource or process but then it’s closed to them and people have to make alternative attempts to emulate what they do in your preferred platform.
-
@krisleslie said in So Xen Server gave me an error / what do i do:
@Dashrender honestly I wish VMWare would open source some of their code because there are plenty of times where they have definitely made an awesome tool or resource or process but then it’s closed to them and people have to make alternative attempts to emulate what they do in your preferred platform.
I really think you should try KVM. I think you'd find that it is SO easy. These days with Fedora 30 and virt-manager, for a small environment, it's very hard to beat. Xen is great, but this is harder than necessary.
-
@scottalanmiller it's harder because this environment was setup incorrectly.
-
Maybe I'm not thinking this through, but it there any circumstance where you'd use a flash drive as a disk on a hypervisor? If you want to spin up new VMs in different places then just use vagrant and/or bash scripting to build and destroy on the fly. I have vagrant VMs fully scripted on KVM and they take less then 2 minutes to fully boot up and script. I can also destroy whenever I want.
-
@IRJ could you yes, but I wouldn’t do it like that. It might not make it for a year. But new flash drives improve yearly. There are some now that offer ssd like speed.
-
@DustinB3403 well buddy what’s a suggested setup?
-
@IRJ i would like to know more about your spin up process
-
@krisleslie said in So Xen Server gave me an error / what do i do:
@DustinB3403 well buddy what’s a suggested setup?
OBR10 with the hypervisor installed on a partition of that OBR10.
Assuming of course Winchester drives.
-
@IRJ also if you think about that if the read and write speeds are slow that could take quite a while to accomplish.
-
@DustinB3403 said in So Xen Server gave me an error / what do i do:
@krisleslie said in So Xen Server gave me an error / what do i do:
@DustinB3403 well buddy what’s a suggested setup?
OBR10 with the hypervisor installed on a partition of that OBR10.
Assuming of course Winchester drives.
OBR10 makes sense with spinning rust but in this day and age it feels like you have to have a good reason to use spinners.
RAID 1 with larger drives are more reliable than RAID 10 and single drives comes in up to 16TB sizes. SSDs are much, much faster than spinners so any workload that needs speed should run on SSDs.
We put one RAID1 with SSDs and if needed another RAID1 with spinning rust on our hosts. Then you get the best of both worlds - for the least amount of money that is.
-
@Pete-S said in So Xen Server gave me an error / what do i do:
RAID 1 with larger drives are more reliable than RAID 10
RAID 1
with larger drivesare more reliable than RAID 10No need for the qualification.
-
@Pete-S said in So Xen Server gave me an error / what do i do:
We put one RAID1 with SSDs and if needed another RAID1 with spinning rust on our hosts. Then you get the best of both worlds - for the least amount of money that is.
Unless you need more capacity, then commonly RAID 1 with SSD and RAID 6 or 10 with spinners.
-
With all hypervisors, I drop a small standard SATA drive in it and install the hypervisor there.
Then I add the RAID array separately.
Sometime I’ll have a R1 for that drive, often I will not. But, I make sure to have the metadata saved on the main RAID array, as well as backed up.
-
@scottalanmiller said in So Xen Server gave me an error / what do i do:
@Pete-S said in So Xen Server gave me an error / what do i do:
RAID 1 with larger drives are more reliable than RAID 10
RAID 1
with larger drivesare more reliable than RAID 10No need for the qualification.
Thanks, but it wasn't qualification as such. Just pointing out the use case of needing X amount of storage and then buying four X/2 sized drives to get to RAID10, instead of two X sized drives and running RAID 1.
-
Morning fellas, following back up with everyone. I have successfully updated to XCP-NG 8.0 release for the hypervisor on my affected server. I have swapped out the flash drive (still don't think it had a memory issue, just think there was some corruption of the file system) and used a brand new flash drive (128 Gb as the location I install the hypervisor to. I was able to get back to my data on the SR.
So to mitigate this from happening again, I have cloned the flash drive, backed up the metadata properly in 2 locations and confirmed my backups are running fine. I have also moved the logs to a Linux logging server.
What I will say is that I wasted 3 hours because the commands I had to run had only 1 critical mistake the guides below didn't explain. Other than that, things are getting back to normal. I thank everyone who participated in helping me and I appreciate you.
Resources:
https://support.citrix.com/article/CTX136342#Restoring the Mappings
https://support.citrix.com/article/CTX136342 -
So I do have one question because I did actually backup the metadata (originally). It was backed up to the local drive (aka the Flash Drive). How can I take a peek at that data? I tried putting the usb drive into my windows 10 pc and that yield no results. I see about 5-7 partitions.