2 RAID 1 or 1 RAID 10 for VM Server Host
-
I'd recommend hardware RAID over MDADM, the system should be fast enough if you aren't already 100% certain on what performance metrics you need to hit.
First create your installation target for the hypervisor on your HDD's, simply raid 1 will be fine.
Create a second array from on your server using the SSD's (raid5 might be a better option for you).
Install XenServer (you likely don't want to install XEN) onto this array.
During the installation process you'll be asked what storage you want to use to store your VM's. Choose the SSD array.
Proceed from here.
-
@dustinb3403 said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
Create a second array from on your server using the SSD's (raid5 might be a better option for you).
Since when can you make a RAID5 with 2 drives?
Install XenServer (you likely don't want to install XEN) onto this array.
If he already uses CentOS 7 /RHEL / Fedora, then just use KVM.
-
@jaredbusch said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@dustinb3403 said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
Create a second array from on your server using the SSD's (raid5 might be a better option for you).
Since when can you make a RAID5 with 2 drives?
Install XenServer (you likely don't want to install XEN) onto this array.
If he already uses CentOS 7 /RHEL / Fedora, then just use KVM.
Doh, yea didn't notice the 2 drive part. haha..
-
What is this VM host will be used for?
You'd want 2 RAID 1, given the drives you have.
NO to RAID 10 with the drives you have.
-
Will be used for web apps, database, and hostings (whm).
Ok so 2 raid 1 it is then.
Is it better to use mdadm / onboard raid IT mode?
Not sure what IT mode means. Any one can help?I use supermicron server board
-
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
so I install the host XEN in ssd with RAID 1? and then add the sata as another raid 1?
How to do it properly?Thanks.
No, you'd install Xen to the slow array, not the fast one.
-
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
Is it better to use mdadm / onboard raid IT mode?
MD is Linux' enterprise software RAID and it is very good.
On board RAID is not at all the same thing and is what you almost always avoid. On board RAID is normally garbage and is most of the time FakeRAID.
-
MDADM is a command line tool for working with MD, it is not itself RAID of any sort.
-
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
- What filesystem I should use on the host? ext4 or LVM? or other?
This will depend completely on the hypervisor that you expect to use. But LVM is not a filesystem, LVM is the LVM and goes on before the filesystem. You would not want EXT4 for any virtualization.
So there isn't enough info here to answer the question. But you always want an LVM, and you never want EXT4.
-
@scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
- What filesystem I should use on the host? ext4 or LVM? or other?
But you always want an LVM, and you never want EXT4.
When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that
-
@tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
- What filesystem I should use on the host? ext4 or LVM? or other?
But you always want an LVM, and you never want EXT4.
When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that
Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.
-
@scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
- What filesystem I should use on the host? ext4 or LVM? or other?
But you always want an LVM, and you never want EXT4.
When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that
Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.
It does it on Server too. I just installed F26 minimal a couple days ago... it's using EXT4. I'm redoing it now ^_^
-
@tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
- What filesystem I should use on the host? ext4 or LVM? or other?
But you always want an LVM, and you never want EXT4.
When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that
Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.
It does it on Server too. I just installed F26 minimal a couple days ago... it's using EXT4. I'm redoing it now ^_^
I think it was using XFS for me. Now I need to check my lab box.
-
@tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
- What filesystem I should use on the host? ext4 or LVM? or other?
But you always want an LVM, and you never want EXT4.
When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that
Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.
It does it on Server too. I just installed F26 minimal a couple days ago... it's using EXT4. I'm redoing it now ^_^
Well then that is just stupid. WTF Fedora.
-
This should do the trick:
-
@scottalanmiller what do u recommend for VM host? Xen ? KVM?
Which one is more stable and more user friendly for windows based user like me?So I do raid 1 for ssd and raid 1 for sata? And where should i install the vm host to? Hopefully u can help me the proper step to setup it properly. Sorry noob here.
Thanks scott
-
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
So I do raid 1 for ssd and raid 1 for sata?
Yes.
-
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
And where should i install the vm host to?
Install it to your 1TB HDD RAID1, not the SSD RAID.
At least with Hyper-V that's the way I'd go, I can only assume it would be the same for KVM and likely Xen. I wouldn't want to waste space on the SSDs for the hypervisor that doesn't do anything.
-
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
Which one is more stable and more user friendly for windows based user like me?
Hyper-V Server 2016 will be the most user friendly out of the box, especially if you are already familiar with it.
Otherwise, I'd suggest KVM. There's a lot of ways to manage it. You can do it remotely via another Linux desktop using Virtual Machine Manager:
-
@kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:
Will be used for web apps, database, and hostings (whm).
Ok so 2 raid 1 it is then.
Is it better to use mdadm / onboard raid IT mode?
Not sure what IT mode means. Any one can help?I use supermicron server board
You want a hardware RAID almost 100% of the time in the SMB.
Unless you really know what you are doing with MD, and it does not sound like you do.
You want a real hardware RAID controller. From the Supermicro site here is a list.
https://www.supermicro.com/products/nfo/storage_cards.cfmI do not know which of those are good or bad though.