Your procedure was correct!
And there is plus 1 step!
That's a IB Partition configuration.
If you complete partition configuration restart SM then you can configura vSwitch MTU to 4092 bytes.
Changes in the MTU size for an IPoIB pkey can be tricky. Its always possible to decrease, but increasing might not.
The first device connected will set the MTU size for the broadcast domain. i.e. subsequent connection of IPoIB interfaces will not be allowed to set an MTU size larger than the previous one.
So my suggestion is:
-disconnect all IPoIB interfaces attached to the partition (pkey interfaces)
- configure Subentmanager with the requested MTU size (like MTU=5 in partition.conf)
-make sure that the first interface added to the partition will use mtu size 4092
-- example: in linux I would do as follows
echo 0x0001 > /sys/class/net/ib0/create_child
echo 4092 > /sys/class/net/ib0.8001/mtu
ifconfig ib0.8001 10.10.10.10/24 mtu 4092 up
and then check that the mtu really IS 4092 before adding the interfaces on the second node.
ref: RFC4391 Transmission of IP over InfiniBand (IPoIB)
5. Setting Up an IPoIB Link
The join operation is successful only if the Subnet Manager (SM)
determines that the joining node can support the MTU registered with
the broadcast group [RFC4392] ensuring support for a common link MTU.
Thanks for that info... It might be this case... I'll try this approach today..
One more question: can the required partition be the default one? FFFF in my case?
In my current config I did set the partitions.conf correctly using MTU=5, so that was included in my test.
I guess you can use default pkey ffff. although in my setup we’ve used another one, matching the IB-p_key value with a corresponding VLAN id on the switch.
Here is my PERSONAL LAB's configuration.
You must configure your ESXi host, too!
- I think you miss the default configuration value of Mellanox vSphere OFED 1.8.2.
Here is sample script.
esxcli system module parameters set -m=mlx4_core -p="mtu_4k=1 msi_x=1"
If you configure your Partition on your SM and install IB HCA driver for ESXi correctly,
there is a final step that you must run this script on your ESXi host's shell (or SSH) console and reboot your host.
Then you can configure your vSwitch to MTU=4092.
- Maximum value isn't 4096.
Sorry that I am digging up an answered question, but I think I have the same problem with my setup.
I am running Vmware ESXi 5.1 with DDR IB interfaces, connected to a HP 4x DDR Switch, I have installed SM on the ESXi host (opensm) and I cant manage to set up the MTU = 4k
That's the error, vmware is giving me :
Call "HostNetworkSystem.UpdateVirtualSwitch" for object "networkSystem" on ESXi "192.168.4.37" failed.
Operation failed, diagnostics report: Unable to set MTU to 4092 the following uplinks refused the MTU setting: vmnic_ib0
The mtu_4k is set to 1, the partitions.conf file is as follows : Default=0x7fff,ipoib,mtu=5:ALL=full;
The weird part is that I was able to configure it on one of the hosts, but can't do it on the others.
Any ideas on how to make the other hosts use mtu = 4092 ?
Thanks a lot in advance!
P.S I am using the MLNX-OFED-ESX-18.104.22.168 version of the driver.
1 of 1 people found this helpful
Try the procedure I think helped me also..
Disconnect all interfaces from the switch... Then connect a 4k configured interface to the switch (be sure it's 4k)... Later connect the others.. It should work.. Also restart the SM when no interface is connected..