Thursday , September 20 2018
Breaking News
Home > vSAN > How to Configure iSCSI Target on vSAN

How to Configure iSCSI Target on vSAN

VMware has announced the iSCSI Target service on the vSAN datastore with the release of vSAN 6.5. So if you are using the older version of vSAN you won’t see this feature. vSAN 6.5 or above versions are supported for vSAN iSCSI Target feature. Use the iSCSI target service to enable hosts and physical workloads that reside outside the vSAN cluster to access the vSAN datastore.As we know vSAN is an object based storage. Now with iSCSI target service you can use the vSAN storage to store the workloads which are outside the vSAN Cluster.

vSAN features such as Storage Policies, Deduplication, Compression etc are supported with the vSAN iSCSI Target Service. It also supports the secured authentication methods such as CHAP and Mutual CHAP. After you configure the vSAN iSCSI target service, you can discover the vSAN iSCSI targets from a remote host. To discover vSAN iSCSI targets, use the IP address of any host in the vSAN cluster, and the TCP port of the iSCSI target. To ensure high availability of the vSAN iSCSI target, configure multipath support for your iSCSI application. You can use the IP addresses of two or more hosts to configure the multipath.

Before you start configuring the iSCSI Target service you must have to create VMkernel port on each of the ESXi Host which are in vSAN Cluster. Make sure to create VMkernel port with different subnet to segregate the traffic.

Let’s see how to configure iSCSI Target Service in vSAN:

Step 1:
Login to vSphere Web Client.
Select the vSAN Cluster.
Go to Configure Tab > iSCSI Targets.
Click on Edit button.

vsan-iscsi-1

Step 2:
Check the box to Enable the iSCSI Target Service.
Select the iSCSI Network you have created.
You can enable the authentication here.
Select the storage policy for the vSAN home Object.
Click OK to save.

vsan-iscsi-2

Step 3:
Now we need to create an iSCSI Target.
Click on green plus icon to create iSCSI target.

vsan-iscsi-3

Step 4:
Here you can see various details for the iSCSI Target.
Provide Alias for the iSCSI Target.
You can select the storage policy for the iSCSI Target.
Select the Network and Authentication for the iSCSI Target.
Next we will be Adding LUN to the iSCSI Target.
Specify the LUN ID, Alias, Storage Policy and Size for the LUN.
Whichever policy you select you can see the storage consumption here.
Click OK to create Target and LUN.

vsan-iscsi-4

Step 5:
As you can see that iSCSI Target and LUN is created successfully.

vsan-iscsi-5

Step 6:
Next step is to provide access to the iSCSI Target.
Open the iSCSI Initiator properties.
Specify the Target Name (Anyone of the ESXi Host of vSAN Cluster.) and click on Quick Connect.

vsan-iscsi-6

Step 7:
Once you click on quick connect, you can see the Discovered targets.
You can verify the IQN from vSAN iSCSI Target.
Click Done.

vsan-iscsi-7

We have successfully discovered iSCSI Target which we have create on vSAN. It is listed below.
Click on OK to save and close.

vsan-iscsi-8

 

You can go into Computer Management and see the Disk is listed there.

vsan-iscsi-9

 

You can Configure and Use this disk as to storage data directly on the vSAN Datastore. Using this way you can easily create iSCSI Target on the vSAN Datastore and use this Target to store the workloads which are outside the vSAN Cluster.

Note: vSAN iSCSI target service does not support other vSphere or ESXi clients or initiators, third-party hypervisors, or migrations using raw device mapping (RDMs).

Checkout our Posts on vSAN:

What is VMware vSAN ?

vSAN Hybrid vs All Flash Overview.

What is Disk Group in vSAN ?

vSAN Objects and Components Overview.

vSAN Deduplication and Compression Overview.

vSAN Storage Policies Overview.

How to Create vSAN VMkernel Step by Step ?

How to Configure vSAN Step by Step ?

How to Run vSAN Proactive Tests ?

How to Create vSAN Storage Policy Step by Step ?

How to Assign vSAN Storage Policy to the virtual machine ?

How to View vSAN Capacity ?

vSAN Maintenance Mode Overview ?

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Join Our LinkedIn Group to get Fast updates about our posts : Mastering VMware.
Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.

About Mayur Parmar

Hi I am Mayur Parmar. Independent Author & Founder of Mastering VMware. I am working in IT industry for more than 2 Years with knowledge of VMware , Microsoft Server's, Linux Server's.

Check Also

Nakivo Advance Bandwidth Throttling

NAKIVO is a fast-growing software company for protecting virtualized and cloud environments, NAKIVO Backup & …

SRM Reprotect

SRM: How to Reprotect VM in SRM

Site Recovery Manager comes with the Reprotect option which will Reprotect or failback the virtual …

Run Recovery Plan

SRM: How to Run Recovery Plan in SRM

In previous post we have ran the Test Recovery plan for the virtual machine but …