Windows Server 2022

Install and Configure iSCSI on Windows Server 2022

This Windows Server 2022 Tutorial covers how to Install and Configure iSCSI on Windows Server 2022. Internet Small Computer Systems Interface is an Internet Protocol-based storage networking standard for linking data storage facilities. It provides block-level access to storage devices by carrying SCSI commands over a TCP/IP network. iSCSI follows the Server-Client model. The iSCSI Target (Server) makes storage available for the iSCSI Initiator (Clients) to use.

Table of Contents

  • Install iSCSI Target
  • Configure iSCSI Target
  • Configure iSCSI initiator

Demo environment – iSCSI Target

  • Computer Name: server1.test.com
  • Operating System: Windows Server 2022 Datacenter
  • IP Address: 192.168.3.3

Demo environment – iSCSI Initiator

  • Computer Name: server2.test.com
  • Operating System: Windows Server 2022 Datacenter
  • IP Address: 192.168.3.4

Install iSCSI Target

Steps for Install iSCSI Target

  1. Open Add roles and features Wizard
  2. Select installation type
  3. Select destination server
  4. Select server roles
  5. Select features
  6. Confirm installation selections

1. Open Add roles and features Wizard

Open the Server Manager dashboard and click Add roles and features.

Install and Configure iSCSI on Windows Server 2022

Before you begin, click Next.

Install and Configure iSCSI on Windows Server 2022

2. Select installation type

Select Role-based or feature-based installation and click on Next.

Install and Configure iSCSI on Windows Server 2022

3. Select destination server

Select a Host to which you’d like to add services and click Next.

Install and Configure iSCSI on Windows Server 2022

4. Select server roles

Choose the iSCSI Target Server box from the server roles page.

Install and Configure iSCSI on Windows Server 2022

5. Select features

On the Select features console, just click Next because we do not require any extra features at the moment.

Install and Configure iSCSI on Windows Server 2022

6. Confirm installation selections

Confirm installation selections and click on Install to start the installation process.

Install and Configure iSCSI on Windows Server 2022

After finishing the installation, click Close.

Install and Configure iSCSI on Windows Server 2022

Configure iSCSI Target

Steps for Configure iSCSI Target

  1. Open New iSCSI Virtual Disk Wizard
  2. Select iSCSI virtual disk location
  3. Specify iSCSI virtual disk name
  4. Specify iSCSI virtual disk size
  5. Assign iSCSI target
  6. Specify target name
  7. Specify access servers
  8. Enable Authentication
  9. Confirm selections
  10. View Results

1. Open New iSCSI Virtual Disk Wizard

Open the Server Manager dashboard and click File and Storage Services.

Install and Configure iSCSI on Windows Server 2022

Select iSCSI and click To create an iSCSI virtual disk, start the New iSCSI Virtual Disk Wizard.

Install and Configure iSCSI on Windows Server 2022

2. Select iSCSI virtual disk location

Select Type a custom path and browse for the folder we created earlier and click Next.

  • Custom path: c:\disk
Install and Configure iSCSI on Windows Server 2022

3. Specify the iSCSI virtual disk name

Enter the Name and Description for the virtual disk and click Next.

  • Name: disk1
  • Description: iSCSI Disk1
Install and Configure iSCSI on Windows Server 2022

4. Specify iSCSI virtual disk size

Specify the disk size for the virtual disk, Select Dynamically expanding and click Next.

  • Size: 10GB
Install and Configure iSCSI on Windows Server 2022

5. Assign iSCSI target

Select New iSCSI target and click Next.

Install and Configure iSCSI on Windows Server 2022

6. Specify target name

Enter the Name and Description for iSCSI Target and click Next.

  • Name: target1
  • Description: iSCSI Target1
Install and Configure iSCSI on Windows Server 2022

7. Specify access servers

Click Add to specify the iSCSI initiator that will access this iSCSI virtual disk.

Install and Configure iSCSI on Windows Server 2022

Select Enter a value for the selected type, choose IP Address from the drop-down menu, enter Initiator IP Address and click OK.

  • Initiator IP Address:192.168.3.4
Install and Configure iSCSI on Windows Server 2022

Click Next to continue.

Install and Configure iSCSI on Windows Server 2022

8. Enable Authentication

Select Enable CHAP, set username and password, and click Next.

Install and Configure iSCSI on Windows Server 2022

9. Confirm selections

Confirm selections and click Create.

Install and Configure iSCSI on Windows Server 2022

10. View Results

After finishing the installation, click Close.

Install and Configure iSCSI on Windows Server 2022

Configure iSCSI initiator

Open the Server Manager dashboard click Tools and select iSCSI Initiator.

Install and Configure iSCSI on Windows Server 2022

Click Yes to continue.

Install and Configure iSCSI on Windows Server 2022

Enter Target’s IP address and click Quick Connect.

  • Target: 192.168.3.3
Install and Configure iSCSI on Windows Server 2022

Click Done.

Install and Configure iSCSI on Windows Server 2022

Click Connect.

Install and Configure iSCSI on Windows Server 2022

Click Advanced.

Install and Configure iSCSI on Windows Server 2022

Enable CHAP log on, set username & password, and Click OK.

Install and Configure iSCSI on Windows Server 2022

Click OK.

Install and Configure iSCSI on Windows Server 2022

Check the Status.

Install and Configure iSCSI on Windows Server 2022

Open the Server Manager dashboard, click Tools and select Computer Management.

Install and Configure iSCSI on Windows Server 2022

Click Disk Management, the iSCSI Disk has been attached as follows.

Install and Configure iSCSI on Windows Server 2022

To use the iSCSI Disk turn it online and initialize it and then assign the drive letter.