WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] XCP Storage

To: Brett Westover <bwestover@xxxxxxxxxxx>
Subject: Re: [Xen-users] XCP Storage
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Mon, 24 Oct 2011 15:15:39 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 24 Oct 2011 15:17:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=aJpm5M2KAe4x7cmVzqqlNNuqeh3Qq4jJJka9dUZ0d7I=; b=Nbz3I9FvspYLjOz9CZsEdeyWMFF5Qj++zbqv3EZKVYLvM1Luo0oMi29/l6nTj7OFmK 5wkH1U7sflMMI5KC8o2iMEmIzetMZZ0xOMFCWfSMPVgwqAF5ubWBOc2/Q4JT8hDafa8g nOszJ1HzhuK+ZqiAKYyI4dxqoq55Ls2roly9M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2B541E71EE131F4F9F04B30362609C4B012381B6@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <2B541E71EE131F4F9F04B30362609C4B01238110@xxxxxxxxxxxxxxxxxxxx> <CAGnmK4w4kgnZhxcZpbMo_BYvuG=bgL9dHy0yfCXM70a+cEMKSA@xxxxxxxxxxxxxx> <2B541E71EE131F4F9F04B30362609C4B012381B6@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Mon, Oct 24, 2011 at 2:50 PM, Brett Westover <bwestover@xxxxxxxxxxx> wrote:

-------------------------------------------------------------------
Very nicely written up how-to, thank you for that. I don’t think we'd necessarily want to use XCP as our iSCSI target though, because we wouldn't really have resources left for multi-purposing the storage machine. It's nice to know how to do it, if we have a use case for that though.

So, using an iSCSI target for shared storage between our 2-3 XCP hosts would be one option. What are the benefits over using and NAS running NFS (which are usually cheaper)?

Also, it seems I am reading that you can enable live migration on an XCP pool without an external storage device at all, using local storage in each host. Is that right?


The write speeds of NFS stink. On my hosts using an iSCSI Software target SR I get about 50% more disk throughput on writes over an NFS SR. Reads are very similar though. Even if you want to use a CentOS machine to create an iSCSI SR you can follow my tutorial, just skip the part on adding the CentOS repos. There are advantages to an iSCSI Hardware target such as speed but they're not a shared SR type. The shared SR types are NFS and software iSCSI targets. Between the two I'd recommend the latter. Setting up the initiator on the XCP host is equally easy for both types and with my tutorial it's fairly easy to set up an iSCSI Target on another machine.

You will want to analyze your disk and network layout for the machine and hosts though. All of the standard hardware performace data applies to an iSCSI target ie. number of disks, RAID levels etc... It would be ideal for your XCP hosts to have dual network cards so that networking data is sent across different cables/switches then the SAN data.

In the past I did performance articles on the speed of Xen file based images vs LVM and I'll be working on some of the same for XCP regarding the various local storage types, iSCSI and NFS. It won't be done for at least a month though.
 

Grant McWilliams
http://grantmcwilliams.com/

Some people, when confronted with a problem, think "I know, I'll use Windows."
Now they have two problems.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>