VMware Cloud Community
Bosco
Contributor
Contributor

iSCSI setup on multiple ESX server

How can we setup iSCSI volume (from Netapp) to multiple ESX servers so we can do vmotion between them? When we try to set it up, but seems like only the first ESX can see and use the volume. The other ESX server can discover the volume but cannot use it. Is there any setting we missed?

Thanks.

0 Kudos
2 Replies
titaniumlegs
Enthusiast
Enthusiast

Make sure you map the LUN to all ESX servers using the same LUN ID. Easiest way to do that is to use one igroup for all servers

f31> igroup show

esx_cluster1_iscsi (iSCSI) (ostype: vmware):

iqn.1998-01.com.vmware:esx3-567b39b5 (not logged in)

iqn.1998-01.com.vmware:esx4-1775c7bf (not logged in)

(Yeah, I know they're not logged in.)

Then, when you map the LUN, all ESX servers see it at the same LUN ID. This doesn't matter as much in newer versions of ESX3.5 (I don't know which update this started with).

When you connect ESX, on the first ESX server, you rescan, then "Add Storage" (which really means "format"). On the rest, after the first one is done, just rescan.

Can you share your igroups and lun show -m?

Peter

Share and enjoy! Peter If this helped you, please award points! Or beer. Or jump tickets.
0 Kudos
admin
Immortal
Immortal

Yup sounds like the above poster is correct, if you format a LUN as VMFS with an ESX host and that LUN is presented to it as LUN 0 then it must also be presented to the other ESX hosts as LUN 0 or they will see it as a snapshot volume and refuse to mount it automatically. (you can enable snapshot LUNs but it is not advisable unless you have a specific requirement to do so, and this is not a situation you should do it).

0 Kudos