* [gentoo-user] Xen with Gentoo as dom0: sw or hw raid?
@ 2016-07-20 16:13 Jarry
2016-07-24 19:39 ` J. Roeleveld
2016-07-25 11:18 ` J. Roeleveld
0 siblings, 2 replies; 5+ messages in thread
From: Jarry @ 2016-07-20 16:13 UTC (permalink / raw
To: gentoo-user
Hi Gentoo-users,
I'm going to build a small server with Xen-hypervisor with
Gentoo as dom0 (if it is possible). Comming from ESXi-world,
there is no choice (only true hw-raid is supported).
But what about Linux? What's preffered way to go? Software-raid
(mdadm), or true hardware raid-controller? I have a few spares
(LSI-9271), these worked quite well with ESXi but I'm not sure
they are supported by Linux at all, and if there is actually
some way of monitoring controller-health...
Concerning sw-raid, I have used it for quite some time, but
never with Xen (is it actually possible?). Moreover, grub-config
for Xen itself is somehow more complicated and sw-raid could add
extra complexity...
So the question is simple. For Xen-server with Gentoo as dom0,
what do you recommend: sofware- or hardware-raid?
Any other general tips concerning Xen (particularly with Gentoo
as dom0)?
Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Xen with Gentoo as dom0: sw or hw raid?
2016-07-20 16:13 [gentoo-user] Xen with Gentoo as dom0: sw or hw raid? Jarry
@ 2016-07-24 19:39 ` J. Roeleveld
2016-07-24 19:48 ` R0b0t1
2016-07-25 11:18 ` J. Roeleveld
1 sibling, 1 reply; 5+ messages in thread
From: J. Roeleveld @ 2016-07-24 19:39 UTC (permalink / raw
To: gentoo-user
On July 20, 2016 6:13:36 PM GMT+02:00, Jarry <mr.jarry@gmail.com> wrote:
>Hi Gentoo-users,
>
>I'm going to build a small server with Xen-hypervisor with
>Gentoo as dom0 (if it is possible). Comming from ESXi-world,
>there is no choice (only true hw-raid is supported).
>
>But what about Linux? What's preffered way to go? Software-raid
>(mdadm), or true hardware raid-controller? I have a few spares
>(LSI-9271), these worked quite well with ESXi but I'm not sure
>they are supported by Linux at all, and if there is actually
>some way of monitoring controller-health...
>
>Concerning sw-raid, I have used it for quite some time, but
>never with Xen (is it actually possible?). Moreover, grub-config
>for Xen itself is somehow more complicated and sw-raid could add
>extra complexity...
>
>So the question is simple. For Xen-server with Gentoo as dom0,
>what do you recommend: sofware- or hardware-raid?
>
>Any other general tips concerning Xen (particularly with Gentoo
>as dom0)?
>
>Jarry
Short answer: if Linux kernel supports it. It will work inside the dom0.
Whatever is best depends in your requirements as linux sw raid can perform better that hw raid.
But. For Xen ensure you dedicate at least 1 core exclusively to dom0. Don't have any of your guests (domU) access the same CPU core as your dom0 uses.
As for grub complexity. I don't find this difficult. And even using UEFI boot for Xen isn't too difficult.
This is based on using either grub1 or EFI. Not using grub2 on any of my Xen machines.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Xen with Gentoo as dom0: sw or hw raid?
2016-07-24 19:39 ` J. Roeleveld
@ 2016-07-24 19:48 ` R0b0t1
2016-07-25 11:04 ` J. Roeleveld
0 siblings, 1 reply; 5+ messages in thread
From: R0b0t1 @ 2016-07-24 19:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 45 bytes --]
I would strongly suggest softraid. And qemu.
[-- Attachment #2: Type: text/html, Size: 67 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Xen with Gentoo as dom0: sw or hw raid?
2016-07-24 19:48 ` R0b0t1
@ 2016-07-25 11:04 ` J. Roeleveld
0 siblings, 0 replies; 5+ messages in thread
From: J. Roeleveld @ 2016-07-25 11:04 UTC (permalink / raw
To: gentoo-user
On Sunday, July 24, 2016 02:48:41 PM R0b0t1 wrote:
> I would strongly suggest softraid. And qemu.
Few requests here:
1) LEARN to quote properly
2) Learn to provide reasons why.
Neither suggestions make sense.
--
Joost
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Xen with Gentoo as dom0: sw or hw raid?
2016-07-20 16:13 [gentoo-user] Xen with Gentoo as dom0: sw or hw raid? Jarry
2016-07-24 19:39 ` J. Roeleveld
@ 2016-07-25 11:18 ` J. Roeleveld
1 sibling, 0 replies; 5+ messages in thread
From: J. Roeleveld @ 2016-07-25 11:18 UTC (permalink / raw
To: gentoo-user
On Wednesday, July 20, 2016 06:13:36 PM Jarry wrote:
> Hi Gentoo-users,
>
> I'm going to build a small server with Xen-hypervisor with
> Gentoo as dom0 (if it is possible). Comming from ESXi-world,
> there is no choice (only true hw-raid is supported).
>
> But what about Linux? What's preffered way to go? Software-raid
> (mdadm), or true hardware raid-controller? I have a few spares
> (LSI-9271), these worked quite well with ESXi but I'm not sure
> they are supported by Linux at all, and if there is actually
> some way of monitoring controller-health...
LSI is generally quite well supported with Linux.
See: https://www.thomas-krenn.com/en/wiki/Smartmontools_with_MegaRAID_Controller
This indicates that LSI cards also provide SMART-data of the disks itself via
smartmontools.
> Concerning sw-raid, I have used it for quite some time, but
> never with Xen (is it actually possible?).
Yes, it is possible. But the reason why software raid can be faster on bare
metal, might no longer be true when using Xen best practices.
Dedicating a limited amount of cores to the dom0 also means that you have less
cores available for the software raid part.
> Moreover, grub-config
> for Xen itself is somehow more complicated and sw-raid could add
> extra complexity...
Using Grub1:
---
title Xen
root (hd0,1)
kernel /xen.gz dom0_mem=4GB,max:4G console=vga dom0_max_vcpus=1 dom0_vcpus_pin
module /kernel-4.1.7-hardened-r1-host softlevel=xen
---
I compile in the initramfs and commandline these days.
But if using a seperate one, simply add an extra "module" line:
---
title Xen
root (hd0,1)
kernel /xen.gz dom0_mem=4GB,max:4G console=vga dom0_max_vcpus=1 dom0_vcpus_pin
module /kernel-3.16.5-gentoo dolvm root=/dev/vg/root rootfstype=ext4
module /initramfs-genkernel-x86_64-3.16.5-gentoo
---
> So the question is simple. For Xen-server with Gentoo as dom0,
> what do you recommend: sofware- or hardware-raid?
>
> Any other general tips concerning Xen (particularly with Gentoo
> as dom0)?
No specific Gentoo-tips, it's actually quite well supported.
If you prefer an appliance-like dom0, you could also look into XenServer.
There is a free-to-use version available. Downside: the graphical management
client is MS Windows only.
--
Joost
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-07-25 11:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20 16:13 [gentoo-user] Xen with Gentoo as dom0: sw or hw raid? Jarry
2016-07-24 19:39 ` J. Roeleveld
2016-07-24 19:48 ` R0b0t1
2016-07-25 11:04 ` J. Roeleveld
2016-07-25 11:18 ` J. Roeleveld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox