Installing Special Linux Drivers
Scenarios
Before using some types of ECSs to create private images, you need to install special drivers on the ECSs.
InfiniBand NIC Driver
- If you want to use the private image to create H2 ECSs, install the InfiniBand NIC driver for the image. Download the required version (4.2-1.0.0.0) of InfiniBand NIC driver from the official website and install the driver by following the instructions provided by Mellanox.
- InfiniBand NIC type: Mellanox Technologies ConnectX-4 Infiniband HBA (MCX455A-ECAT)
- Mellanox official website: http://www.mellanox.com/
- NIC driver download path: http://www.mellanox.com/page/products_dyn?product_family=26&mtag=linux_sw_drivers
SR-IOV Driver
After the SR-IOV driver is installed for an image, the network performance of ECSs created from the image will be greatly improved. Currently, only EulerOS 2.3 and CentOS 7.6 support the SR-IOV driver.
- Log in to the ECS and download the SR-IOV driver.
Table 1 SR-IOV driver Software Package
OS
How to Obtain
kmod-hinic.zip
EulerOS 2.3
https://ecs-instance-driver.obs.cn-north-1.myhuaweicloud.com/hinic/EulerOS2.3/kmod-hinic.zip
CentOS 7.6
https://ecs-instance-driver.obs.cn-north-1.myhuaweicloud.com/hinic/CentOS7.6/kmod-hinic.zip
- Run the following command to decompress the SR-IOV driver package:
- Run the following command to install the driver:
rpm -ivh Installation program name in .rpm format

- Run the modprobe hinic command to load the driver.
- Run the lsmod | grep hinic command to check whether the driver has been loaded. If hinic is displayed, the SR-IOV driver has been installed and loaded.

- Run the following command to delete the installation package:
Last Article: Installing the One-Click Password Reset Plug-In
Next Article: Detaching Data Disks from an ECS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.