Windows 2008 R2 as an iSCSI Target

The Windows Server 2012 server has a built in option to make it as a iSCSI target server and in this post we shall see how we can use Windows 2008 R2 as an iSCSI target. Remember, no previous versions of 2008 R2 supports this, including Windows 2008.

Just as a note, i have a nic card added to my virtual windows server dedicated for iSCSI named as Storage and has an IP 10.1.1.100

1

First of all, we need to download the iscsi software from here.

Once downloaded, you should see a file like one highlighted below and it extracts to many other files when run.

2

From the x64 folder, run the file iscsitarget_public, once done, you should now be able to see a new section for Microsoft iSCSI Software Target under the Storage section in the Windows Server Manager.

4

Next step is to create a iSCSI target, right click on the iSCSI Targets and select Create iSCSI Target which opens up a wizard.

5

6

Enter the Name and Description for the iSCSI target and click Next.

7

Browse for the IQN identifier of the iSCSI Initiator, you can alternatively use IP, DNS name of the initiator but you need to click on Advanced button to do that.

8

Add the IP address and click on OK and click on Finish on the next screen. To setup multipathing, add each IP address of the identifiers here.

Now that we have targets setup, we need to assign the physical storage to the targets for which we need to create devices. Click on the Devices section in the Server Manager.

10

Here, we can make use of an existing vhd or create a new vhd. Once you click on the Create Virtual Disk a new wizard open up.

11

Browse the location of the vhd to import an existing one or create a new vhd disk here. Entering a name with vhd extension automatically creates one if it doesn’t exist. Click Next.

12

Enter the size of the vhd in MB and click Next.

13

Now associate the vhd disk created with iSCSI target created earlier for the disk to be accessed by the iSCSI initiators. Hit Finish in the next screen and you are good to go!

Hope this post was informative. Thanks!

Advertisements