[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] RAID-1 strategy for a Xen/CentOS server?

  • To: "Tom Brown" <xensource.com@xxxxxxxxxxxxxxxxxxx>
  • From: "Bob Tomkins" <bob.r350@xxxxxxxxx>
  • Date: Fri, 7 Dec 2007 11:42:24 -0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 07 Dec 2007 11:43:11 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=toYEGbHyE0D4ClXiKYzdI3LBWnguHdvtEs08noAPJw5vBpkG5+ye42/OctXbmbIF1D5sMeNoYqq9GOgPQyt6fmDH2A7lg4vMFUalhI5CexWcB+eSNEr9RJX6drUqgoGmB8SGFNdW5iiHSD3fvcjiWHfMxPocQh+4Zc6sDVN3QOM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Tom,

because vbd are slower than "real-world" devices, I believe you want to
move the mirroring into dom0, so that the domU's aren't sending the same
data through the hypervisor twice... beyond that, all the rules are the
same as they would be in a non-XEN config. (This just makes plain sense,
there's less work to be done.)

There may be situations where it makes more sense to do the raid in the
domUs, but you listed "optimize performance".

Thanks for the reply.

Yes, performance is my primary concern, at least during my planning.  (One DomU
 will consist of Zimbra/CentOS, which I understand to be an I/O hog, so I'm trying to remove what bottlenecks I can> It still remains to be seen, but Zimbra *itself* may be on eo fthose bottleneck that gets removed.)

As for moving the mirroring into DomU, generally, I've been slowly coming to the same conclusion.

Am I correct in my understanding that each DomU contains an instance of OS/kernel + app binaries in it's own virtual volume/file space, but that *data* (effectively, *any* dynamic content) is written by the DomU processes to/from the Dom0 hypervisor's volume/file space?

How about swap?  Dom0 of course has its swap -- and could/should be RAIDed, but what about  GuestOS' swap?  I honestly haven't gotten that far yet ....

And, if DomU hosts the RAID mirror, what's the recommended file system choice -- or is that dicated by Xen as a preference (I haven't got to that either yet ...)


Bob Tompkins
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.