Windows Server 2016

Add iSCSI Shared Storage in Windows Server 2016

Using iSCSI to mount shared storage is common today. Let's see how we can Add iSCSI Shared Storage in Windows Server 2016.

If you are configuring a Windows Server 2016 Failover cluster or you are building a Windows Server 2016 Hyper-V cluster, you will need shared storage so that either the file or virtual machine resources don’t live on local storage which would negate the high availability benefits of a Windows Server 2016 cluster. ย A very popular and useful storage protocol in use everywhere today is iSCSI orย Internet Small Computer System Interface that allows SCSI messages to be sent end to end in conjunction with the TCP protocol. ย Let’s take a look at how to add iSCSI shared storage in Windows server 2016.

Add iSCSI Shared Storage in Windows Server 2016

Before we begin, let’s talk about prerequisites. ย We need to have connectivity from the iSCSI initiator which will be our Windows Server 2016 server and the iSCSI target, which in this demonstration will be a FreeNAS appliance. ย You need to take into consideration any firewall or filtering issues that would prevent communication between the devices. ย Typically, iSCSI uses TCP ports 860 and 3260 for communication.

In Windows Server 2016, you can find theย iSCSI Initiatorย application by clicking the Windows button and then starting to typeย iSCSI to initiate the search. ย It should populate. ย However, you can also launch the application by simply typingย iscsicpl.exe in the run or search menu.hvclusgui01c

You will see a dialog box pop up when you first launch the iSCSI initiator application. ย This dialog lets you know that theย Microsoft iSCSI service is not running. ย If you clickย Yes, it will start the service and it will set the service to start automatically. ย When thinking about mounting storage, we definitely want the Microsoft iSCSI service to start automatically as this will allow any storage targets to mount when the server is started or rebooted, etc.

hvclusgui01a

After clickingย Yes on the dialog box, we can check the services console and see theย Microsoft iSCSI Initiator Service is nowย Running and also set to theย Automaticย Startup Type.

hvclusgui01b

Now that we have theย iSCSI Initiator Properties dialog box open, we can enter the IP address of theย iSCSI Target. ย In my case there are no special connection considerations that I have setup for the FreeNAS target, so I can simply hit theย Quick Connect button which will automatically connect to the iSCSI target.

hvclusgui02

Notice when clicking theย Quick Connect button, I see theย Status ofย Connected and the target name matches the target setup in FreeNAS.

hvclusgui03

Next, we need to click theย Volumes and Devices tab to setup the iSCSI volume. ย Again, here I click theย Auto Configure option as this will automatically add and configure all available devices in the target.

hvclusgui04

Now, I see the device volume mounted.

hvclusgui05

If you have any special considerations to be made in the configuration of the iSCSI connection, those can be setup under theย Configurationย tab. ย These include CHAP or IPsec credentials, etc. ย You can also generate reports about the connected targets and devices as well as change the initiator name from the configuration tab.

hvclusgui06

Adding iSCSI Storage in Disk Management Windows Server 2016

Our work is not done yet. ย We still need to add the volume in Windows Server 2016 Disk Management so the volume can actually be used by Windows. ย Notice below, after rescanning the disks we see our iSCSI volume now showing up. ย It will be added asย Offlineย when it is brought in initially.

hvclusgui07

Right-click the new volume and selectย Online. ย This will bring the disk online.

hvclusgui08

Next, we need toย Initializeย the disk. ย So again, we right-click and selectย Initialize Disk.

hvclusgui09

We have the option here for eitherย MBR orย GPT which for all volumes to support large volumes sizes, etc, we want to chooseย GPT.

hvclusgui10

Now we have a new disk that is ready to be provisioned, formatted, etc.

hvclusgui11

Thoughts

The process toย Add iSCSI Shared Storage in Windows Server 2016 is very straightforward. ย After we have network connectivity between our initiator and the iSCSI target, we can use the GUI setup shown above to actually setup the connection between the two. ย Additionally, we have to add the storage in disk management to Windows so that it has the storage provisioned and ready to use.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.