How to create ISCSI shared disk in windows server for ESX VSphere environment.

This my first blog for ESX/VSphere where the requirement was to create ISCSI data store for HA & DRS (High Availability & Distributed Resource Scheduler).  We created storage from windows server instead of having a dedicated storage appliance/VM. The purpose of such configuration is only for learning & testing the HA/DRS activity.

This configuration is designed on windows 2012 R2 with ESX 6.0.

On windows server, install ‘File and ISCSI services’ and make sure ‘ISCSI Target server’ is selected.


Once the role is installed then select ‘File and storage services’ feature and then ‘ISCSI’.

Right click on empty space and select ‘New ISCSI Virtual Disk’ as shown in above example. In my screenshot one of the volume is created and I am creating a new one.


Now select the partition where you wish to place the Virtual Disk.


Give the appropriate Name and Description and confirm the path of SCSI target.


Give the appropriate size & select type of disk as mentioned below. In my example I have selected ‘Dynamically expending’ as I don’t need to worry about space.


You need to create target that will be the list of ESX servers participating in HA/DRS and access VHD using ISCSI protocol.


In my example, I have used DNS name of ESX servers as initiator but it can also be access using IQN, IP address OR MAC address.


In following screenshot, there are two ESX servers are added but you have even more.


Select type of authentication, I am leaving it blank to avoid confusion.


In next page, you can confirm the setting you have selected and the result of different section will be available for you.10.jpg

Now the shared ISCSI disk is ready, you can add this in ESX server using VSphere console. Select ESX server \ Manage \Storage \ Storage Adaptor \Target \ Add Target.


Rescan storage so all newly attache drives are visible.


Now you should be able to see the path of all available SCSI share disk.


SCSI disk will also be available as storage devices.


In your windows server, you would notice the target status as ‘connected’.


#disaster-recovery, #esx, #scsi, #storage, #vmware