VMware Cloud Community
as900w
Hot Shot
Hot Shot

How do share access a LUN between two ESXi host.

I have a share iSCSI  Storage ( Windows Server 2012 ).

A LUN in the share storage.

I have two ESXi host, they need access the share storage.

But, after I add the LUN on a ESXi host, cannot add the LUN in second ESXi host.

What should I do?

Tags (3)
Reply
0 Kudos
10 Replies
vijayrana968
Virtuoso
Virtuoso

You have to add initiator identifier of second ESXI host on ISCSI target configured on Server 2012.

Reply
0 Kudos
as900w
Hot Shot
Hot Shot

I has been add second ESXI host on ISCSI target configured on Server 2012.

Reply
0 Kudos
vijayrana968
Virtuoso
Virtuoso

Then cross check at ESXI host level you have proper ISCSI binding with valid vmkernel port. You can compare settings of working host.

Reply
0 Kudos
adgate
Enthusiast
Enthusiast

Just connect a LUN using iSCSI/FC to both hosts (ensure multipathing is enabled) and then create a datastore.

Reply
0 Kudos
Jitu211003
Hot Shot
Hot Shot

Use the below command on second host where you are facing the issue

esxcfg-scsidevs -m

esxcfg-volume -M  "volume_lable"

This would detect the unmapped datastore on host and mount it forcely.

Thanks

Vmwarediary.com/vmwarediary.in

Reply
0 Kudos
as900w
Hot Shot
Hot Shot

I have two LUN in the iSCSI  Storage ( Windows Server 2012 ).

After add a LUN to first ESXi host, I can add anothe LUN to second ESXi host.

Reply
0 Kudos
as900w
Hot Shot
Hot Shot

Where do enable multipathing?

My storage Multipathing Policies is Fixed (VMware ).

Reply
0 Kudos
vijayrana968
Virtuoso
Virtuoso

Please check parameters of static or dynamic target discovery you have configured on both hosts.

Reply
0 Kudos
as900w
Hot Shot
Hot Shot

iSCSI Software Adapter > Targets ?

Dynamic Discovery

iSCSI Server: iSCSI_Server_IP:3260

Static Discovery

iSCSI Server: iSCSI_Server_IP:3260

Target Name: iqn-1991-05........

Reply
0 Kudos
Wolken
Enthusiast
Enthusiast

It seems that you are using Microsoft ISCSI Target for LUN sharing - I would suggest using StarWind VSAN Free instead.

It allows to create a virtual disk and share it as ISCSI target. Moreover, it can mirror virtual disks between StarWind VSAN instances, thus you can get HA disk.

You can find manual here: StarWind Virtual SAN Hyperconverged 2-node with VMware vSphere 6.5

Alternatively, you can deploy StarWind VSA​​ , based on Linux and present storage from it as well.

Manual for that is here: Configuring StarWind Virtual Storage Appliance with VMware vSphere

Reply
0 Kudos