banner



How To Create Iscsi Target In Windows 2016

In this article, I am going to explicate how we tin configure the iSCSI initiator and use it to connect to the iSCSI virtual disk on the target server.

In my previous article, Installing and configuring the iSCSI target Server on Windows Server 2016, I take explained the following:

  1. Install iSCSI target function on windows server 2016
  2. Create a new iSCSI virtual deejay and configure the access server

The iSCSI initiator (Internet small computer arrangement interface) is used to connect to the iSCSI based external storage. Workstations and servers use it to mount the target-based volume equally a local volume and can be managed appropriately. Information technology uses an IP-based Ethernet network to communicate with the iSCSI target server.

In the previous article, I accept already configured the iSCSI target server and created a virtual disk on "SAN.Dc.Local" server. We will configure the initiator on "Dc. Local" server and connect the virtual disk that is created on SAN.DC.Local. Following is the setup that I take created on my workstation.

Host Name

IP Address

Operating Arrangement

Function

DC.Local

192.168.0.100

Windows Server 2016

iSCSI initiator

SAN.Dc.Local

192.168.0.130

Windows Server 2016

iSCSI Target Server

Enable the iSCSI initiator

By default, the iSCSI service is stopped. To utilize it, we must kickoff the service. To start the service, open "Server Manager" -> Click on "Tools" and select "iSCSI initiator". See the post-obit image:

Server manager

A message box opens that says, we must start the services on the estimator, and the service will be started automatically." Click on Yes. See the following image:

Iscsi service is not running

Alternatively, you tin can showtime the service from Administrative tools. Open Control Panel -> Authoritative Tools -> open Services -> Find "Microsoft iSCSI Initiator Service" service. Right-click on it and click on Start. Run across the following image.

Services

Configure iSCSI initiator

To configure the initiator, open the Server director -> Click on tools and click on "iSCSI initiator". A dialog box to configure information technology opens. Here you can specify the IP Address or DNS Name of the iSCSI target server OR iSCSI target portal. See the following paradigm:

Initiator properties

To connect to the iSCSI virtual disk, enter the DNS or IP Address of the iSCSI target server. We take configured the iSCSI target server on "SAN.DC.Local" hence, enter the DNS Name and click on "Quick Connect." See the following image:

Enter iSCSI target server

As you can see in the post-obit paradigm, the initiator has been connected to the iSCSI virtual disk.

Login to iSCSI server

Click on Done to close the dialog box.

At present to use the iSCSI virtual disk, we must initialize it. To do that, open Command Panel -> Open up Administrator Tools -> Computer Direction ->Click on "Deejay management," which is on the left pan of Reckoner Management Snap-in. See the following image:

Initialize iSCSI disk

As you can run into in the above image, an unallocated division has been created. To utilize information technology first, we must bring it online. To do that, right-click on "Disk 1" and click on Online. Run across the following image:

Bring iSCSI disk online

Once the disk is online, we must initialize information technology so that the logical disk manager can access it. To do that, right-click on "Deejay 1" and click on "Initialize disk." See the following image:

Initialize the iSCSI disk

A dialog box "Initialize Disk" opens. Click on OK.

Initialize disk dialog box

One time the disk is online, allow us create a volume. To exercise that, right-click on "Disk 1" and click on "New Simple Volume."

Create new simple volume

The New Uncomplicated Volume Magician starts. The offset screen shows details almost the magician. Click on Next. On Specify Volume Size screen, enter the desired size of the disk in text-box named, "Uncomplicated volume size in MB". Click on Next. Encounter the following paradigm:

Specify volume size

On the Assign Bulldoze Letter or Path screen, you can specify the drive letter. Choose the desired drive letter from "Assign the following drive letter" drop-down box and click on Next. Run into the post-obit epitome:

assign drive letter or path

On the Format partition screen, y'all can specify the File organization blazon, allocation unit size, and volume name. You can choose the FAT32 or NTFS file system blazon from the "File Organization" drib-down box. You tin cull the size of the allotment unit from the "Allotment unit of measurement size" driblet-downwards box and provide the desired volume name in the "Volume Characterization" text box. If you want to enable the file and folder compression, click on the "Enable file and binder compression" checkbox. Once all settings are configured, click on Next. See the following image:

Format partition

On "Completing the New Simple Volume Wizard", review all the settings and click on Finish to create a new volume. See the following prototype

Finish the wizard

In one case the book has been created, you can access it from windows explorer, as you can run across in the following image that the bulldoze "iSCSI Share" has been created successfully.

New iscsi share have been created

You can view the list of sessions connected to the iSCSI virtual disk using the server manager. To do that, log in to "SAN.DC.Local" and open Server Manager -> Click on "File and Storage Services" -> Click on iSCSI -> In iSCSI target section, you can see that the iSCSI target is connected. If you lot desire more than details of information technology, right-click on it and cull backdrop. Encounter the post-obit image:

View iscsi target

In the properties dialog box, select "initiators" In the list box, you can view the IQN of the initiator and session count by each IQN. See the following paradigm:

view list of sessions connected to the iscsi disk

Summary

In this article, I have covered the post-obit:

  1. Enable the iSCSI initiator service and utilise it to connect to the virtual disk that has been created on SAN.Dc.Local
  2. How to create an iSCSI volume using the "Create Elementary Volume" wizard
  3. View the listing of initiators connected to the iSCSI virtual disk
  • Writer
  • Recent Posts

Nisarg Upadhyay

Source: https://www.sqlshack.com/how-to-configure-an-iscsi-initiator-on-windows-server-2016/

Posted by: triggitere1938.blogspot.com

0 Response to "How To Create Iscsi Target In Windows 2016"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel