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] iSCSI and LVM

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] iSCSI and LVM
From: Serge Fonville <serge.fonville@xxxxxxxxx>
Date: Mon, 14 Jun 2010 17:53:27 +0200
Delivery-date: Mon, 14 Jun 2010 08:55:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=eNG8dxSFJ3RT+PWquN9bX1V4iO0mhYdbmOyDcXI895M=; b=uhl9YQTI66PP85ROyrR6r1IUVLDOoHXgmdZjfkLo/5iryH7NIe9XkPF8zOTGJm2F3E pLcBNBxLOBNgGMARlctQv43ukgPYGpUx5hhFwiNsNitGlEKIXHwMd5IhIllcaSeKu1hx TMJKkH+/uKi+Iu40ru7WfgR7HAvMmdnmCzmfg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=GJu45UT9U+lznpzKTTKl5KDYtPXrsgI2LA1s+JOtHyk/04lOW78Zvte2e8UBeiiT06 JFIfPcFcU1j/XO7YBRbgQo/dxcyLl0ZJd4l+7VgBziq6hVGpOaZDsuKDOALY17qkUGw9 JzL0PP3rXBTu6kecf3ksAfRdCzM0Yuqv5Xa1M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <46C13AA90DB8844DAB79680243857F0F06207C@xxxxxxxxxxxxxxxxxxx>
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: <46C13AA90DB8844DAB79680243857F0F062078@xxxxxxxxxxxxxxxxxxx> <1276528151.5069.6.camel@xxxxxxxxxxxx> <46C13AA90DB8844DAB79680243857F0F06207C@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi

>> I am going to get a storage server which will be connected to my Xen
>> hosts via iSCSI/Ethernet. I wish to use LVM for the DomU disks. The
>> storage server will have a RAID10 array, and 2 Xen hosts will connect
>> to this (Each will have a 50% share of the RAID10 array, space wise).
>>
>> What is the best way to go about this? Should I:
>>
>> a) Split the RAID10 array into 2 partition on the storage server, and
>> export 1 partition to each xen host, then let the Xen host manage LVM?
>>
>> or
>>
>> b) Do all LVM stuff on the storage server and export each LVM logical
>> volume to the correct Xen hosts via iSCSI? Since each host could have
>> around 100 VMs on it, that's a lot of iSCSI exporting!
>>
> If you export two "big luns" and do the LVM stuff on each Xens server
> you will not be able to "switch" a VM from one server to the other (with
> xm save/restore for example). With that setup a VM can only be started
> on a specific server. Also you will have two LVM sets to manage.
>
> If you do all the storage management on your SAN migrate a VM from one
> server to the other will be easy and even done "live". Also the storage
> management will be "unified". The only problem could be the maximum
> number of iSCSI Luns on yours SAN, but it often is greater than 127
> distinct units.
>
> Ok thanks for the advice. So I think I shall go down the root of doing all
> LVM stuff on the SAN.
>
> However, I think that I will need more than 127 virtual machines, so having
> an iSCSI target per VM is probably not an option. Is there any other
> solution for Ubuntu/Debian?

Would it be an option to have one iSCSI target, used by multiple
clients where only one clients accesses a directory at a time??
that way it would be way easier to mgrate a vm from one host to another.

HTH

Regards,

Serge Fonville

-- 
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923&hl=en

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>