iSCSI Problems

Status
Not open for further replies.
So I'm trying to get volumes on the new SAN setup via iSCSI on the host server. The server has 2 dedicated NICs and the SAN has 4 dedicated NICs for the iSCSI network. The network consists of 2 dedicated gigabit Dell switches. The ports are split equally between the 2 switches (1 server port and 2 SAN ports per switch). Everything has been assigned a 192.168.x.x address. All SAN IPs are pingable from the server.

When I try to setup the iSCI initiator, I go to the Discovery tab and add the following info:

IP Address of target portal 192.168.131.102 (SAN IP)
Standard port number
Advanced->
Local Adaptor: Microsoft iSCSI Initiator
Source IP: 192.168.131.100 (IP of one of the Server NICs)
All Chap/IPSEC is left empty.

When I say OK, I get a Initiator Error message. In the Event Log I get the following:

iSCSI discovery via SendTargets failed 0xefff0008 to target portal *192.168.131.102 0003260 Root\SCSIADAPTER\0000_0 192.168.131.100.

The server is running Windows 2003 SP 2 and MS iSCSI Initiator 2.07 (64 bit). This is a new SAN installation, so don't assume it works for other hosts. I don't know if the problem is with the host or the SAN config or both.

Any ideas as to what I'm doing wrong?
 

Fulgan

Ars Tribunus Angusticlavius
7,534
Subscriptor
Ok. You probably have setup your network incorrectly. Make sure that:

- You really have two phsically AND logically separated segments not a single IP subnet assigned to equipment on two differente physical segments.
- You have installed the multipath drivers for your iSCSI SAN vendor. That's usually necessary.
- You have added ALL the SAN IPs as portal.

If, as I think you are, you're using Dell's MD 3000i, then you absolutely need to do all of the above of your SAN connectivity will fail. The Dell documentation is rather crappy, but if you follow it exactly, it will most likely allow you to install the system properly. Don't forget to check for the SAN controllers firmware updates: dell has released a new version earlier this year that fixes a lot of multipath problems on 64bits plateform.
 
Originally posted by Fulgan:
Ok. You probably have setup your network incorrectly. Make sure that:

- You really have two phsically AND logically separated segments not a single IP subnet assigned to equipment on two differente physical segments.
- You have installed the multipath drivers for your iSCSI SAN vendor. That's usually necessary.
- You have added ALL the SAN IPs as portal.

If, as I think you are, you're using Dell's MD 3000i, then you absolutely need to do all of the above of your SAN connectivity will fail. The Dell documentation is rather crappy, but if you follow it exactly, it will most likely allow you to install the system properly. Don't forget to check for the SAN controllers firmware updates: dell has released a new version earlier this year that fixes a lot of multipath problems on 64bits plateform.


I got everything working, my problem was glitch in the host name on the iSCSI Initiator. I reset it and things started working.

To answer your comments, I am using a MD3000i. I do have 2 physically separate networks. One issue I had earlier was with my subnets, I had one big subnet split across 2 physical switches. I had our networking guy look over my setup when I couldn't find the problem there...he spotted it instantly. I now have two subnets to go with my two switches and groups of NICs. God, I hate subnets (spoken as a sys-admin who doesn't know jack about networking -- :D -- )

I did install the multipath Dell drivers.

As far as setting up all of the SAN IPs as portals, here is what I did in the iSCSI Initiator:

Under the Discovery tab I added all 4 SAN IPs with the IP address of the server for that subnet as the source IP.

Under the Target tab, I "logged on" to the target 4 times. Each time I specified a different SAN IP as the target portal (with the corresponding Server IP for that subnet as the Source IP).

That is the correct way to it, right? You are right about the documentation, it could use some work.

Note:

I went back into the iSCSI Initiator settings to confirm everything I said about. When I go to Target->Logon->Advanced and look in the Target Portal drop down box, each SAN IP is listed 4 times now! As in 192.168.130.101 / 3260 is listed 4 times. Originally it was only listed once. What's up with that?
 

Fulgan

Ars Tribunus Angusticlavius
7,534
Subscriptor
Under the Target tab, I "logged on" to the target 4 times. Each time I specified a different SAN IP as the target portal (with the corresponding Server IP for that subnet as the Source IP).

That is the correct way to it, right?

Yes, that's the way to do it.

You are right about the documentation, it could use some work.

Never look at the crap they give you for 2008 core install: it simply CANNOT work they way they destcribe it.

I went back into the iSCSI Initiator settings to confirm everything I said about. When I go to Target->Logon->Advanced and look in the Target Portal drop down box, each SAN IP is listed 4 times now! As in 192.168.130.101 / 3260 is listed 4 times. Originally it was only listed once. What's up with that?

I don't think that's normal: it looks like multipathing is not working properly: if you've mounted the LUNs as well, check in the disk manager: if you have several time the same LUN listed (and probably in read-only mode), then you definitely have a multipath problem.

Make really sure you have the latest firmware and the latest version of the multipath driver from dell: I had to update the ones I had to get it to make it work but that was with 2008.

Also, double-check your network configuration: if you have the wrong NIC in the wrong switch or an incorrect network mask somewhere, you might end up with similar results.
 
I don't think that's normal: it looks like multipathing is not working properly: if you've mounted the LUNs as well, check in the disk manager: if you have several time the same LUN listed (and probably in read-only mode), then you definitely have a multipath problem.

Make really sure you have the latest firmware and the latest version of the multipath driver from dell: I had to update the ones I had to get it to make it work but that was with 2008.

Also, double-check your network configuration: if you have the wrong NIC in the wrong switch or an incorrect network mask somewhere, you might end up with similar results.

The BIOS/Firmware on both the server I purchased and the SAN were up to date from the factory! I've NEVER had that happen before. I originally had a problem with incorrect subnets and the NICs being in the wrong switch. However at the time I couldn't get the virtual drives to appear on the server at all. The Initiator kept failing when I tried to setup the target. Once those 2 problems were corrected, I was able to successfully mount the drives.

The drives show up under disk management as expected. I've used diskpart.exe to align them, and I've formatted and assigned drive letters. That has all been as by the book as it could be. I have even pulled one of the cables out of the 2 server NICs. All drives were still accessible (I could copy data to them without error). I pulled the second cable, they went *poof*. When I plugged the first cable back in all drives reappeared within 30 seconds or so and they were all available for reading/writing.

To me...that sounds like multipathing is working. But I also agree that something doesn't sound quite right with so many entries under Target->Logon->Advanced.
 
Status
Not open for further replies.