SOLVED iSCSI Xenserver Multipath, only 1 nic handling traffic

Status
Not open for further replies.

rptl

Dabbler
Joined
Apr 2, 2015
Messages
17
My Setup:
portal 1 ips: 10.3.0.1 ; 10.4.0.1

I was able to setup iSCSI onn Xenserver side, no issues. During setup, I entered both Portal IPs above, picked * (which means multipath) and picked LUN.

I could transfer some files over iSCSI storage. So far so good. But only one nic is handling traffic.

Please check outputs from XenServer. Both portals has been discovered, using portal IPs:
# iscsiadm -m discovery --type sendtargets --portal 10.3.0.1
10.3.0.1:3260,3 iqn.2011-03.org.accsan1.istgt:accnas03
10.4.0.1:3260,3 iqn.2011-03.org.accsan1.istgt:accnas03

# iscsiadm -m discovery --type sendtargets --portal 10.4.0.1
10.3.0.1:3260,3 iqn.2011-03.org.accsan1.istgt:accnas03
10.4.0.1:3260,3 iqn.2011-03.org.accsan1.istgt:accnas03

Now check my LAN traffic:
xenbr1 Link encap:Ethernet
inet addr:10.3.0.2 Bcast:10.3.0.255 Mask:255.255.255.0
RX bytes:19368971114 (18.0 GiB) TX bytes:99007486765 (92.2 GiB)

xenbr2 Link encap:Ethernet
inet addr:10.4.0.2 Bcast:10.4.0.255 Mask:255.255.255.0
RX bytes:20908927 (19.9 MiB) TX bytes:4246713 (4.0 MiB)

RX and TX from both nics seems that xenbr2 interface (10.4.0.2) is barely being used.

My question here is, is there something on FreeNAS side that I have to check at this point? For me, FreeNAS seems to be fine, but just wanted to check if someone already experiencied similar issues.
 

rptl

Dabbler
Joined
Apr 2, 2015
Messages
17
Quick update after change some Xenserver settings.

Now I can see both nics are being balanced:
xenbr1 Link encap:Ethernet HWaddr 00:1A:3F:C0:20:87
inet addr:10.3.0.2 Bcast:10.3.0.255 Mask:255.255.255.0
RX bytes:52225079 (49.8 MiB) TX bytes:1035722053 (987.7 MiB)

xenbr2 Link encap:Ethernet HWaddr 00:1A:3F:B1:3A:AD
inet addr:10.4.0.2 Bcast:10.4.0.255 Mask:255.255.255.0
RX bytes:25767130 (24.5 MiB) TX bytes:515243708 (491.3 MiB)

If you notice, xenbr1 is transferring double of bytes. In FreeNAS I can see two connections coming to 10.3.0.1 and one to 10.4.0.1 which explains this.

Now I just need to find out why XenServer is making two connections to 10.3.0.1.
 

rptl

Dabbler
Joined
Apr 2, 2015
Messages
17
What effectively fixed, on xenserver, file /etc/multipath.conf:
Add:
device {
vendor "FreeBSD"
product "iSCSI Disk"
path_grouping_policy multibus
path_selector "round-robin 0"
rr_min_io 1
}
 

monovitae

Explorer
Joined
Jan 7, 2015
Messages
55
I know this is a bit of a necro, but how did you come up with that configuration rptl? I see in the xs-design-multipathing-config.pdf from citrix that it does say that sometimes it's necessary to modify multipath.conf and that if it is, to consult the vendor in this case freeNAS.
 
Status
Not open for further replies.
Top