I have been trying to get iSCSI set up on my network with little success. I set up the target on a Windows 2012 box and I can get other Windows 2012 boxes to connect but not my ESXi 5.1 box. When I try to connect, I get a login failure event (0301) and nothing happens. Is there anything special I need to do to get this to work?
Thanks
Bert
Good catch. I verified that the service was enabled, but it was not started. I'm now in using SSH.
Bert
OK, I managed to establish an SSH connection and all of the nc commands listed on your blog work fine.
Bert
BertP wrote:
OK, I managed to establish an SSH connection and all of the nc commands listed on your blog work fine.
This would mean that you have a physical connection to the iSCSI target and the specific TCP port are available from Windows. Remaining is either the access control on the iSCSI target or the iSCSI initiator configuration on the ESXi host.
While in SSH, could you run:
esxcli network ip connection list | grep 3260
and paste the result here?
I get nothing back.
Bert
I even get nothing when I spell "connection" correctly...
Bert
BertP wrote:
I even get nothing when I spell "connection" correctly...
If you skip the "| grep 3260" do you see other sessions listed?
Yup. Too many to list.
Bert
But, wouldn't I only see a 3260 connection if I had a live iSCSI connection?
Bert
If I go into vSphere and command a rescan of the iSCSI target, I do get a single 3260 entry in response to the esxcli command, which is what I would expect, right?
Bert
BertP wrote:
But, wouldn't I only see a 3260 connection if I had a live iSCSI connection?
Yes, you would. To me this indicates that your iSCSI initiator does not manages to setup the TCP session at all. We know that it is "physically" possible through the other commands, so it would be good to look at the configuration again.
Could you post a screenshot of both the Networking tab under Configuration, and the Discovery tab on the iSCSI software adapter under Storage Adapters?
OK. I only have one operating nic on this box at this time. Would that make a difference?
BertP wrote:
OK. I only have one operating nic on this box at this time. Would that make a difference?
It might make a difference. Since you have both the Management IP and the iSCSI IP on the same network there are a high chanse of the "iSCSI" vmk being not used in favor of the lower IP address on the Management interface.
Could you try to on the Windows 2012 iSCSI target (on "inititators") add the IP address of 172.33.3.10?
As an additional initiator or replace the current IQN with the ip address? I did try that already, BTW, and it didn't work. But, I can try it again.
Bert
you can resolve this issue by adding the IP to the storage server host file as follows
ESXIHOSTNAME.DOMAIN.COM XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX
this is cause by iSCSI trying to resolve the host on the domain