Configuring Mulitpath Connections: To create the multiple logins needed for Linux dev-mapper to work you need to create an 'interface' file for each GbE interface you wish to use to connect to the array. Use the following commands to create the interface files for MPIO. (Select the appropriate Ethernet interfaces you're using.) #iscsiadm -m iface -I eth0 -o new New interface eth0 added
Repeat for the other interface, i.e. eth1 #iscsiadm -m iface -I eth1 -o new New interface eth1 added Now update the interface name for each port: #iscsiadm -m iface -I eth0 - -op=update -n iface.net_ifacename -v eth0 eth0 updated #iscsiadm -m iface -I eth1 - -op=update -n iface.net_ifacename -v eth1 eth1 updated Here's an example of what the /var/lib/iscsi/ifaces/eth0 looks like: iface.iscsi_ifacename = eth0 iface.net_ifacename = eth0 iface.hwaddress = default iface.transport_name = tcp Additionally, I found that with OVMS under load the initiator can get starved out. I found this helps prevent that. Edit /etc/sysctl.conf, then update the system using #sysctl -p # Increase network buffer sizes net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 8192 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216 net.core.wmem_default = 262144 net.core.rmem_default = 262144 Also make sure that these are set in /etc/sysctl.conf or only one NIC will be used. * Linux ARP behavior: If multiple interfaces are on the same subnet, Linux's ARP behavior will result in a reset (RST) being sent to the array from the client. The following changes need to be made to /etc/sysctl.conf to work around this behavior: net.ipv4.conf.all.arp_ignore=1 net.ipv4.conf.all.arp_announce=2 * Linux Netfilter: Per: https://bugzilla.redhat.com/show_bug.cgi?id=493226, it appears that netfilter will mark packets as being invalid under heavy load. To work around this bug, the following needs to be added to /etc/sysctl.conf: net.ipv4.netfilter.ip_conntrack_tcp_be_liberal=1 Also if you upgrade EQL firmware to 7.0.x, then you will need to make sure that readsector0 is NOT used for path_checker in /etc/multipath.conf. A bug in multipathd will result in protocol errors shortly after login. Change the path_checker to TUR or DIRECTIO instead. This is covered in the EQL v7.x release notes. On Fri, Apr 11, 2014 at 12:56 PM, Mike Christie <[email protected]>wrote: > On 04/11/2014 08:04 AM, Eric Raskin wrote: > > Thanks. I see that I missed that part of the setup. I guess I thought > > that the name of the connection was what matched it to the device. > > > > I assume that "netdev" is the ipconfig device name (eth0, eth1, etc.), > > right? > > > > Yes. > > -- > You received this message because you are subscribed to the Google Groups > "open-iscsi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/open-iscsi. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
