Knowledge Base

Search by either entering keywords or by selecting a product.

Configuring an iSCSI Target in WSS 2008 R2


Configuring the Microsoft iSCSI Software Target

  1. Launch the MMC console for the Microsoft iSCSI Software Target from the Start menu.

    Notice the three options below the Microsoft iSCSI Software Target:

    • ISCSI Targets: This is used to configure which clients can connect to this server's iSCSI storage and to create the iSCSI Qualified Name for the storage. This is configured after the devices are configured.
    • Devices: This is used to define the physical storage files that hold the storage space. You can configure multiple devices per system. These are in .vhd (virtual hard disk) format. In this blog we will create the device.
    • Snapshots: These are images of the virtual disks at a particular time, run either manually or on a scheduled basis. Snapshots do not interrupt access to the storage devices, so disk access does not need to be stopped. It provides one way to recover data in between standard backups.

    As demonstrated below, the system is currently unconfigured. The next step is to add storage devices to create the .vhd files that hold the data.

  2. Right click on Devices, and select "Create Virtual Disk".
  3. Click Next on the Welcome Screen.
  4. Enter the location and file name for the storage device and click Next. The file is in virtual disk (.vhd) format. Enter the desired location/name.
  5. Enter the default size in megabytes (for gigabytes, 1024 x # of gigabytes). Then click Next.
  6. Enter a Virtual Disk Description, then click Next.
  7. Click Next since the iSCSI initiator (client) that can access this virtual disk has not been configured.
  8. Click Finish to complete the Create Virtual Disk Wizard.

Creating the iSCSI Target

  1. Right-click on iSCSI Targets and select "Create iSCSI Target". 
  2. Click Next on the Welcome Sreen.
  3. Select a name for the target and click Next.
  4. Add the IQN of the initiator that will attach to the target.
  5. Click Finish to complete the Create iSCSI Target Wizard.

Adding the Virtual Disk to the Target

  1. Right-click on the newly created target and select "Add Existing Virtual Disk to iSCSI Target".
  2. Select the virtual disk created earlier and click OK.
  3. The target should now be listed with the associated virtual disk.