This section describes how to install the IB NIC driver on a created VM. CentOS 7.4 is used as an example. ARM 64 servers do not support this function.
For example, select the package shown in the red box in the following figure for CentOS 7.4.
./mlnxofedinstall
[root@localhost MLNX_OFED_LINUX-4.2-1.2.0.0-rhel7.4-x86_64]# ./mlnxofedinstall Logs dir: /tmp/MLNX_OFED_LINUX.1479.logs General log file: /tmp/MLNX_OFED_LINUX.1479.logs/general.log Verifying KMP rpms compatibility with target kernel... Error: One or more required packages for installing MLNX_OFED_LINUX are missing. Please install the missing packages using your Linux distribution Package Management tool. Run: yum install tcl tk
For example, run the yum install tcl tk command as prompted.
The installation is successful if information similar to the following is displayed:
Installation finished successfully. Preparing... ############################### [100%] Updating / installing... 1:mlnx-fw-updater-4.2-1.2.0.0 ############################### [100%] Added 'RUN_FW_UPDATER_ONBOOT=no to /etc/infiniband/openib.conf ...
[root@localhost MLNX_OFED_LINUX-4.2-1.2.0.0-rhel7.4-x86_64]# /etc/init.d/openibd restart Uploading HCA driver: [ OK ] Loading HCA driver and Access Layer: [ OK ]