NOTE
This method takes effect temporarily. If you require the OS to automatically load the driver upon startup,
add the preceding two commands to the automatic startup script of the OS.
----End
On the OS Supported by Non-Huawei OFED
Step 1
Log in to the OS of the standby server.
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 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
Click
to download the OFA OFED package of the 4.8-2 version.
Step 5
Compile the
rpm/deb
package (including
compat-rdma
and
rdma-core
) by referring to
README.txt
in the OFA OFED package.
Step 6
Upload the
rpm/deb
package to the OS by referring to 7.3 Transferring a File Using the
Virtual Directory.
Step 7
Run the
rpm -ivh
*.rpm
or
dpkg -i
*.deb
command to install the OFA OFED V4.8-2.
Step 8
Install the RoCE driver in the directory where the RoCE driver package is stored.
l
On the CentOS, SUSE, EulerOS, or RHEL:
Run the
rpm -ivh
<
name of the driver software package
command to install the driver
package.
The following commands use RHEL 7.3 as an example:
[root@localhost driver]# rpm -ivh
hiroce-2.3.1.0_3.10.0_514.el7.x86_64-1.el7.x86_64.rpm
Preparing... #################################
[100%]
Updating / installing...
1:hiroce-2.3.1.0_3.10.0_514.el7.x86################################# [100%]
l
On the Ubuntu:
NOTE
The NIC driver installation depends on the module-init-tools component. If the module-init-tools
component is not installed on the OS, download and install the module-init-tools component based on
the OS version from the official Ubuntu/Debian website.
1. Download the module-init-tools component.
–
Official Ubuntu website download address
–
Official Debian website download address
2. Upload the
module-init-tools
component file to the OS by referring to
3. Run the following command to install the module-init-tools component:
dpkg -i
module-init-tools.deb
Huawei IN200 NIC
User Guide
2 Installation and Maintenance
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
22