Scroll To Top

How to Install and Configure iSCSI Windows Server 2016?

Posted in Article, Networking, Windows Server2 years ago • Written by Nyaz1 Comment

In this article I’m going to show you install and Configure iSCSI windows server 2016. Internet Small Computer System Interface (iSCSI) is a way of connecting storage devices over a network using TCP/IP. It can be used over a local area network (LAN), a wide area network (WAN), or the Internet. iSCSI devices are disks, tapes, CDs, and other storage devices on another networked computer that you can connect to.

In the relationship between your computer and storage device, your computer is called initiator it initiates the connection to the device, which is called target.

Install and Configure iSCSI Windows Server 2016

So, know we are going to install iSCSI target on the Windows Server 2016 that this server has storage device, it means this server going to share storage device, which is called target.

Step 1: In Server Manager, click Manage, and then click Add Role and Feature. The Add Role and Feature Wizard opens, click Next.

Step 2: In Select Installation Type page, ensure that Role-based or Feature-based Installation is selected, and then click Next.

Step 3: In Select destination Server, click File and Storage Services, click File and iSCSI Service, and then Select iSCSI Target Server. Click Next.

Install iSCSI target windows server 2016

Install iSCSI target windows server 2016

Step 4: On the Feature Window, leave the default selection and then click Next. On the Confirm Installation Selection window, check the Restart the destination server automatically if required, and then click Install.

Install and Configure iSCSI windows Server 2016

Install and Configure iSCSI windows Server 2016

Step 5: When the installation process has finished, click Close and go for configuring iSCSI in Windows server 2016 in the targeted server.

Configure iSCSI Windows Server 2016

Create iSCSI lUN. To share storage, the first thing to create an iSCSI lun (aka. iSCSI virtual disk) the iSCSI virtual disk is backed by a VHD. To complete iSCSI target server, the configuration goes to Server Manager.

Step 6: On “Server Manager” windows, select “File and Storage Services” tab and then click “iSCSI” tab. Click “to create an iSCSI virtual disk, start the new iSCSI virtual disk wizard”.

Configure iSCSI Windows Server 2016

Configure iSCSI Windows Server 2016

Step 7: New iSCSI Virtual disk wizard will open. Here, select the server and select the volume and then click next.

Select iSCSI virtual Disk Location

Select iSCSI virtual Disk Location

Step 8: On the “Specify iSCSI Virtual Disk name window”, Type name of virtual disk. Here, I give “Virtual iSCSI Disk” and then click next.

Specify iSCSI Virtual Disk name

Specify iSCSI Virtual Disk name

Step 9: Specify the virtual disk’s size. Choose the disk type, here I have chosen Dynamically expanding. So, that disk space won’t be over utilized, and then click Next.

Specify iSCSI Virtual Disk Size

Specify iSCSI Virtual Disk Size

Step 10: In the “Assign iSCSI target “page, choose “New iSCSI Target” option and then click Next.

New iSCSI Target

New iSCSI Target

Step 11: On the “Specify target name “page, type the name for the new target, and then click Next.

Specify target name

Specify target name

Step 12: Click Next to open Access Server page, as shown in figure.

Specify Access Servers

Specify Access Servers

So, now you start your initiator Server that you want to Share your storage to that Serve. On “Server Manager” click Tools menu, and then click iSCSI Target, when click will give this massage.

Initiator Server

Initiator Server

Click the Yes button to open “iSCSI initiator Properties”. On the iSCSI initiator properties click Discovery tab, then click Discovery Portal, Enter the IP address or DNS name port number of the portal you want to add.

iSCSI Initiator Properties

iSCSI Initiator Properties

Click Advanced to open Advanced Setting window, on the advanced setting, from the “local adapter” select “Microsoft iSCSI initiator” then from the “initiator IP” Select you IP Address, and then click Ok.

Advanced Setting

Advanced Setting

Click Ok to close Advanced Setting, then you will see the target portals in the “Discovery” windows.

iSCSI initiator properties

iSCSI initiator properties

When the target portals added on the iSCSI initiator, click Ok to close iSCSI initiator Properties.

Step 13:  Now come to the Target Server that you want to share storage device from this server. Click Add to specify the iSCSI initiator that will access this iSCSI virtual disk.

Specify Access Server

Specify Access Server

Step 14: Add initiator ID box will open. Select the initiator cache on the target server, click Ok.

Select a Method to identify the initiator

Select a Method to identify the initiator

Step 15: you will see the initiator cache on the Specify access server screen, then click Next.

Configure iSCSI Windows Server 2016

Configure iSCSI Windows Server 2016

Step 16: In the Enable Authentication page, you have option to use CHAP or reverse CAHP for Authenticating iSCSI initiator and iSCSI target. Here, I leave will leave it empty and then Next.

Enable Authentication

Enable Authentication

Step 17: On the “Confirm Selectin” page, click Create to create a new virtual disk or LUN.

Confirm Selectins

Confirm Selectins

Step 18: When the Creating process has finished, click Close to the View Result window.

Configure iSCSI Windows Server 2016

Configure iSCSI Windows Server 2016

After the Installation you can view the virtual disk in iSCSI tab.

Configure iSCSI Windows Server 2016

Configure iSCSI Windows Server 2016

When the configuring iSCSI storage has finished, after that you should configure iSCSI initiator on the initiates server. So, now we are going to configure iSCSI initiator, to configure iSCSI initiator follow these process.

Step 19: To connect File Server nodes to iSCSI target open Server Manager, click Tools and select iSCSI Initiator, then proceed with the configuration as per the below screenshots.

Configure iSCSI initiator server 2016

Configure iSCSI initiator server 2016

Step 20: On the Target tab, from the Discovery targets part, click Refresh, to connect using advanced option, select a target and then click connect.

Discovery Target

Discovery Target

On the Connect to Target window, select the add this connection to the list of Favorite Targets, and then click Advanced.

Connect to Target

Connect to Target

On the Advanced Setting windows, in the “Correct using” part, from the local adapter, select “Microsoft iSCSI Initiator” and from initiator IP, Select initiator IP, and from the Target Portal IP, Select the target IP address.

Advanced Setting

Advanced Setting

Step 21: Then Click Ok to close the Advanced Setting. On the iSCSI initiator Properties, click “Favorite Target” then click “Refresh” to find the favorite target.

Favorite Targets

Favorite Targets

Step 22: In the iSCSI initiator Properties window, click “Volumes and Devices” to automatically configure all available device, click Auto Configure.

Volume and Devices

Volume and Devices

Step 23: When the iSCSI initiator is finished, click Ok to close the iSCSI initiator Properties. So, now open “Disk Management” to make sure that the disk is presented correctly.

Disk Managment

Disk Managment

Step 24: to Create New volume, right click in the left hand corner, click Online.

Disk Management

Disk Management

Step 25: When you online now again right click on that partition, click Initialize Disk.

Initialize Disk

Initialize Disk

Step 26: When you initialize disk, it will help you to create new volume. Right click on that drive, click New Simple Volume, the New Simple Volume wizard will open.

New Simple Volume

New Simple Volume

Step 27: On the “Welcome to the New Simple Volume Wizard” click Next to continue.

New Simple Volume Wizard

New Simple Volume Wizard

Step 28: On the Specify Volume Size page, choose a volume size, and then click Next to continue.

Specify Volume Size

Specify Volume Size

Step 29: On the Assign Drive Letter or Path page, Select Assign the following drive letter, then select your drive letter, and then click next to continue.

Assign Drive letter or Path

Assign Drive letter or Path

Step 30: On the Format Partition page, choose format this volume with the following settings, and type your volume label, and then click next.

Format Partition

Format Partition

Step 31: you have successfully completed the New simple volume wizard. click finish to create a new partition in the hard disk drive.

Complete the New Simple Volume Wizard

Complete the New Simple Volume Wizard

After creating new simple volume, you can see the partition has created on the disk management console.

Disk Management

Disk Management

To make sure that the partition working, go to This PC, you can see your created disk partition.

Shared iSCSI Drive

Shared iSCSI Drive

Conclusion: That’s all about install and configure iSCSI windows server 2016, we had install and configure iSCSI target, then configure iSCSI initiator on the next server, that’s work very well. I hope that was helpful, if have any question you can ask me in the comment bellow.

TAGS: , , ,

1 Comment so far. Feel free to join this conversation.

  1. Matthias November 24, 2017 at 10:42 am - Reply

    Hey Nyaz.

    Thank you very much for this great article and step by step guide. I wanted to point out that there is a small error in Step 12:
    So, now you start your initiator Server that you want to Share your storage to that Serve. On “Server Manager” click Tools menu, and then click iSCSI Target, when click will give this massage.

    I think it should say “click iSCSI Initiator” instead of target.

    Thanks anyway.

Leave A Response