VMware Cloud Community
Harj1234
Contributor
Contributor

Iscsi luns getting added to multiple hosts

i have 2 esxi6.7 hosts running on a VMware workstation pro and a third running on a lapto. I added a iscsi kernal port to all 3 hosts via a distributed switch. I mapped a iscsi target which has 2 luns to one host via a software adapter, but the luns show on all 3 hosts. Is this working as designed? What if I want to map one lun to host1 and second lun to host2, how do I do that?

thanks

0 Kudos
6 Replies
daphnissov
Immortal
Immortal

You need to use the ACLs to only permit the IQNs to your targets that you wish.

0 Kudos
Harj1234
Contributor
Contributor

Can you please elaborate a little bit on how to do that or a limk to KB articl? Thanks

0 Kudos
daphnissov
Immortal
Immortal

That depends on what you're using as the storage system for these (which you never said).

0 Kudos
Harj1234
Contributor
Contributor

I have a openfiler installed as a vm on my NAS which presents a disk partitioned into 2 luns to my esxi’s

0 Kudos
diegodco31
Leadership
Leadership

Hi

See this article: Step by Step Configuration Guide for Using Openfiler as Shared Storage in ESXi and vSphere Environme...

Step:

Create NFS Share to make available to ESXi:-

Diego Oliveira
LinkedIn: http://www.linkedin.com/in/dcodiego
0 Kudos