Showing posts with label iSCSI. Show all posts
Showing posts with label iSCSI. Show all posts

Monday, February 9, 2009

HOWTO Configure iSCSI CHAP authentication on Microsoft iSCSI Initiator

OpenFiler's implementation of CHAP doesn't seem to work the same as other products I have used (in terms of what you see on the client end).  However, this isn't to say that OpenFiler is implementing it incorrectly, for all I know the other products were!

So, here goes:

HOW TO CONFIGURE iSCSI CHAP AUTHENTICATION TO WORK WITH MICROSOFT'S iSCSI INITIATOR

First off, I am not going to detail how to install OpenFiler or how to set up a basic disk and turn on iSCSI.  Information on installing OpenFiler can be found in the documentation and David Davis posted a nice article here about how to set up a basic volume for iSCSI use.  I am also not going to discuss how to instal the Microsoft iSCSI intiator, although it is very easy to do and can be downloaded here.

Once you have set up Open Filer for basic iSCSI access and have installed the MS iSCSI Initiator, perform the following steps:


Tuesday, January 20, 2009

How to boot a VM in Hyper-V from iSCSI

Hyper-V virtual machines do not emulate an iSCSI HBA or allow you to pass a physical iSCSI HBA through to the virtual machine. However, as Hyper-V supports booting virtual machines directly off of physical hard disks, you can attach an iSCSI LUN to the parent partition and then boot the virtual machine off of it.
In order to do this you would need to:
  1. Attach the iSCSI LUN to the parent partition.
  2. Create a new virtual machine and opt to configure the hard disk later.
  3. Open the settings for the new virtual machine and select the first IDE controller.
  4. Select to add a disk drive.
  5. On the disk drive configuration page select to use a physical hard disk, and select the iSCSI LUN.
  6. Apply changes and close the virtual machine settings.

Now you can boot the virtual machine directly off the iSCSI LUN by just starting it up...

Reference: http://blogs.msdn.com/virtual_pc_guy/archive/2008/02/19/booting-hyper-v-vms-off-of-iscsi.aspx