36
•
•
•
•
•
•
a path to the folder that contains the FW binary files, by running
--fw-image-dir
. Using this
option, the FW version embedded in the MLNX_OFED package will be ignored. Example:
./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files
Usage
./mnt/mlnxofedinstall [OPTIONS]
The installation script removes all previously installed Mellanox OFED packages and re-installs from
scratch. You will be prompted to acknowledge the deletion of the old packages.
If you need to install Mellanox OFED on an entire (homogeneous) cluster, a common strategy is
to mount the ISO image on one of the cluster nodes and then copy it to a shared file system such
as NFS. To install on all the cluster nodes, use cluster-aware tools (such as pdsh).
If your kernel version does not match with any of the offered pre-built RPMs, you can add your
kernel version by using the “mlnx_add_kernel_support.sh” script located inside the
MLNX_OFED package.
The “mlnx_add_kernel_support.sh” script can be executed directly from the mlnxofedinstall
script. For further information, please see '--add-kernel-support' option below.
Example
The following command will create a MLNX_OFED_LINUX ISO image for RedHat 6.3 under the /
tmp directory.
# ./MLNX_OFED_LINUX-x.x-x-rhel6.3-x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel6.3-
x86_64/ --make-tgz
Note: This program will create MLNX_OFED_LINUX TGZ for rhel6.3 under /tmp directory.
All Mellanox, OEM, OFED, or Distribution IB packages will be removed.
Do you want to continue?[y/N]:y
See log file /tmp/mlnx_ofed_iso.21642.log
Building OFED RPMs. Please wait...
Removing OFED RPMs...
Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel6.3-x86_64-ext.tgz
The script adds the following lines to /etc/security/limits.conf for the userspace components
such as MPI:
* soft memlock unlimited
* hard memlock unlimited
These settings set the amount of memory that can be pinned by a userspace application
to unlimited. If desired, tune the value unlimited to a specific amount of RAM.
Pre-existing configuration files will be saved with the extension “.conf.rpmsave”.
On Redhat and SLES distributions with errata kernel installed there is no need to use
the mlnx_add_kernel_support.sh script. The regular installation can be performed and
weak updates mechanism will create symbolic links to the MLNX_OFED kernel
modules.
On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module
Support (DKMS) framework. Thus, the drivers' compilation will take place on the host
during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is
irrelevant on Ubuntu and Debian distributions.