How to: iSCSI target on Win Server 2008 R2

Today I’m going to explain how to configure an iSCSI target on the latest Microsoft server operating system. This tutorial won’t work with previous versions of Windows Server. Following a few steps, you will be able to manage iSCSI targets and LUNs from your server, very useful for virtualized environments.

For starters, Win 2008 R2 doesn’t natively support iSCSI targets. You need to download a tiny Microsoft package that is available for free. Google “Microsoft iSCSI software target” or click here. Uncompress the .exe file in a folder and open the sub-folder x64.

Then launch iscsitarget_public.msi.
iSCSI target on Win Srv 2008 R2

The installation is straightforward and I won’t spend words on it. When it’s completed, right-click on the Computer icon and select Manage.
iSCSI target on Win Srv 2008 R2

Open the Storage menu. You will find the new iSCSI software target sub-menu. Select the iSCSI targets icon in the main window and press the right button. Choose Create iSCSI target like shown in the image below.
iSCSI target on Win Srv 2008 R2

A wizard will start. Follow the instructions and specify the name of the iSCSI target.iSCSI target on Win Srv 2008 R2iSCSI target on Win Srv 2008 R2

Microsoft force you to specify the initiators (in other words, the clients) allowed to connect to the target. You can specify an IP, a MAC address, a domain name o an iSCSI name. IP it’s probably the simplest way.
iSCSI target on Win Srv 2008 R2

By the way you can find (or modify) the iSCSI name of the client (remember: you have to do that from the client) opening the iSCSI initiator snap-in in the control panel, under Administrative Tools.
iSCSI target on Win Srv 2008 R2

The iSCSI configuration is finished. The next step is to create a virtual disk (LUN).
iSCSI target on Win Srv 2008 R2

Comments are closed.