VMware Cloud Community
Dennist777
Enthusiast
Enthusiast

iSCSI Target IQN, IP, or both

Does vSphere recognize a iSCSI datastore based on the Target IQN, IP, or both?  EG Host A is configured to access the datastore via IP 10.100.100.100 (NAS HBA 1) and Host B via IP 10.100.100.101 (NAS HBA 2), both to the same iSCSI datastore/IQN.  

0 Kudos
5 Replies
alantz
Enthusiast
Enthusiast

You map to a LUN so both, you need the IP for layer 3 connectivity, but you need the IQN to make connecting to the session possible for layer 5 session for iSCSI.  Layer 4 transport is TCP 3260. 

--Alan--

 

 

 

0 Kudos
Dennist777
Enthusiast
Enthusiast

So vSphere identifies a iSCSI datastore by IP+IQN+port?  

0 Kudos
alantz
Enthusiast
Enthusiast

Such is the way of all TCP/IP, you have to have an IP and Port to create sockets. And once ESXi establishes that connection to port 3260 and creates the iSCSI session, then you connect to the appropriate LUN that houses the DataStore.

--Alan--

 

0 Kudos
Dennist777
Enthusiast
Enthusiast

My question has to do with how vSphere determines a datastore defined on a host is the same datastore defined on another host in a cluster, not basic networking.

0 Kudos
IRIX201110141
Champion
Champion

Because of VMFS is a cluster file system and it will populate MetaData so new/additional Hosts can participate if they get phys. access to the block storage.

Regards,
Hosts

0 Kudos