Help Center/ Bare Metal Server/ Private Image Creation Guide/ Linux/ Installing the Hi1822 Driver/ Hi1822 Standard Cards (for BMSs with Centralized BMGW)
Updated on 2022-11-04 GMT+08:00

Hi1822 Standard Cards (for BMSs with Centralized BMGW)

Scenario

If the BMS with centralized BMGW uses Hi1822 NICs, you need to install the Hi1822 driver on the VM. The following uses CentOS 7.6 as an example.

Prerequisites

  • You have logged in to the VM.
  • You have obtained the Hi1822 driver installation package and management software and uploaded them to the VM.

    For details about how to obtain the packages (.rpm), see Software.

    The downloaded Hi1822 driver installation package and management software must match the OS.

Procedure

  1. Check whether the hinic driver exists.

    rpm -qa | grep hinic

    • If yes, go to 2.
    • If no, go to 3.
  2. Uninstall the hinic driver.

    rpm -e kmod-hinic

    rmmod hinic

  3. Go to the directory where the .rpm installation package is stored and run the following command to install it:

    rpm -ivh NIC-Hi1822-CentOS7.6-hinic-3.9.0.8-1-x86_64.rpm

  4. Run the modprobe hinic command to load the latest Hi1822 driver.
  5. Install Hi1822 management software (hinicadm package).

    rpm -ivh NIC-Hi1822-CentOS7.6-hinicadm-3.9.0.8-1-x86_64.rpm