Preparation
Download MLNX_OFED ISO
xCAT only supports installation using the ISO format.
Download the Mellanox OFED ISO file here (MLNX_OFED).
Prepare Installation Script
The mlnxofed_ib_install is a sample script intended to assist with the installation of the Mellanox OFED drivers. The following support matrix documents the limited number of scenarios that have been verified: support matrix.
Copy the
mlnxofed_ib_installto/install/postscripts, renaming tomlnxofed_ib_install.cp /opt/xcat/share/xcat/ib/scripts/Mellanox/mlnxofed_ib_install \ /install/postscripts/mlnxofed_ib_install # ensure the script has execute permission chmod +x /install/postscripts/mlnxofed_ib_install
Familiarize the options available for the xCAT
mlnxofed_ib_installscript.Option
Required
Description
-pYes
The full path to the MLNX_OFED ISO image
-mNo
Use this option to pass arguments to the Mellanox OFED installation script
mlnxofedinstall.The special keyword
-end-must be added to the end of the string to mark the completion of the option list option list.If nothing is specified, xCAT passes the following
--without-32bit --without-fw-update --force-iFor diskless
The image root path of the diskless image
-nFor diskless
nodeset status, value is
genimageA very basic usage of the install script:
/install/postscripts/mlnxofed_ib_install -p /install/<path-to>/<MLNX_OFED_LINUX.iso>
To pass the
--add-kernel-supportoption tomlnxofedinstall, use the following command:/install/postscripts/mlnxofed_ib_install -p /install/<path-to>/<MLNX_OFED_LINUX.iso> \ -m --without-32bit --without-fw-update --add-kernel-support --force -end-