Hello,
I followed a How to guide created by Diego Morato for connecting iSCSI with MPIO to Citrix Xenserver.
By the way, this was a great document!
Although it was geared towards version 7, I was able to adapt it to 8.0.2.
I have two GigE links cross-connected from the FreeNAS 8.0.2 server to the Citrix Xenserver.
The Citrix Xenserver is using two physical interfaces that are configured as management interfaces.
I added the configuration to the multipath.conf, and enabled multipathing on the server.
It states that I have 2 paths of 2, and 2 active iSCSI connections to the FreeNAS.
I am not using file extents, but device extents.
Here is what Xenserver states when I request multipath -ll:
330000000218d8a68 dm-0 FreeBSD,iSCSI Disk
[size=7.3T][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=1][active]
\_ 10:0:0:0 sde 8:64 [active][ready]
\_ round-robin 0 [prio=1][enabled]
\_ 9:0:0:0 sdd 8:48 [active][ready]
Here is my istgt.conf: (FreeNAS 8.0.2)
Global section
[Global]
NodeBase "iqn.2011-03.example.org.istgt"
PidFile "/var/run/istgt.pid"
AuthFile "/usr/local/etc/istgt/auth.conf"
MediaDirectory /mnt
Timeout 30
NopInInterval 20
MaxR2T 255
DiscoveryAuthMethod None
MaxSessions 16
MaxConnections 8
FirstBurstLength 262144
MaxBurstLength 2097152
MaxRecvDataSegmentLength 262144
MaxOutstandingR2T 64
DefaultTime2Wait 2
DefaultTime2Retain 60
[UnitControl]
# PortalGroup section
[PortalGroup1]
Portal DA1 10.0.1.2:3260
Portal DA1 10.0.2.2:3260
# InitiatorGroup section
[InitiatorGroup1]
InitiatorName "ALL"
Netmask ALL
# LogicalUnit section
[LogicalUnit1]
TargetName "venust5c-1"
Mapping PortalGroup1 InitiatorGroup1
AuthMethod None
UseDigest Auto
ReadOnly No
UnitType Disk
UnitInquiry "FreeBSD" "iSCSI Disk" "0123" "000423a8f7be00"
UnitOnline yes
BlockLength 512
QueueDepth 32
LUN0 Storage /dev/label/extent_ada0 auto
LUN0 Option Serial 000423a8f7be000
Here is my multipath.conf addition: (Xenserver 5.6 FP1)
}
device {
vendor"FreeBSD"
product"iSCSI DISK"
path_selector "round-robin 0"
path_grouping_policy multibus
rr_min_io4
}
My issue is that I am not getting equal traffic across both network interfaces?
In fact, I am only getting disk traffic across one of the GIGE interfaces.
The second interface does show activity, but very little.
I have attained up to 600 Mbits/sec across em1, but em2 shows occasional traffic between 10 -15k bits/second.
On the Xenserver, the two dedicated iSCSI management NICs are Intel GIGE on the same PCI controller, and on the FreeNAS server, one is a Broadcom GigE on the motherboard, and the other is on a Intel GigE PCI controller.
Has anyone had success configuring true load balanced traffic from a Xenserver Host to FreeNAS using MBIO?
I am not using iSCSI from the guest VM, but from the core Xenserver host to supply storage to the VMs.
If so, can you guide me?
Not sure what other information you would need to verify my config on both the Xenserver and FreeNAS.
Just tell me what commands you need me to run, and I will post them for your review.
Thanks Much in advance!
I followed a How to guide created by Diego Morato for connecting iSCSI with MPIO to Citrix Xenserver.
By the way, this was a great document!
Although it was geared towards version 7, I was able to adapt it to 8.0.2.
I have two GigE links cross-connected from the FreeNAS 8.0.2 server to the Citrix Xenserver.
The Citrix Xenserver is using two physical interfaces that are configured as management interfaces.
I added the configuration to the multipath.conf, and enabled multipathing on the server.
It states that I have 2 paths of 2, and 2 active iSCSI connections to the FreeNAS.
I am not using file extents, but device extents.
Here is what Xenserver states when I request multipath -ll:
330000000218d8a68 dm-0 FreeBSD,iSCSI Disk
[size=7.3T][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=1][active]
\_ 10:0:0:0 sde 8:64 [active][ready]
\_ round-robin 0 [prio=1][enabled]
\_ 9:0:0:0 sdd 8:48 [active][ready]
Here is my istgt.conf: (FreeNAS 8.0.2)
Global section
[Global]
NodeBase "iqn.2011-03.example.org.istgt"
PidFile "/var/run/istgt.pid"
AuthFile "/usr/local/etc/istgt/auth.conf"
MediaDirectory /mnt
Timeout 30
NopInInterval 20
MaxR2T 255
DiscoveryAuthMethod None
MaxSessions 16
MaxConnections 8
FirstBurstLength 262144
MaxBurstLength 2097152
MaxRecvDataSegmentLength 262144
MaxOutstandingR2T 64
DefaultTime2Wait 2
DefaultTime2Retain 60
[UnitControl]
# PortalGroup section
[PortalGroup1]
Portal DA1 10.0.1.2:3260
Portal DA1 10.0.2.2:3260
# InitiatorGroup section
[InitiatorGroup1]
InitiatorName "ALL"
Netmask ALL
# LogicalUnit section
[LogicalUnit1]
TargetName "venust5c-1"
Mapping PortalGroup1 InitiatorGroup1
AuthMethod None
UseDigest Auto
ReadOnly No
UnitType Disk
UnitInquiry "FreeBSD" "iSCSI Disk" "0123" "000423a8f7be00"
UnitOnline yes
BlockLength 512
QueueDepth 32
LUN0 Storage /dev/label/extent_ada0 auto
LUN0 Option Serial 000423a8f7be000
Here is my multipath.conf addition: (Xenserver 5.6 FP1)
}
device {
vendor"FreeBSD"
product"iSCSI DISK"
path_selector "round-robin 0"
path_grouping_policy multibus
rr_min_io4
}
My issue is that I am not getting equal traffic across both network interfaces?
In fact, I am only getting disk traffic across one of the GIGE interfaces.
The second interface does show activity, but very little.
I have attained up to 600 Mbits/sec across em1, but em2 shows occasional traffic between 10 -15k bits/second.
On the Xenserver, the two dedicated iSCSI management NICs are Intel GIGE on the same PCI controller, and on the FreeNAS server, one is a Broadcom GigE on the motherboard, and the other is on a Intel GigE PCI controller.
Has anyone had success configuring true load balanced traffic from a Xenserver Host to FreeNAS using MBIO?
I am not using iSCSI from the guest VM, but from the core Xenserver host to supply storage to the VMs.
If so, can you guide me?
Not sure what other information you would need to verify my config on both the Xenserver and FreeNAS.
Just tell me what commands you need me to run, and I will post them for your review.
Thanks Much in advance!