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

Re: [Xen-API] How to use iSCSI disk with Xenserver VM


  • To: Rushikesh Jadhav <2rushikeshj@xxxxxxxxx>
  • From: Bob Ball <bob.ball@xxxxxxxxxx>
  • Date: Wed, 14 Aug 2013 21:27:30 +0000
  • Accept-language: en-GB, en-US
  • Cc: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 14 Aug 2013 21:28:03 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHOmQDb4CsKZRvli0em4dQ0v1/lM5mVKqa3///7NYCAABEEDQ==
  • Thread-topic: [Xen-API] How to use iSCSI disk with Xenserver VM

Ah - understood.

The iSCSI SR will of course be logged in while the SR is plugged on the host (through the PBD).

You could potentially use a hook script (create files called vm-pre-start and vm-post-destroy in /etc/xapi.d) to create the SR dynamically, but beyond that there isn't currently a way to only have the iSCSI target logged in when the VM is booted.

Bob


From: Rushikesh Jadhav [2rushikeshj@xxxxxxxxx]
Sent: 14 August 2013 22:22
To: Bob Ball
Cc: xen-api@xxxxxxxxxxxxx
Subject: Re: [Xen-API] How to use iSCSI disk with Xenserver VM




On Thu, Aug 15, 2013 at 2:31 AM, Bob Ball <bob.ball@xxxxxxxxxx> wrote:
Hi,

You can create an SR using the undocumented and unsupported "iscsi" type and set the device config target and targetIQN values - this will set up a single VDI which is a raw lun.


Thanks Bob but I'm looking for a generic way in which I would be storing the LUN info in VM properties other-config (MRW)  or if possible in VBD other config such that whenever VM tries to boot, the hook will login on iSCSI target and pass the device.  I think this needs be handled by blktap rather than XAPI or SMAPI, what you say ?
 
Attach that VDI to a guest and it should be what you're looking for?

Trying to automate it.
 

Thanks,

Bob


From: xen-api-bounces@xxxxxxxxxxxxx [xen-api-bounces@xxxxxxxxxxxxx] on behalf of Rushikesh Jadhav [2rushikeshj@xxxxxxxxx]
Sent: 14 August 2013 16:07
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] How to use iSCSI disk with Xenserver VM

Hello All,

Since normal Xen supports iSCSI lun as device for xvda, I would like to know its possibility with Xenserver.

What are the possible ways may be hacky to get it working ? 

Since XAPI can now support Ceph as custom drive, how hard it would be to use same for iSCSI ?  

From Xenserver POV, I undestood that Ceph is acting as a SR but I'm expecting to pass iSCSI lun as raw block device to VM.

Thanks.

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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