Configuring Windows Server 2019 as an iSCSI Target Server

Photo of author

By Victor Ashiedu

Published

Do you need help configuring a Windows Server 2019 server as an iSCSI target? This article will be your guide – hands-on with screenshots step-by-step.

iSCSI Overview

iSCSI (Internet Small Computer System Interface) defines the protocols for transmitting SCSI (data) over a TCP/IP network. The protocol allows SCSI commands to be sent over LAN, WAN, or the Internet.

The use case for iSCSI is setting up a shared storage device on the network accessed by multiple servers and clients. The “shared storage device” is the iSCSI Target, while the servers and clients that access the iSCSI server are known as Initiators.

In other words, an iSCSI target provides the storage that an iSCSI Initiator connects to. This guide illustrates how a Windows Server 2019 can be configured as an iSCSI storage target.

In follow-up guides, I’ll configure two VMWare ESXi servers to share the iSCSI storage. Additionally, another article will show how to set up a Veeam backup server to share the iSCSI server.

Step 1: Install iSCSI Storage Server Role

  1. Sign in to the Windows Server you want to configure as an iSCSI server and open Server Manager.
  2. Then, click Manage and choose Add Roles and Features.
How to configure iSCSI in Windows Server 2019?
  1. Once the Add Roles and Features Wizard opens, click Next three times. After that, expand File and Storage Services -> File and iSCSI Services.

    Under File and iSCSI Services, check the iSCSI target Server checkbox. Then, on the pop-out, click Add Features.
How to configure Windows iSCSI?
  1. After selecting that, the wizard returns to the main page. Click Next twice, then click Install to start installing the iSCSI Target Server role.
How do I add iSCSI to my Windows server?
How do I set up iSCSI storage?
  1. Finally, wait for the installation to complete, click Close, and proceed to step 2.
Configure iSCSI Windows Server 2019

Step 2: Configure an iSCSI Virtual Disk

  1. On the left pane of Server Manager, click File and Storage services -> Disks.
Configure iSCSI Windows Server 2019
  1. The Disks pane will display the physical disks on the server. Confirm that they are online.

    If any of the disks are offline, right-click it and select Online.
  1. After that, click the iSCSI once, then click “To create an iSCSI virtual disk, start the iSCSI Virtual Disk wizard.”
Configure iSCSI Windows Server 2019
  1. When the New iSCSI Virtual Disk wizard opens, on the first page, select the disk volume you want to use and click Next.
  1. Then, give the iSCSI virtual disk a name and description (optional). After that, click Next.
Configure iSCSI Windows Server 2019
  1. Then, on the “Specify the iSCSI virtual disk size,” enter a size, select the disk option, and click Next.
  1. On the Assign iSCSI target page, select an existing target or create a new one – click Next to continue.
Configure iSCSI Windows Server 2019
  1. Give the iSCSI target a name and description (option), then click Next.
  1. On the “Specify Access servers” page, click Add, then add the iSCSI initiators that will connect to this target. Follow the screenshot numbering shown below.

After adding the iSCSI initiators, click Next.

In my example, I have added the IP addresses of the VMware ESXi servers that will use this target as a shared data store.
Configure iSCSI Windows Server 2019
  1. On the “Enable Authentication” page, enable CHAP or reverse CHAP – click Next when you finish.
Configure iSCSI Windows Server 2019
  1. Finally, to configure the Windows Server 2019 as an iSCSI target server, review your selections and click Create.
After closing the wizard, all iSCSI virtual disks will be listed. See the second screenshot below.

Step 3: Configure the iSCSI Target Settings

I recently configured a Windows Server 2022 as an iSCSI target server and disabled the IPv6. When I did this, my iSCSI initiators could no longer connect to the Windows Server iSCSI target.

After I resolved the problem, I decided to include the fix in this guide as a third step. Here are the details:

  1. Confirm that IPv6 is enabled: Open Control Panel, search network, and click View network connections.
  1. Then, open the network adapter name, after that follow the numbering in my screenshot below to confirm that IPv6 is enabled.

The Internet Protocol Version 6 (TCP/IPv6) checkbox should be checked if IPv6 is enabled.

  1. Next, open Server Manager and click the File and Storage Services node. Then, click the Servers subnode, right-click the iSCSI target server, and select iSCSI Target Settings.
Next, open Server Manager and click the File and Storage Services node. Then, click the Servers subnode, and right-click the iSCSI target server, and select iSCSI Target Settings.
  1. Finally, check all the checkboxes and click OK.

The first IP is the IPv4 address of my target server. Meanwhile, the second address is the IPv6 address while the third is the Link-local IPv6 Address – compare my second screenshot with the iSCSI target settings in the first screenshot.

Finally, check all the checkboxes and click OK.
The first IP is the IPv4 address of my target server. Meanwhile, the second address is the IPv6 address while the third is the Link-local IPv6 Address

Conclusion

Setting up Windows Server 2019 as an iSCSI target server is a two-step process. The first step is installing the role.

After installing the role, the final step is to create iSCSI virtual disks. This article provides the steps to complete these tasks, and we hope you found it helpful.

If you deployed iSCSI in Windows Server 2019 with the steps in this guide, we would be glad to hear about it. Feel free to share your thoughts by utilizing the “Leave a Reply” form located at the bottom of this page.

Alternatively, you can respond to the “Was this page helpful?” question below.

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

Leave a comment