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.
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.
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”.
Step 7: New iSCSI Virtual disk wizard will open. Here, select the server and select the volume and then click next.
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.
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.
Step 10: In the “Assign iSCSI target “page, choose “New iSCSI Target” option and then click Next.
Step 11: On the “Specify target name “page, type the name for the new target, and then click Next.
Step 12: Click Next to open Access Server page, as shown in figure.
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.
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.
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.
Click Ok to close Advanced Setting, then you will see the target portals in the “Discovery” windows.
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.
Step 14: Add initiator ID box will open. Select the initiator cache on the target server, click Ok.
Step 15: you will see the initiator cache on the Specify access server screen, then click Next.
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.
Step 17: On the “Confirm Selectin” page, click Create to create a new virtual disk or LUN.
Step 18: When the Creating process has finished, click Close to the View Result window.
After the Installation you can view the virtual disk in iSCSI tab.
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.
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.
On the Connect to Target window, select the add this connection to the list of Favorite Targets, and then click Advanced.
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.
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.
Step 22: In the iSCSI initiator Properties window, click “Volumes and Devices” to automatically configure all available device, click Auto Configure.
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.
Step 24: to Create New volume, right click in the left hand corner, click Online.
Step 25: When you online now again right click on that partition, click 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.
Step 27: On the “Welcome to the New Simple Volume Wizard” click Next to continue.
Step 28: On the Specify Volume Size page, choose a volume size, and then click Next to continue.
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.
Step 30: On the Format Partition page, choose format this volume with the following settings, and type your volume label, and then click next.
Step 31: you have successfully completed the New simple volume wizard. click finish to create a new partition in the hard disk drive.
After creating new simple volume, you can see the partition has created on the disk management console.
To make sure that the partition working, go to This PC, you can see your created disk partition.
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.