Home Lab Off-Host Backup Device
-
@DustinB3403 said:
So virtualize the storage server and build a CentOS VM off of that. Not that it's odd, but seems odd just saying it.
What would happen in the event that the XenServer OS goes tits up? The only backup I'd have, would be if I cloned the USB Drive prior to "production".
How is the VM Array protected in this case?
This is your backup repository. The same could be said if you were using a Drobo - what happens if the Drobo mobo dies?
-
@DustinB3403 said:
So virtualize the storage server and build a CentOS VM off of that. Not that it's odd, but seems odd just saying it.
What would happen in the event that the XenServer OS goes tits up? The only backup I'd have, would be if I cloned the USB Drive prior to "production".
How is the VM Array protected in this case?
This is your backup repository. The same could be said if you were using a Drobo - what happens if the Drobo mobo dies?
There was a discussion recently, can't recall here or SW, where someone asked if the boot setup died, how do I recover my software based RAID. Assuming the drives are still good, when you reinstall the OS that created the RAID, you should be able to import the RAID back into the system with no data loss. -
@DustinB3403 said:
What would happen in the event that the XenServer OS goes tits up?
Bad question to ask, sort of. This is a good thing to consider, of course, BUT the question is leading. It leads us to mentally jump to "XS introduces risk!!", but we know that it doesn't. One of the key reasons that we "always virtualize" is because it explicitly reduces risk. So instead of asking the question based on "what if this unlikely scenario plays out", instead ask "is reliability important?" If the answer is yes, then XenServer is a far better choice than not XenServer, right?
Step back to the goal level. Reliability is the goal. So ask which approach is more reliable. Don't focus on an unlikely failure mode.
That's like saying you need to drive two cars across the country. And someone says "well, you could fly." Don't say "what if the plane crashed", because that leads you to emotionally panic. When, if you look at the math, you know that two people on one plane is still far safer than driving separately over that distance. Looks at the resulting safety to avoid an unnecessary emotional reaction to easier perceived risks.
On this chart: http://mangolassi.it/topic/6294/cognitive-biases-cause-bad-decisions
What the XenServer failing risk is is called "salience #16"
-
@Dashrender said:
This is your backup repository. The same could be said if you were using a Drobo - what happens if the Drobo mobo dies?
There was a discussion recently, can't recall here or SW, where someone asked if the boot setup died, how do I recover my software based RAID. Assuming the drives are still good, when you reinstall the OS that created the RAID, you should be able to import the RAID back into the system with no data loss.I prefer to clone my running state USB.. but that's just my thinking.
-
@DustinB3403 said:
How is the VM Array protected in this case?
RAID 10 via the same MD software RAID system you would use with any Linux, Xen or KVM platform. As determined by your stated requirements in the OP.
-
@Dashrender said:
what happens if the Drobo mobo dies?
I really hope that when you open one of those up that their hardware revision is called Bobo and the board has a big label that says Drobo Bobo Mobo on it.
-
There actually are cases where you would not virtualize a file server, but not at this scale or type. Typically it would be massive systems where you are doing special case stuff like massive physical scale, Gluster, CEPH, etc.
-
@DustinB3403 said:
@Dashrender said:
This is your backup repository. The same could be said if you were using a Drobo - what happens if the Drobo mobo dies?
There was a discussion recently, can't recall here or SW, where someone asked if the boot setup died, how do I recover my software based RAID. Assuming the drives are still good, when you reinstall the OS that created the RAID, you should be able to import the RAID back into the system with no data loss.I prefer to clone my running state USB.. but that's just my thinking.
I definitely agree - saves you from having to start over, not that it's that big a deal if you do.
-
So the recommended solution is setup another XenServer host with this box, and build a VM that has full access to the RAID 10.
I'm curious, how would I build the array on a VM, since I don't have a hardware RAID controller to do it at the Host level.
-
You would configure the RAID 10 using XenServer's gui at the Hypervisor level...
Then just install the File Server VM as a regular single disk vm.
-
@DustinB3403 said:
So the recommended solution is setup another XenServer host with this box, and build a VM that has full access to the RAID 10.
I'm curious, how would I build the array on a VM, since I don't have a hardware RAID controller to do it at the Host level.
No, do nothing of the sort. This is what I call "being weird." I can't define it but you can feel it. In SE it's called "smelling bad."
Why are you doing anything abnormal here? Install XenServer on a RAID 10 array, make a VM. Done. Never give VMs access to make RAID arrays. That's fundamentally not how virtualization is meant to work.
-
@dafyre said:
You would configure the RAID 10 using XenServer's gui at the Hypervisor level...
Then just install the File Server VM as a regular single disk vm.
Exactly. Same way you would do this in any other instance. The problem comes, I assume, but feeling like this is a special case ... but it is not. It is just a normal VM on a normal hypervisor doing a normal task. Treat it like an normal VM.
-
OK than how do you build the Software Array at the host level using XenServer? Any guides I can follow?
-
@DustinB3403 said:
OK than how do you build the Software Array at the host level using XenServer? Any guides I can follow?
Identical to normal CentOS, as you will be doing it from the CentOS CLI.
Here are some guides:
https://blog.linuxnet.ch/xenserver-software-raid/
https://major.io/2012/01/16/xenserver-6-storage-repository-on-software-raid/ -
@scottalanmiller said:
@dafyre said:
You would configure the RAID 10 using XenServer's gui at the Hypervisor level...
Then just install the File Server VM as a regular single disk vm.
Exactly. Same way you would do this in any other instance. The problem comes, I assume, but feeling like this is a special case ... but it is not. It is just a normal VM on a normal hypervisor doing a normal task. Treat it like an normal VM.
Uh, I don't know about Dustin, But I've never used a hypervisor to make the array, I've always used hardware to make the array, and the hypervisor sees what the hardware presents as a single large disk.
-
@Dashrender said:
Uh, I don't know about Dustin, But I've never used a hypervisor to make the array, I've always used hardware to make the array, and the hypervisor sees what the hardware presents as a single large disk.
Maybe because you are coming from the VMware world where that is the only option? The lack of enterprise software RAID is unique to VMware.
-
@scottalanmiller said:
@Dashrender said:
Uh, I don't know about Dustin, But I've never used a hypervisor to make the array, I've always used hardware to make the array, and the hypervisor sees what the hardware presents as a single large disk.
Maybe because you are coming from the VMware world where that is the only option? The lack of enterprise software RAID is unique to VMware.
But you wouldn't use MS's software RAID either, right?
-
@Dashrender said:
But you wouldn't use MS's software RAID either, right?
No, but that's a unique case in software RAID.
-
Well, that's two of the three common hypervisors that don't have viable software RAID solutions.
It's easier to say that only XenServer has this function, than to say the others don't.
-
@Dashrender said:
It's easier to say that only XenServer has this function, than to say the others don't.
I suppose. Except it is XenServer and KVM that have full enterprise software RAID and if you are on HyperV and don't have hardware then this is what you do regardless, so effectively it has it in the same way that Windows does. It's uniquely VMware that lacks software RAID conceptually.
People do HyperV software RAID quite commonly and Microsoft is pushing it hard. That's the entire drive behind Storage Spaces and Storage Spaces Direct.