Hi, I''m hoping someone has experience with this type of setup. I''m trying to attach an iSCSI target in a paravirtualized domU and I''m having issues with not getting a scsi ID from the kernel. I suspect I am having trouble because of the same limitation when trying to export a virtual scsi device to a domU. Is this correct? Is there any way to make this work? If not, does anyone know if I can have SCSI support on a domU with HVM? I am using CentOS 5.1 and all the distro''s packages- xen-3.0.3-41.el5 kernel-xen-2.6.18-53.1.4.el5 iscsi-initiator-utils-6.2.0.865-0.8.el5 If anyone has any input, I''d love to hear what you''ve got working. Thanks. - Eric _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I remember I made some tests some months ago with iSCSI in domU. I tried it with the block-iscsi script of Kurt Garloff, (Novell/SuSe) (http://www.suse.de/~garloff/linux/xen/scripts/block-iscsi) You should be able to have in domU config script an entry which starts with ''iscsi'' instead of ''phy''; something like this: disk = [ ''iscsi: iqn.2001-01.com.example:diskraid-sn-a8111309'', hda, w'' ]. It could be that this attitude will be slower a bit than the alternative; which is perform login to iSCSI targets from domU and than mounting them from domU. Regards, Rami Rosen> I''m hoping someone has experience with this type of setup. I''m trying > to attach an iSCSI target in a paravirtualized domU and I''m having > issues with not getting a scsi ID from the kernel. I suspect I am > having trouble because of the same limitation when trying to export a > virtual scsi device to a domU. Is this correct? Is there any way to > make this work? > > If not, does anyone know if I can have SCSI support on a domU with HVM? > > I am using CentOS 5.1 and all the distro''s packages- > xen-3.0.3-41.el5 > kernel-xen-2.6.18-53.1.4.el5 > iscsi-initiator-utils-6.2.0.865-0.8.el5 > > If anyone has any input, I''d love to hear what you''ve got working. > > Thanks. > > - Eric > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, 20 Dec 2007, Rami Rosen wrote:> I tried it with the block-iscsi script of Kurt Garloff, (Novell/SuSe) > (http://www.suse.de/~garloff/linux/xen/scripts/block-iscsi)...why isn''t this referenced anywhere? I wrote my own block-iscsi because I didn''t know this :) Stefan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, By the way, I first encountered this script a few month ago in the following presentation by Kurt Garloff: http://streaming.linux-magazin.de/virtualization/kgarloff/pdf/kgarloff.pdf slide 20: iSCSI setup (client = initiator) Regards, Rami Rosen On Dec 20, 2007 10:16 AM, Stefan de Konink <skinkie@xs4all.nl> wrote:> On Thu, 20 Dec 2007, Rami Rosen wrote: > > > I tried it with the block-iscsi script of Kurt Garloff, (Novell/SuSe) > > (http://www.suse.de/~garloff/linux/xen/scripts/block-iscsi) > > ...why isn''t this referenced anywhere? I wrote my own block-iscsi because > I didn''t know this :) > > > Stefan > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Rami, Thank you for your reply. That link and the pdf are great and I will be looking into that type of setup for xen migrations and running the domU root off of iSCSI. In my current setup I am, however, trying to get the domU itself to connect to the target. I''d like to keep this seperate as the guest''s admin may not have access to the dom0 to map the device. Because of the scsi id issue, the best idea I can come up with is to run the domU in an HVM with an unmodified kernel, but I dont have any HVM hardware and I''m not totally sure this will work. I''m holding off on buying new hardware for now. Anyone have expereince running linux in an HVM with scsi on their dom0 and scsi on the domU? Thanks everyone for your replies. Rami Rosen wrote:> Hi, > I remember I made some tests some months ago with iSCSI in domU. > > I tried it with the block-iscsi script of Kurt Garloff, (Novell/SuSe) > (http://www.suse.de/~garloff/linux/xen/scripts/block-iscsi) > > You should be able to have in domU config script an entry which > starts with ''iscsi'' instead of ''phy''; > something like this: > disk = [ ''iscsi: iqn.2001-01.com.example:diskraid-sn-a8111309'', hda, w'' ]. > > It could be that this attitude will be slower a bit than the alternative; > which is perform login to iSCSI targets from domU and than mounting > them from domU. > > Regards, > Rami Rosen >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,>I''m having >issues with not getting a scsi ID from the kernel. I suspect I am >having trouble because of the same limitation when trying to export a >virtual scsi device to a domU.Can you elaborate on this a bit: how did you try to get the scsi ID ? What exactly are you doing the get the scsi ID ? do you try it from domU or from dom0 ? Regards, Rami Rosen On Dec 20, 2007 9:15 PM, Eric Einhorn <lists@einhorn.net> wrote:> Hi Rami, > > Thank you for your reply. That link and the pdf are great and I will be > looking into that type of setup for xen migrations and running the domU > root off of iSCSI. > > In my current setup I am, however, trying to get the domU itself to > connect to the target. I''d like to keep this seperate as the guest''s > admin may not have access to the dom0 to map the device. > > Because of the scsi id issue, the best idea I can come up with is to run > the domU in an HVM with an unmodified kernel, but I dont have any HVM > hardware and I''m not totally sure this will work. I''m holding off on > buying new hardware for now. Anyone have expereince running linux in an > HVM with scsi on their dom0 and scsi on the domU? > > Thanks everyone for your replies. > > > > > Rami Rosen wrote: > > Hi, > > I remember I made some tests some months ago with iSCSI in domU. > > > > I tried it with the block-iscsi script of Kurt Garloff, (Novell/SuSe) > > (http://www.suse.de/~garloff/linux/xen/scripts/block-iscsi) > > > > You should be able to have in domU config script an entry which > > starts with ''iscsi'' instead of ''phy''; > > something like this: > > disk = [ ''iscsi: iqn.2001-01.com.example:diskraid-sn-a8111309'', hda, w'' ]. > > > > It could be that this attitude will be slower a bit than the alternative; > > which is perform login to iSCSI targets from domU and than mounting > > them from domU. > > > > Regards, > > Rami Rosen > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users