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.v2 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_install.v2to/install/postscripts, renaming tomlnxofed_ib_install.cp /opt/xcat/share/xcat/ib/scripts/Mellanox/mlnxofed_ib_install.v2 \ /install/postscripts/mlnxofed_ib_install # ensure the script has execute permission chmod +x /install/postscripts/mlnxofed_ib_install
Familarize 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 OFEDinstallation scriptmlnxofedinstall.The special keyword-end-must be added to the endof the string to mark the completion of the option listoption list.If nothing is specified, xCAT passes the the following--without-32bit --with out-fw-update --force-iFor diskless The image root path of the diskless image-nFor diskless nodeset status, value isgenimageA 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-