Problem with Host iSCSI initiators and SP ports on same subnet
We have a bunch (10) citrix xenservers connected to a CX4-120 via iSCSI connection.
Last night we had one iSCSI port resetting and basically all the citrix servers lost 1 path.
I am new to iSCSI SAN topologies and found that all the citrix server initiators and the corresponding iSCSI ports on both SPs are on the SAME SUBNET (I am working with the network team to correct this situation).
I did some research and found a primus emc156408 which says its not recommended to have all the initiators and FE ports on the same subnet and this might be the reason for the FE port to reset.
So my question is what exactly happens to make the FE port to reset in case of a single subnet configuration.
One of the reasons we "stongly" recommend that you use a different pair of subnets for pairs of SP ports (SPA0/SPPB0, SPA1/SPB1, SPA2/SPB2, SPA3/SPB3), is that on some operating systems where the hosts have two or more NIC's, all NIC's will log into all ports from both NIC's if everything is on the same subnet. Then you could be eigth paths per NIC and 16 total paths (with two NIC's per host) per host - you would start to overload the array iSCSI ports if you had a lot of hosts and they were all active at the same time. Plus, each port on the array would have two Host initiators logging into the same SP port - not sure how your failover software would react under that condition.
A port reset on the array could be caused by a number of things - connectivity issues on the port, lose cable, etc. See emc245445 for a list of all known iSCSI issues. There also may be an issue on the port itself. Some of the articles are for array port issues.
I checked with the citrix server team and the networking team...even though all the server NICs and all the SP iSCSI ports are on the same subnet...only one NIC/server is active other one being passive.
The way I see this, its either
1. The networking/server side issue which caused two NICs from the same server try to login to same SP iSCSI port which might have caused the IO module to reset. BUT, since the server team tells me that only one NIC/server is active so I am guessing this was not the case.
or
2. The IO module is failing? (I don't want to jump to this conclusion because this is the first time something like this has happened)
NIC Teaming is not supported with the MS iSCSI Initiator; Microsoft doesn't support it so of course we don't either. This is mentioned in the E-Lab Interoperability Navigator output when you first qualify your environment:
Also the "EMC Host Connectivity Guide for Windows" repeats the same and is available from PowerLink via the following breadcrumb trail:
Home > Support > Technical Documentation and Advisories > Host Connectivity/HBAs > Installation/Configuration
Active or not, we do not support more than one initiator on the same host logging into the same target. This is mentioned scattered throughout our KB articles and documentation. To control this behavior that is also why you are expected to explicitly pair up the intiators and targets (using "Advanced Settings" in the MS iSCSI initiator when logging into the targets and not accepting "Default" for "Source IP" and "Target Portal"). This is demonstrated in the EMC Host Connectivity Guide for Windows and several of our KB articles. Separate isolated subnets (recommend not setting up a default gw if possible) will prevent this of course, and is just one of several reasons why we require separate subnets as you rightfully identified.
Just one more point, it is not only important to separate your iSCSI subnets from each other but also from the array's (SP and CS) mgmt IP's. We've actually introduced a Navisphere Alert that will warn when an iSCSI interface on the SP's shares the same subnet as the SP mgmt ports as a reminder. Finally, since they are internal subnets used by the CLARiiON (and Celerra), it is also important that none of the subnets you define use: 192.168.1.0/24 or 128.221.0.0/16.
As Glenn pointed out though, review the KB article he referenced as it includes these points along with many other iSCSI configuration best practices.
Oops, sorry just reread and realized that I referenced Microsoft in regards to the NIC Teaming but you were running Citrix Xenserver. Support is generally per the OS vendor. For instance, to put it into perspective, VMware ESX/ESXi supports NIC Teaming of the vSwitch (which includes the VMkernel Ports) while Microsoft doesn't as mentioned above. Similiarly as with the Microsoft support statements, VMware's stance can be found in the "EMC Host Connectivity Guide for VMware ESX Server".
Not completely familiar with Citrix Xenserver myself, maybe someone else can comment from experience; however, again, generally support is per the OS vendor.
What you want is to ensure that each NIC on each host is only configured to log into one SP port per SP. In Windows you can specify the Source and Dest. IP addresses in the iSCSI Initiator Control Panel. Not sure how you can do this on Citrix.
Thank you everyone for your input, as I said before the configuration was done (before I joined at the client) with all the ports on same subnet.
All the iSCSI ports on clariion are configured as 192.168.199.10-13.
All the Citrix servers have IPs 192.168.199.90-100
Flare code version is 30 (4.30.000.5.517)
I am working with networking team to make sure the configuration is changed according to EMC best practices of defining 2 subnets with 1 NIC/iSCSI HBA and 1port/SP per subnet.
kelleg
6 Operator
•
4537 Posts
3371
0
Posted February 1st, 2012 13:00
One of the reasons we "stongly" recommend that you use a different pair of subnets for pairs of SP ports (SPA0/SPPB0, SPA1/SPB1, SPA2/SPB2, SPA3/SPB3), is that on some operating systems where the hosts have two or more NIC's, all NIC's will log into all ports from both NIC's if everything is on the same subnet. Then you could be eigth paths per NIC and 16 total paths (with two NIC's per host) per host - you would start to overload the array iSCSI ports if you had a lot of hosts and they were all active at the same time. Plus, each port on the array would have two Host initiators logging into the same SP port - not sure how your failover software would react under that condition.
glen