39••If you need to install OFED on an entire (homogeneous) cluster, a common strategy isto mount the ISO image on one of the cluster nodes and then copy it to a shared filesystem such as NFS. To install on all the cluster nodes, use cluster-aware tools(suchaspdsh).If your kernel version does not match with any of the offered pre-built RPMs, you canadd your kernel version by using the “mlnx_add_kernel_support.sh” script locatedinside the MLNX_OFED package.The “mlnx_add_kernel_support.sh” script can be executed directly from themlnxofedinstall script. For further information, please see '--add-kernel-support' optionbelow.Example: The following command will create a MLNX_OFED_LINUX ISO image forRedHat 7.3 under the /tmp directory.# ./MLNX_OFED_LINUX-x.x-x-rhel7.3-x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7.3-x86_64/ --make-tgzNote: This program will create MLNX_OFED_LINUX TGZ for rhel7.3 under /tmp directory.All Mellanox, OEM, OFED, or Distribution IB packages will be removed.Do you want to continue?[y/N]:ySee log file /tmp/mlnx_ofed_iso.21642.logBuilding OFED RPMs. Please wait...Removing OFED RPMs...Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7.3-x86_64-ext.tgzOn Redhat and SLES distributions with errata kernel installed there is no needto use the mlnx_add_kernel_support.sh script. The regular installation can beperformed and weak-updates mechanism will create symbolic links to theMLNX_OFED kernel modules.If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration ofthe initramfs. In some cases, such as a system with a root filesystem mountedover a ConnectX card, not regenerating the initramfs may even cause thesystem to fail to reboot.In such cases, the installer will recommend running the following command toupdate the initramfs:dracut -fOn some OSs, dracut -f might result in the following error message whichcan be safely ignore.libkmod: kmod_module_new_from_path: kmod_module 'mdev' alreadyexists with different pathOn Ubuntu and Debian distributions drivers installation use Dynamic KernelModule Support (DKMS) framework. Thus, the drivers' compilation will takeplace on the host during MLNX_OFED installation.Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu andDebian distributions.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.