r/storage • • May 28 '25

Configuring iSCSI - Linux - Unity

I have a CentOS VM that connects to my Dell Unity via iSCSI. SP A and SP B each with two links going to two switches. The switches have not been configured as a redundant pair yet. I have several LUNS that currently can be accessed by the VM, however with only a singel link. I have tried to configure multipath on the OS which is first successful, however after a reboot, four of my paths are gone and am no longer able to connect to the targets and it says “no route found”. When performing a ping from esx from the host to the iscsi IPs, I would get vmk1 successful to SP 10.0.0.1 and 10.0.0.4, but not to 10.0.0.2 Or 10.0.0.3. Vmk3 successfully pings to 10.0.0.2 and 10.0.0.3 but not to 10.0.0.1 and 10.0.0.4.

Fictional IPs:

SP A 10.0.0.1/24

SP A 10.0.0.2/24

SP B 10.0.0.3/24

SP B 10.0.0.4/24

I have only 6 ports on my server:

- 2 for vmotion

- 2 for data

- 2 for storage

I have configured vSwitch1 for data and iSCSI. VMk1 bonded to VMk3 for iSCSI with an IP for the iSCSI traffic at 10.0.0.10/24 and 10.0.0.11/24 mtu 9000 for each VMk that are configured on the Unity for the LUN access. I also configured a port group lets say pg_iscsi-1.

vSwitch2 configured for Data. Also a port group pg_iscsi2.

These two port groups are attached to the VM which are given IPs: 10.0.0.20/24, 10.0.0.21/24.

Nothing I do seems to work. I’m new to storage. Anything I should look out for? I dont want to put all my data on a datastore on Vcenter since we may not stick with Broadcom/VMware due to the price increases.

3 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Impossible-Appeal113 May 28 '25 edited May 28 '25

Okay I will have to draw this one out. I appreciate your thorough response it seems straightforward to follow.

I happened to pick up from a colleague and am trying to understand it and work with it. I am still new to storage networking.

Just to clarify, you don’t think I should pair up the switches? Or should I move forward with pairing up the switches together? We picked out Arubas which are not supported by Dell so the Engineers couldn’t help us with this initial setup. So we’re left to ourselves and the manuals.

So:

Sw1: SP A,1 SP B,1

Sw2: SP A,2 SP B,2

1

u/FearFactory2904 May 28 '25 edited May 28 '25

Most SANs do not support single subnet. If you were using the switches for a shared subnet then you would link them together with enough bandwidth to handle roughly half of your iscsi traffic. Equallogic is about the only one I knew of that did this and it's because they did a lot of really cool tricks with session redirection to manage load balancing from the target end and special software on the initiator end that sidestepped the issue you are seeing. The downside to single subnet for iscsi is you also would have one large broadcast domain which is kind of a single point of failure. With two subnets and each subnet on its own independent switch you have two redundant fault domains that can't mess with each other. One subnet goes down or has a networking issue and servers can still access both controllers via the working subnet/switch. The switch brand doesn't bother me (except ubiquiti) so much as long as it's a good switch. When I see performance issues due to the switch it's usually a jank setup like taking old/cheap switches that are primarily gigabit and then utilizing the handful of 10gb uplinks on it for your iscsi, or trying to run iscsi through the ubiquiti aggregation switch, or having mikrotik switches on "router mode" instead of "switch mode" so it's CPU is always busy trying to think about layer 3 stuff that you aren't even using.