l
The driver package has been uploaded to the server OS.
Impact
l
If a non-OFA OFED 4.8-2 package (for example, an OFED package from a third party or
an open-source OFED package of a different version) has been installed on the server,
you need to uninstall the existing OFED package and then install the OFA OFED 4.8-2
package and IN200 RoCE driver before using the IN200 RoCE function (the
unistallation and installation operations do not conflict with the IN200 NIC functions).
l
It takes about 30 seconds to install the driver. The installation process cannot be
interrupted. During the installation, the OS cannot be restarted. Otherwise, the OS may
be abnormal or cannot be started.
On the OS Supported by Huawei In-House OFED
Step 1
Log in to the server OS.
7.1 Logging In to the Real-Time Server Desktop
.
Step 2
Run either
rpm -qa | grep rdma
and
rpm -qa | grep libib
commands or
dpkg -l | grep rdma
and
dpkg -l | grep libib
commands to check whether the OFED has been installed.
l
If the OFED is installed, go to
.
l
If the OFED is not installed, go to Step
.
Step 3
Run the
rpm -e X
or
dpkg -r
X
command to uninstall the original OFED package. In the
command,
X
indicates the names of all OFED packages displayed in the command output in
.
Step 4
Run the following command in the directory where the RoCE driver package is stored to
decompress the OFED package:
tar -xvf OFED-*.tar.gz
Step 5
Run the following command to go to the OFED package directory:
cd OFED-*
Step 6
Run the following commands to install the OFED package:
bash ofed_install.sh
The command output is as follows:
2019-07-10 09:30:43
2019-07-10 09:30:43
2019-07-10 09:30:43 [INSTALL] install OFED software start.
2019-07-10 09:30:43 [INSTALL] check RPMS/compat-rdma-devel*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/compat-rdma*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/rdma-core-devel*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/rdma-core*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/libibverbs*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/libibverbs-utils*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/libibumad*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/librdmacm*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/librdmacm-utils*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/perftest-debuginfo*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/perftest*rpm ok
This program will install the OFED package on your machine.
Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be
removed.
Those packages are removed due to conflicts with OFED, do not reinstall them.
Do you want to continue?[y/N]:y
Huawei IN200 NIC
User Guide
2 Installation and Maintenance
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
20