Configuring Windows Server 2016 as iSCSI target

From Notes_Wiki
Revision as of 06:09, 22 October 2017 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Windows_Server_2016_Storage|Windows Server 2016 Storage</yambe:breadcrumb> =Configuring Windows Server 2016 as iSCSI target= ==Adding file server and iSCSI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

<yambe:breadcrumb>Windows_Server_2016_Storage|Windows Server 2016 Storage</yambe:breadcrumb>

Configuring Windows Server 2016 as iSCSI target

Adding file server and iSCSI target server roles

For configuring Windows Server 2016 as iSCSI target we can add file server and iSCSI target server roles using following steps:

  1. Login into server as administrator
  2. Start "Server Manager" from Start menu
  3. Go to "Local Server"
  4. Scroll down using scroll bar on right to "Roles and Features" at the bottom of right pane. Use the Tasks drop-down button on top right and choose "Add roles and features" option.
  5. Click "Next" on Before you begin pop-up Window
  6. Select "Role based or feature based installation" radio button and click next.
  7. Select current server from server pool and click next. You can find current server by matching its hostname or IP address.
  8. Expand "File and Storage Services" and then "File and iSCSI services". Select "iSCSI target Server". On pop-up for adding "File server" click "Add Features". Click "next" on "Select server roles" wizard window.
  9. Leave "Features" as it is and click next
  10. Click install
  11. Click "Close" after feature installation is successful.


Create virtual disk and iSCSI target

To create virtual disk and iSCSI target use following steps:

  1. Login as administrator
  2. Start "Server Manager"
  3. Select "File and Storage Services"
  4. Click on "iSCSI"
  5. Start "New iSCSI Virtual Disk Wizard" from Tasks drop down menu.
  6. Specify desired custom path where virtual disks should be created, eg C:\Virtual-Disks and click next
  7. Specify name of virtual-disk and optional description and click next
  8. Select "Dynamically expanding" unless you want otherwise. Give appropriate disk size, eg 1GB. Click next
  9. In Assign iSCSI target, select "new iSCSI target" option.
  10. Specify target name and optional description and click next.
  11. In access servers specify iSCSI initiator names which can access this target. On Linux machines name is available at /etc/iscsi/initiatorname.iscsi file. On Windows use iscsicli command to obtain initiatorname, provided iscsi initiator service is running. On Server OS from Server Manager Dashboard one can use "Tools" -> iSCSI iniator to configure initiator.
    Click "Add" and specify the iqn number. If the initator is a recent Windows 10, etc. Windows machine then the server can perhaps query the initiator name over network.
    After specifying one or more desired iqn numbers click next
  12. Optionally enable authentication in both directions
  13. Finally click "Create" on confirmation window.
  14. Click "Close" on the new virtual disk creation wizard.



<yambe:breadcrumb>Windows_Server_2016_Storage|Windows Server 2016 Storage</yambe:breadcrumb>