what protocol can be used to require authentication to iscsi virtual disks?

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

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

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

The iSCSI initiator (Net small reckoner organisation interface) is used to connect to the iSCSI based external storage. Workstations and servers use it to mount the target-based book as a local volume and can be managed accordingly. Information technology uses an IP-based Ethernet network to communicate with the iSCSI target server.

In the previous commodity, I have 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 have created on my workstation.

Host Name

IP Address

Operating Organisation

Part

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 apply information technology, nosotros must commencement the service. To start the service, open "Server Director" -> Click on "Tools" and select "iSCSI initiator". See the post-obit prototype:

Server manager

A bulletin box opens that says, we must start the services on the calculator, and the service will exist started automatically." Click on Yeah. Encounter the following epitome:

Iscsi service is not running

Alternatively, yous can kickoff the service from Authoritative tools. Open Control Panel -> Administrative Tools -> open Services -> Detect "Microsoft iSCSI Initiator Service" service. Right-click on it and click on Start. See the following image.

Services

Configure iSCSI initiator

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

Initiator properties

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

Enter iSCSI target server

Equally you can see in the following image, the initiator has been connected to the iSCSI virtual disk.

Login to iSCSI server

Click on Washed to close the dialog box.

Now to use the iSCSI virtual disk, nosotros must initialize information technology. To do that, open Control Panel -> Open up Administrator Tools -> Reckoner Management ->Click on "Disk management," which is on the left pan of Reckoner Management Snap-in. See the post-obit image:

Initialize iSCSI disk

As you can meet in the above image, an unallocated partition has been created. To use it first, we must bring it online. To practice that, right-click on "Disk 1" and click on Online. See the following paradigm:

Bring iSCSI disk online

One time the disk is online, nosotros must initialize information technology and then that the logical disk manager tin 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

Once the disk is online, permit united states create a volume. To exercise that, right-click on "Disk i" and click on "New Elementary Book."

Create new simple volume

The New Simple Volume Magician starts. The first screen shows details about the sorcerer. Click on Side by side. On Specify Volume Size screen, enter the desired size of the disk in text-box named, "Uncomplicated book size in MB". Click on Side by side. See the following image:

Specify volume size

On the Assign Drive Letter or Path screen, y'all can specify the drive letter. Choose the desired drive letter of the alphabet from "Assign the following bulldoze letter" drop-down box and click on Next. See the following image:

assign drive letter or path

On the Format partitioning screen, you tin specify the File arrangement type, allocation unit size, and volume proper noun. You can cull the FAT32 or NTFS file system type from the "File Organisation" drib-down box. Y'all can cull the size of the allocation unit from the "Allocation unit of measurement size" driblet-down box and provide the desired volume name in the "Volume Label" text box. If yous desire to enable the file and folder pinch, click on the "Enable file and binder compression" checkbox. Once all settings are configured, click on Next. See the post-obit image:

Format partition

On "Completing the New Unproblematic Book Wizard", review all the settings and click on Finish to create a new book. Run into the post-obit image

Finish the wizard

Once the volume has been created, yous can admission it from windows explorer, as y'all can come across in the following image that the drive "iSCSI Share" has been created successfully.

New iscsi share have been created

You can view the listing of sessions connected to the iSCSI virtual disk using the server director. 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 continued. If yous want more details of it, correct-click on it and choose properties. Run into the following paradigm:

View iscsi target

In the backdrop dialog box, select "initiators" In the list box, yous can view the IQN of the initiator and session count by each IQN. See the following image:

view list of sessions connected to the iscsi disk

Summary

In this article, I accept covered the following:

  1. Enable the iSCSI initiator service and utilize 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 Simple Book" wizard
  3. View the list of initiators connected to the iSCSI virtual disk
  • Writer
  • Recent Posts

Nisarg Upadhyay

bellangerprackentind.blogspot.com

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

0 Response to "what protocol can be used to require authentication to iscsi virtual disks?"

ارسال یک نظر

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel