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] Re: Xen + SAN

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: Xen + SAN
From: Matthew Wild <Matthew.Wild@xxxxxxxxxx>
Date: Fri, 24 Jun 2011 15:04:34 +0100
Delivery-date: Fri, 24 Jun 2011 18:22:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E03AA75.40905@xxxxxxxxxxxxxxxx>
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: <iu07sj$fld$1@xxxxxxxxxxxxxxx> <sig.41555c2bb0.BANLkTi=ErVfQ3REzbMvbCs1n5JuyDeoaXA@xxxxxxxxxxxxxx> <4E03AA75.40905@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Lightning/1.0b2 Thunderbird/3.1.10
On 23/06/11 22:04, Shaun Reitan wrote:

iSCSI and AOE export the storage as raw block devices to the
hypervisors - which basically act the same as local storate (i.e. SATA
/ SAS HDD's in the server) so you then either need to partition the
iSCSI LUN the same way as you do with local drives, or the easier way
is to use LVM to "slice" it up and then use LVM volumes for the domU
virtual machines




I don't know about AOE but with ISCSI the problem I'm seeing is that if
i create a volume group on the SAN there is no way to export that volume
group. I could export the device that the volume group was created on
but then the host doesn't see that VG. I'm assuming i would need to use
clustered LVM for that which i have been told to stay far away from.
Another option was to carve out the LV's on the SAN and to export each
LV to the initiators but still the problem is that the host assigns
these luns to /dev/sd devices and there's no simple nice way to map them
to who owns what disk. Least not that I've found yet. I'm fairly new to
ISCSI though so maybe there's something I'm missing.

~Shaun

Hi Shaun,
I've not kept up with what Linux distro. you're using, but the various udev rules tend to give persistent naming of devices under the /dev/disk/by-<id|path|uuid> directories.

For example, in /dev/disk/by-path on one of my Xen dom0's I can see

ip-10.0.0.1:3260-iscsi-iqn.2005-09.uk.ac:storage.hinode-ops-lun-0
ip-10.0.0.1:3260-iscsi-iqn.2005-09.uk.ac:storage.hinode-ops-lun-0-part1
ip-10.0.0.1:3260-iscsi-iqn.2005-09.uk.ac:storage.hinode-ops-lun-0-part2
ip-10.0.0.1:3260-iscsi-iqn.2005-09.uk.ac:storage.stereo-ext-lun-0
ip-10.0.0.1:3260-iscsi-iqn.2005-09.uk.ac:storage.stereo-ext-lun-1
ip-10.0.0.1:3260-iscsi-iqn.2005-09.uk.ac:storage.ukssdc-helpdesk-lun-0
ip-10.0.0.1:3260-iscsi-iqn.2005-09.uk.ac:storage.ukssdc-helpdesk-lun-1

I then use these paths in the vm config file. This is then independent of the order I login to the iscsi devices.

Matthew
--
Matthew Wild                       Tel.: +44 (0)1235 445173
Matthew.Wild@xxxxxxxxxx                    URL http://www.ukssdc.ac.uk/
UK Solar System Data Centre and
World Data Centre - Solar-Terrestrial Physics, Chilton
Rutherford Appleton Laboratory, Chilton, Didcot, Oxon, OX11 0QX

--
Scanned by iCritical.

Attachment: Matthew_Wild.vcf
Description: Vcard

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>