37
1.
2.
3.
For your machine to be part of the InfiniBand/VPI fabric, a Subnet Manager must be running on one of
the fabric nodes. At this point, Mellanox OFED for Linux has already installed the OpenSM Subnet
Manager on your machine.
For the list of installation options, run:
./mlnxofedinstall --h
Installation Procedure
Login to the installation machine as root.
Mount the ISO image on your machine.
# mount -o ro,loop MLNX_OFED_LINUX-<ver>-<OS label>-<CPU arch>.iso /mnt
Run the installation script.
/mnt/mlnxofedinstall
Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs
This program will install the MLNX_OFED_LINUX package on your machine.
Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.
Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.
Starting MLNX_OFED_LINUX-x.x.x installation ...
........
........
Installation finished successfully.
Attempting to perform Firmware update...
Querying Mellanox devices firmware ...
The DKMS (on Debian based OS) and the weak-modules (RedHat OS) mechanisms rebuild the
initrd/initramfs for the respective kernel in order to add the MLNX_OFED drivers.
When installing MLNX_OFED without DKMS support on Debian based OS, or without KMP
support on RedHat or any other distribution, the initramfs will not be changed. Therefore, the
inbox drivers may be loaded on boot. In this case, openibd service script will automatically
unload them and load the new drivers that come with MLNX_OFED.
For unattended installation, use the --force installation option while running the
MLNX_OFED installation script:
/mnt/mlnxofedinstall --force
MLNX_OFED for Ubuntu should be installed with the following flags in the root
environment:
./mlnxofedinstall --without-dkms --add-kernel-support --kernel <kernel
version in chroot> --without-fw-update --force
For example:
./mlnxofedinstall --without-dkms --add-kernel-support --kernel
3.13.0-85-generic --without-fw-update --force
Note that the path to kernel sources (--kernel-sources) should be added if the sources
are not in their default location.