Xenserver and Storage
-
@jrc said in Xenserver and Storage:
Ok, let me take a step back here.
On the Host you install a VSAN controller VM, you then attach storage to this VM which it will then use as it's VSAN storage space and map that over to the host via iSCSI. Am I correct so far?
Allright, so with Xenserver, the max attached VHDs would be 16, at 2Tb each. And since this VSAN VM is to be used to home all your VMs on the host, you'd need it to have a fair bit of space. So having roughly a 32Tb limit could be a problem. Does this mean you'd need to have a second VSAN VM in that host, therefore upping that limit to 64Tb? And does the VSAN OS handle spanning the data across all 16 VHDs?
Where are you getting your limits from? I literally just posted them and did the math on what you could provide as storage to a single VM.
-
@dustinb3403 said in Xenserver and Storage:
@jrc said in Xenserver and Storage:
Ok, let me take a step back here.
On the Host you install a VSAN controller VM, you then attach storage to this VM which it will then use as it's VSAN storage space and map that over to the host via iSCSI. Am I correct so far?
Allright, so with Xenserver, the max attached VHDs would be 16, at 2Tb each. And since this VSAN VM is to be used to home all your VMs on the host, you'd need it to have a fair bit of space. So having roughly a 32Tb limit could be a problem. Does this mean you'd need to have a second VSAN VM in that host, therefore upping that limit to 64Tb? And does the VSAN OS handle spanning the data across all 16 VHDs?
Where are you getting your limits from? I literally just posted them and did the math on what you could provide as storage to a single VM.
Xenserver has a limit of 16 VHDs per VM, I know this from experience and it is buried in their docs. I think the 255 you mention is for pure Xen, which I am not running.
EDIT: Apparently the 16 VHD limit is a Xenserver 6.5 and earlier thing. Xenserver 7 is 255. I need to upgrade to 7....
-
Look at this link.
255 disks per VM, with a maximum of 4096 disks per host at the limits. Not 16.
-
@jrc said in Xenserver and Storage:
EDIT: Apparently the 16 VHD limit is a Xenserver 6.5 and earlier thing. Xenserver 7 is 255. I need to upgrade to 7....
Yeah you'd better.
-
Which means you can have an absolutely insane amount of storage space attached to the VSAN VM, and then pass that out to your other guests.
@scottalanmiller do any single server units support up to 521,220 TB worth of raw space?
-
@jrc said in Xenserver and Storage:
@dustinb3403 said in Xenserver and Storage:
@jrc said in Xenserver and Storage:
Ok, let me take a step back here.
On the Host you install a VSAN controller VM, you then attach storage to this VM which it will then use as it's VSAN storage space and map that over to the host via iSCSI. Am I correct so far?
Allright, so with Xenserver, the max attached VHDs would be 16, at 2Tb each. And since this VSAN VM is to be used to home all your VMs on the host, you'd need it to have a fair bit of space. So having roughly a 32Tb limit could be a problem. Does this mean you'd need to have a second VSAN VM in that host, therefore upping that limit to 64Tb? And does the VSAN OS handle spanning the data across all 16 VHDs?
Where are you getting your limits from? I literally just posted them and did the math on what you could provide as storage to a single VM.
Xenserver has a limit of 16 VHDs per VM, I know this from experience and it is buried in their docs. I think the 255 you mention is for pure Xen, which I am not running.
EDIT: Apparently the 16 VHD limit is a Xenserver 6.5 and earlier thing. Xenserver 7 is 255. I need to upgrade to 7....
Ah good, so not perfect, but there is a solution. Made VDIs to one VM is just like small LUNs in the SAN world. Annoying, but fine.
-
@dustinb3403 said in Xenserver and Storage:
@scottalanmiller do any single server units support up to 521,220 TB worth of raw space?
With DAS units, maybe. Some things like large Oracle and IBM chassis can have a single server spanning dozens of racks. So... it's theoretically possible.
-
@dustinb3403 said in Xenserver and Storage:
@dbeato You can completely skip Windows and use the Linux VSAN controllers.
https://www.starwindsoftware.com/announcing-new-linux-based-starwind-virtual-storage-appliance-video
Any idea on how I can download this? When I try all I can seem to find is the Windows installer.
-
@jrc said in Xenserver and Storage:
@dustinb3403 said in Xenserver and Storage:
@dbeato You can completely skip Windows and use the Linux VSAN controllers.
https://www.starwindsoftware.com/announcing-new-linux-based-starwind-virtual-storage-appliance-video
Any idea on how I can download this? When I try all I can seem to find is the Windows installer.
Use the request demo portion here.
Otherwise I'd hit up the folks @StarWind_Software to point you in the right direction.
-
Additionally @Oksana might be able to point you into the right direction.
-
@dustinb3403 said in Xenserver and Storage:
@jrc said in Xenserver and Storage:
@dustinb3403 said in Xenserver and Storage:
@dbeato You can completely skip Windows and use the Linux VSAN controllers.
https://www.starwindsoftware.com/announcing-new-linux-based-starwind-virtual-storage-appliance-video
Any idea on how I can download this? When I try all I can seem to find is the Windows installer.
Use the request demo portion here.
Yeah, I did. It just send me the link to the Windows installer.
Otherwise I'd hit up the folks @StarWind_Software to point you in the right direction.
I'll give that a go.
-
Hmm I see alot of Vsan advice which is the correct way to go, but I also wonder cant he do a simple thing like GlusterFS VM ? as well ? will that work in this case, and be simpler route ?
-
@emad-r said in Xenserver and Storage:
Hmm I see alot of Vsan advice which is the correct way to go, but I also wonder cant he do a simple thing like GlusterFS VM ? as well ? will that work in this case, and be simpler route ?
Yes and No. Would it work, yes. Would it be easier to manage and maintain and setup, no. @olivier can speak more to GlusterFS.
-
@emad-r said in Xenserver and Storage:
Hmm I see alot of Vsan advice which is the correct way to go, but I also wonder cant he do a simple thing like GlusterFS VM ? as well ? will that work in this case, and be simpler route ?
GlusterFS is still RLS, the advice is not really to use a VSAN, but to use RLS. People used to be sloppy and use VSA to refer to RLS, now they use VSAN. Neither is correct as RLS is more than any one connection technology.
GlusterFS will work here, but it requires more nodes and is not practical at this scale. It would be slow and problematic. No advantages that I can think of.
-
Gluster on 2 nodes won't be slow or problematic (which problems?) just a bit complicated without a turnkey deployment method (ie XOSAN).
-
@emad-r said in Xenserver and Storage:
Hmm I see alot of Vsan advice which is the correct way to go, but I also wonder cant he do a simple thing like GlusterFS VM ? as well ? will that work in this case, and be simpler route ?
No simpler if not understood or with a turnkey "layer" on top.
Gluster is not that complicated, but still, you need to grasp some concepts. It's like Xen vs XenServer in short. Second is turnkey and you don't need to get all stuff needed vs learning Xen "alone" on your distro.
-
@olivier official gluster docs say a 2 node config will go readonly if 1 node dies... You need at least an arbiter node afaik
-
@matteo-nunziati This is why we have an extra arbiter VM in 2 nodes setup. I node got 2 VMs (1x normal and 1x arbiter), and the other one just a normal VM.
This way, if you lose the host with one gluster VM, it will still work and you can't have a split-brain scenario.
An arbiter node cost very few resources (it just works with metadata)
-
@olivier said in Xenserver and Storage:
@matteo-nunziati This is why we have an extra arbiter VM in 2 nodes setup. I node got 2 VMs (1x normal and 1x arbiter), and the other one just a normal VM.
This way, if you lose the host with one gluster VM, it will still work and you can't have a split-brain scenario.
An arbiter node cost very few resources (it just works with metadata)
Wow blowing my mind! Always considered physical gluster nodes where gluater was installed on dom0. x-D.
But what if the node w/ volume AND arbiter goes down? I'm still missing this... Is arbiter replicated in any way on the xen nodes? -
Gluster client is installed in Dom0 (the client to access data). But Gluster server are in VMs, so you got more flexibility.
If the node with arbiter goes down, yes, you are in RO. But you won't enter a split brain scenario (which is the worst case in 2 nodes thing).
Eg using DRBD, in 2 nodes in multi-master, if you just lose the replication link, and you wrote on both sides, you are basically f***ed (you'll need to discard data on one node).
There is no miracle: play defensive (RO if one node down) or risky (split brain). We chose the "intermediate" way, safe and having 50% of chance to lose the "right" node without being in RO then.
Obviously, 3 nodes is the best spot when you decide to use hyperconvergence at small scale. Because the usual 3rd physical server used previously for storage, can be also now a "compute" node (hypervisor) with storage, and you could lose any host of the 3 without being in read only (disperse 3).
edit: XOSAN allow to go from 2 to 3 nodes while your VM are running, ie without any service interruption. So you can start with 2 and extend later