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-api

RE: [Xen-API] RE: Questions about the api

To: Julian Chesterfield <Julian.Chesterfield@xxxxxxxxxxxxx>
Subject: RE: [Xen-API] RE: Questions about the api
From: Tomoiaga Cristian <cristi@xxxxxxxxxxx>
Date: Sat, 23 Oct 2010 12:20:06 +0300
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 23 Oct 2010 02:21:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4FA716B1526C7C4DB0375C6DADBC4EA38D7FDB1376@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <4C16BD5DB91CF44292D2145E0D5237351CF3AA1180@baseex> <4FA716B1526C7C4DB0375C6DADBC4EA38D7FDB12A8@xxxxxxxxxxxxxxxxxxxxxxxxx> <4CC077B8.1090105@xxxxxxxxxxxxx> <4C16BD5DB91CF44292D2145E0D5237351CF3AA1198@baseex> <4FA716B1526C7C4DB0375C6DADBC4EA38D7FDB1376@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActxRRO61G0e1HTySsi3lxu8OpzGjgABp12gADDCcqAAIS4JYA==
Thread-topic: [Xen-API] RE: Questions about the api
> Not sure I understand. You only need to export via iscsi when someone tries 
> to attach the snapshot or clone.

>Thanks,
>Ian

Yes, that's the way I do it right now, except for the snapshots. A snapshot 
can't be attached, don't really see a point right now, in XenServer you can 
only delete and clone a snap.
When you create a snapshot on my SR you will get a VDI that you can delete or 
clone just like in XenServer.
I've seen others (Netapp for example) creating a clone (double snapshot) when 
you vdi-snap or vdi-clone. An actual ZFS (and most likely Netapp) snapshot 
can't be exported unless you clone it.

>> Right now I am stuck with allowing all initiators in one pool to see 
>> all the luns in that pool.

>Hmm, that's a bit poor. 
>One approach is to hack the dom0 linux iscsi initiator to allow it to use 
>multiple initiator Ids at the same time (e.g. one per VM its performing IO 
>for). I think this is a relatively simple hack.
>Kinda like NPIV for iSCSI...

I am not sure if that solves the initial problem, except maybe if I create an 
initiator id for each lun, but that would be too much I believe. 
Currently I need a way to know the local disk path of a lun before I actually 
attach it and with the (currently missing) unique serial that would have been 
ok.
I will take a look at Nexenta, maybe I can add that functionality in the API 
especially since from the command line I can set a serial for a lun anytime.


>> Exclusion would have been good :(
>> Interested in that comparison also (with Comstar).

>Does the Solaris target support SCSI3 Persistent Reservations?
>Ian

The default scsi implementation (not COMSTAR) does support SCSI3 PR, however 
that implementation is too slow to work with (missing writeback cache for 
example).
The COMSTAR implementation also has support for it, at least in OpenSolaris 
(http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6795089). I will 
have to check on Nexenta.

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api