[xcat-user] iscsi integration "problem"?
Luis Miguel Silva
luismiguelferreirasilva at gmail.com
Thu Aug 13 08:28:47 MDT 2009
I think this won't be a problem as i simply create all the vms without
an harddisk and set them to boot from PXE by default! :o)
Jarrod B Johnson escreveu:
>
> On the subject of not all OSes not supporting iSCSI by default, that
> would actually be a disadvantage to the gPXE style. RHEL5.2 and newer
> (maybe older), SLES10sp2 (maybe older), Windows Vista/2k8 and up
> support it. 2k3 I believe requires an addon, and I think XP does not
> support it. So before recent Windows/Linux OSes (where they tear down
> the gPXE stack and don't have their own to take over using the
> parameters passed by gPXE) and after DOS-style OSes (for whom the gPXE
> stack simply stays intact the whole time), you have an inconvenient
> gap if an environment wants to run those OSes. Of course, the same
> goes for things like the built-in iSCSI support in many bare metal
> servers.
> Inactive hide details for Luis Miguel Silva ---08/12/2009
> 19:47:26---Jarrod,Luis Miguel Silva ---08/12/2009 19:47:26---Jarrod,
>
>
> From:
> Luis Miguel Silva <luismiguelferreirasilva at gmail.com>
>
> To:
> xCAT Users Mailing list <xcat-user at lists.xcat.org>
>
> Date:
> 08/12/2009 19:47
>
> Subject:
> Re: [xcat-user] iscsi integration "problem"?
>
> ------------------------------------------------------------------------
>
>
>
> Jarrod,
>
> I also like looking at hyperv vms as "regular nodes" and hand them
> over the iscsi disk via gpxe, i think it is the best solution as not
> all OSes have support for booting from iscsi by default!
>
> The way i've developed the hyperv integrator is that all the vms are
> created without a disk and xCAT should handle the iscsi disks during
> the netboot (this can obviously change in future versions after i
> release the PoC).
>
> Thanks for the overview on how things work with other hypervisors!
>
> Best,
> Luis
>
> Jarrod B Johnson escreveu:
>
> If using the iscsi table, vm.storage is not required (or
> related) (this is possible for KVM and ESX guests at
> least, if Hyper-V uses a standard, complete PXE rom for
> guests or has their own DHCP-configurable iSCSI support
> for guests that supports the RFC standard for boot device
> specification). The Xen environment provides a netboot
> image that, the last time I checked, was problematic for
> this type of function (been a while since I checked though)
>
> vm.storage can be used in lieu of iscsi table as well, if
> you wanted to terminate the iSCSI at the hypervisor and
> tell vm.storage to use whatever the output of that process
> would be as a raw block device. I like the similarity
> between baremetal and virtualization that the above
> solution presents, but I haven't done benchmarks to see
> which does better and I recognize some degree of
> convenience having the storage and LAN very logically
> separated from an administration standpoint (i.e. you can
> ifconfig/ipconfig in the guest with impunity if the
> hypervisor abstracted away the iSCSI for you).
>
> Inactive hide details for Luis Miguel Silva ---08/12/2009
> 14:46:28---Thats true! Thanks a million ;o) By the way, do
> vms that uLuis Miguel Silva ---08/12/2009 14:46:28---Thats
> true! Thanks a million ;o) By the way, do vms that use
> iscsi need to have the vm.storage field filled in?
>
> From:
> Luis Miguel Silva _<luismiguelferreirasilva at gmail.com>_
> <mailto:luismiguelferreirasilva at gmail.com>
>
> To:
> xCAT Users Mailing list _<xcat-user at lists.xcat.org>_
> <mailto:xcat-user at lists.xcat.org>
>
> Date:
> 08/12/2009 14:46
>
> Subject:
> Re: [xcat-user] iscsi integration "problem"?
>
> ------------------------------------------------------------------------
>
>
>
> Thats true! Thanks a million ;o)
>
> By the way, do vms that use iscsi need to have the
> vm.storage field filled in?
>
> Thanks,
> Luis Miguel Silva
>
> On 2009/08/12, at 17:50, Jarrod B Johnson
> <_jbjohnso at us.ibm.com_ <mailto:jbjohnso at us.ibm.com>> wrote:
> I should do something more
> sophisticated about tid allocation.
>
> It looks like hypernode01 doesn't
> resolve to an ip address (either
> via dns or /etc/hosts)?
>
> <graycol.gif>Luis Miguel Silva
> ---08/12/2009 11:33:56---Dear all,
> <ecblank.gif>
> From: <ecblank.gif>
> Luis Miguel Silva
> <_luismiguelferreirasilva at gmail.com_
> <mailto:luismiguelferreirasilva at gmail.com>>
>
> <ecblank.gif>
> To: <ecblank.gif>
> xCAT Users Mailing list
> <_xcat-user at lists.xcat.org_
> <mailto:xcat-user at lists.xcat.org>>
> <ecblank.gif>
> Date: <ecblank.gif>
> 08/12/2009 11:33
> <ecblank.gif>
> Subject: <ecblank.gif>
> [xcat-user] iscsi integration
> "problem"?
>
> ------------------------------------------------------------------------
>
>
>
> Dear all,
>
> I'm having some trouble setting up
> a new iscsi target for a VM (like i
> mentioned in a previous email, i'm
> working on integrating hyperV with
> xCAT).
>
> I tried creating a new iscsi disk
> for a new node (hypernode01) but...it
> just doesn't work:
> [root at xcat-gw iscsi]#
> setupiscsidev hypernode01
> hypernode01: Error: tgtadm --mode
> target --op new --tid 0 -T
> iqn.2009-7.hyperv.clusterresources.com:hypernode01
> returned 5632
> [root at xcat-gw iscsi]#
>
> [root at xcat-gw iscsi]# tabdump iscsi
> #node,server,target,lun,iname,file,userid,passwd,kernel,kcmdline,initrd,comments,disable
> "node02","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node02","1",,"/iscsi/node02",,,,,,,
> "node03","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node03","1",,"/iscsi/node03",,,,,,,
> "node04","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node04","1",,"/iscsi/node04",,,,,,,
> "node05","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node05","1",,"/iscsi/node05",,,,,,,
> "node06","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node06","1",,"/iscsi/node06",,,,,,,
> "node07","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node07","1",,"/iscsi/node07",,,,,,,
> "node08","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node08","1",,"/iscsi/node08",,,,,,,
> "node09","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node09","1",,"/iscsi/node09",,,,,,,
> "node10","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node10","1",,"/iscsi/node10",,,,,,,
> "hypernode01","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:hypernode01","1",,"/iscsi/hypernode01",,,,,,,
> [root at xcat-gw iscsi]#
>
> The strange thing is that every
> other target seems to be working:
> [root at xcat-gw iscsi]#
> setupiscsidev node02
> node02: iSCSI LUN configured
> [root at xcat-gw iscsi]#
>
> I've set this node *exactly* like
> all the other nodes. The only
> difference is that i added it
> through an entry in the "vm" table:
> [root at xcat-gw iscsi]# tabdump vm
> #node,host,migrationdest,storage,memory,cpus,nics,bootorder,clockoffset,virtflags,vncport,textconsole,beacon,comments,disable
> "hypernode01","hyperhead",,"/iscsi/hypernode01",,,,,,,,,,,
> [root at xcat-gw iscsi]#
>
> I'm not completely sure if i need
> to specify the storage field in the vm
> table so i tried with and without it.
>
> PS: i've restarted the tgtd daemon
> lots of times so this doesn't seem to
> be a problem with the tgtd daemon
> itself.
>
> This isn't the first time i
> experience the same error in tgtd
> but i'm
> not sure how i solved it in the past?
>
> PS2: removing the entry from the
> "vm" table doesn't seem to help...
>
> Any thoughts?
>
> Thank you,
> Luis
> _______________________________________________
> xcat-user mailing list_
> __xcat-user at lists.xcat.org_
> <mailto:xcat-user at lists.xcat.org>_
> __http://www.xcat.org/mailman/listinfo/xcat-user_
>
>
> _______________________________________________
> xcat-user mailing list_
> __xcat-user at lists.xcat.org_
> <mailto:xcat-user at lists.xcat.org>_
> __http://www.xcat.org/mailman/listinfo/xcat-user________________________________________________
> xcat-user mailing list_
> __xcat-user at lists.xcat.org_
> <mailto:xcat-user at lists.xcat.org>_
> __http://www.xcat.org/mailman/listinfo/xcat-user_
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xcat-user mailing list
> _xcat-user at lists.xcat.org_ <mailto:xcat-user at lists.xcat.org>
> _http://www.xcat.org/mailman/listinfo/xcat-user_
>
>
>
>
> --
> Luís Miguel Ferreira da Silva
> GSM: +351 912671471 _______________________________________________
> xcat-user mailing list
> xcat-user at lists.xcat.org
> http://www.xcat.org/mailman/listinfo/xcat-user
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xcat-user mailing list
> xcat-user at lists.xcat.org
> http://www.xcat.org/mailman/listinfo/xcat-user
>
--
Luís Miguel Ferreira da Silva
GSM: +351 912671471
-------------- next part --------------
Skipped content of type multipart/related
More information about the xcat-user
mailing list