TechOnTip Weblog

Run book for Technocrats

iSCSI Target/Lun Configuration in Windows 2008 Storage Server

Posted by Brajesh Panda on January 14, 2010

In my previous blog post I have mentioned about the first look at Windows 2008 Storage Server. Let’s get into little dipper of this product & features.

If you remember I left my new Windows 2008 Storage Server VM for Windows update. After a day when I visited my lab found a bounch of patches has been updated on the server. Seems to be same kind of security hotfixes like other Windows Server. I always prefer to update my servers with windows updates, hence RTM gotcha can removed from the product.

I kept below targets for me for today’s exercise;

– Create A iSCSI LUN & assign to a Windows Server

From a long time I am using Opensource OpenFiler as an iSCSI storage box in my LAB and using for clusters etc. But current version of openfiler lacks “SCSI Persistent 3” commad support. So I can’t use the product with Windows 2008 Servers. I just read Operfiler forum moderator was talking this componnet will be available as a commercial plug-in in near future. Lets hope so!!

Let’s jump into our LAB & see what are the steps to get the iSCSI stuff work in Storage Server 2008.

Crap…no interface to configure iSCSI volumes, targets etc.. Sorry till today I didn’t get time to dive into any of the Storage Server documentations. After Investigation came to know you need a iSCSI Target Software for this kind of configuration. And you can download from your MSDN portal for testing/devleopment.

So you have to download below ISO files;

Microsoft iSCSI Software Target 3.2 (x86 and x64) – CD (English)
File Name: en_windows_storage_server_2008_iscsi_cd_x64_x86_x15-49563.iso
File Size: 5.63 (MB)
Comment: Microsoft iSCSI Software Target 3.2 for the Workgroup, Standard or Enterprise editions (x64 only)

Microsoft iSCSI 3.2 Tools (x86 and x64) – CD (English)
File Name: en_windows_storage_server_2008_iscsi_tools_cd_x64_x86_x15-63368.iso
File Size: 1.92 (MB)
Comment: Optional VSS and VDS providers for the Microsoft iSCSI Software Target

1st ISO contain two softwares i.e. iSCSITarget & iSCSITargetClient.

iSCSITarget software provides facility to create iSCSI Targets through which other Windows Server can access volumes assingned to them using MS iSCSI Initiator Client.

iSCSITargetClient do little more different thing i.e. it provide VSS Provider to use Snapshot features. I have not tried this feature yet, will try in future. I think you have to install in on Client computers.

iSCSI Target Software installation is pretty straight forward like other softwares.

After you installed open iSCSI Software Target MMC & Create a Target by right clicking iSCSI Target optoin.

Provide a name to the Target.

Register all Clients “IQN” who will be having permission on this target to access LUNs or Disk over iSCSI protocol. If don’t have any right info regarding client you can type anything & can create your target.

Else if you have already iSNS infrastructure you can browse you client IQNs and configure inside Advanced Tab.

You can view & change all target configurations by going to Properties window of Target.

Lets create a Virtual Disk & assign it to the target. You can right click devices and click on Create Virtual Disk

Virtual Disk over here means a VHD file. Hence VHD files will be used as iSCSI LUNs for our clients.

For testing purpose I have created a VHD of 50MB.

Note: It is a persistent VHD file. As soon as you create this VHD file it will consume the same amount of space in your drive. So make sure you have that much of space in your Drive.

Wizard will prompt you for Target Assignment for that Drive. I have selected “Target 1” which I created on the previous step. After this you can finish the Virtual Disk creation wizard.

To assign the same virtual machine to a client machine;

– You must have installed MS iSCSI Initiator Software &

– Register Client IQN number in Target Properties.

If you like to know about detail steps how to configure iSCSI Initiator check my other blog about this

– Configure Client Initiator to Discover the Target/portal by using IP/DNS Name of Target

– Got to client disk manager and rescan, you should able to see the new disk.

Advertisements

One Response to “iSCSI Target/Lun Configuration in Windows 2008 Storage Server”

  1. […] are pretty straight forward like the old 3.2 software. I have a old installation post over here, you can refer to only installation part of this old […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: