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.

Frequently Asked Questions

1. What is the Windows Server iSCSI feature used for?

The iSCSI role in Windows Server allows setting up a Windows Server as an iSCSI target. By installing the role, a Windows server makes storage available via the iSCSI protocol.

2. How do I configure iSCSI in Windows Server 2019?

Setting up a Windows Server 2019 as an iSCSI target server is a two-way process. 1, install the iSCSI target server role. 2, create an iSCSI virtual disk.

3. How do I find my iSCSI target?

The easiest way to find an iSCSI target is by using the Windows iSCSI initiator. Open the iSCSI initiator app on a Windows computer and add an iSCSI target.

After that, to view the target, click the Discover tab.

4. Does iSCSI need an IP address?

Yes, iSCSI initiators connect to a target via TCP/IP. This means that the Initiator and the Target need an IP address.

5. What are the limitations of Windows Server iSCSI?

iSCSI target implementation on Windows Server has some general fault tolerance and network limitations. Some general limitations include 256 iSCSI target instances per iSCSI Target Server.

To read the full limitations, visit Microsoft’s iSCSI Target Server Scalability Limits page.

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

Send this to a friend