iSCSI storage problem on ESXi 6.0 and windows

Hi all.
I had a working setup but after the failure of my single virtual ESXi server (WMware work station, deploy ESXI. Install vSphere and add the virtual ESXi server), i have problems.
Basically i cannot add a data store to the ESXI server - it doesn't see anything. I've done this more than a few times previously but wanted to get my logic checked. Here's my setup
Storage host is 2012 R2 physical. VMware work station is installed on the same server.
1. I added iSCSI target (windows on the same s2012 R2 server) and included the IP address if ESXi as the initiator.
2. Created iSCSI target making sure the initiator was correct.
3. From ESXi i can ping the iSCSI target server IP address
4. In ESXi and storage adaptor i choose dynamic target adding the IP address of teh Windows server.
5. If i rescan adaptors and then try to add the dataastore it simply doesn't show up as an option.

It seems VMware is an unforgiving beast and that when something goes wrong, after it was working, you have to trash the lot to get it to work. Any tips appreciated.
Jay ThomasAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pete LongTechnical ConsultantCommented:
>>. I added iSCSI target (windows on the same s2012 R2 server) and included the IP address if ESXi as the initiator.

The VMware IP will be a VMKernel IP visible via a vSwitch, with a physical adaptor you've bound to the software iSCSI Initiator?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jay ThomasAuthor Commented:
Hi Pete. When i configure the storage adaptor do i need to populate the network tab of the initiator? Let me get a screen shot and come back.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Have you added the new iSCSI Initiator to your Storage Server ?

it will be diffrent
Need More Insight Into What’s Killing Your Network

Flow data analysis from SolarWinds NetFlow Traffic Analyzer (NTA), along with Network Performance Monitor (NPM), can give you deeper visibility into your network’s traffic.

Jay ThomasAuthor Commented:
Hi, yes i did. That's the odd thing, I set this all up yesterday with actually 2 ESXi servers and attached both to the iSCSI no problem. I seems like some sort of caching issue on the Windows target perhaps.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
is the LUN present under Storage Adaptors ?

did you also check using vmkping, and not ping ?

there is no need to add a datastore, as you've already created one! That option should be "add new datastore." or "format new datastore", as it has already been formatted the lun with VMFS
Jay ThomasAuthor Commented:
Hi both. Managed to get iSCSI attached. In terms of why i had issues i don't know but I'll summarise here.
When i created the environment the first time i created an iSCSI target in 2012R2. And on the Storage adaptor i chose dynamic discovery adding the IP address of the iSCSI target only. I did this on 2 ESXi servers - worked both.

When i tried to re-attach i did exactly the same thing, but on scanning, the LUN was not detected by VMware on either host. So this time i included a static entry on the storage adaptor along with the IQN of the target and it worked.

I know i'm not teaching anything anything new here, but lesson learnt from my side is not to rely on dynamic discovery.
Thank you both.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.