Help Center> Image Management Service> User Guide> Linux Operations> Installing Special Linux Drivers

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

  1. 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.

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.

  1. Log in to the ECS and download the SR-IOV driver.

    wget Driver download link

  2. Run the following command to decompress the SR-IOV driver package:

    unzip kmod-hinic.zip

  3. Run the following command to install the driver:

    rpm -ivh Installation program name in .rpm format

  4. Run the modprobe hinic command to load the driver.
  5. 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.

  6. Run the following command to delete the installation package:

    rm -rf Installation program name in .rpm format