Installing the Driver
Prerequisites
- The driver package of the IN200 has been downloaded.
The NIC driver package is included in the IN200 software package. For details about how to obtain the IN200 package, see Obtaining Software Packages.
- To upgrade the driver corresponding to SUSE Linux, ensure that the preparations are ready. For details, see Preparations (SUSE Linux).
- The driver package has been uploaded to the server OS.
Impact
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.
Installing the Driver on Linux
- Log in to the server OS.
For details, see Logging In to the Real-Time Server Desktop.
- Go to the directory where the driver package is stored.
- Run the command to install the driver package.
- RHEL/CentOS/Oracle/SUSE/Citrix XenServer/NeoKylin/iSoft:
Run the rpm -ivh <driver software package name> command.
Using RHEL as an example:[root@localhost]# rpm -ivh kmod-hinic-1.8.2.8_3.10.0_957-1.el7.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:kmod-hinic-1.8.2.8_3.10.0_957-1.e################################# [100%]
- Ubuntu/Debian/Deepin:
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.
- Download the module-init-tools component.
- Upload the module-init-tools component file to the OS by referring to Transferring a File Using the Virtual Directory.
- Run the following command to install the module-init-tools component:
dpkg -i module-init-tools.deb
Run the dpkg -i <driver software package name> command.
Using Ubuntu as an example:
root@ubuntu1804:/home/ubuntu # dpkg -i hinic-1.6.1.1-4.15.0_20_generic.ubuntu.arm64.deb Selecting previously unselected package hinic. (Reading database ... 69638 files and directories currently installed.) Preparing to unpack hinic-1.6.1.1-4.15.0_20_generic.ubuntu.arm64.deb ... Unpacking hinic (1.6.1.1) ... Setting up hinic (1.6.1.1) ... Installing... Please wait for a moment. Install hinic driver package successfully.
- RHEL/CentOS/Oracle/SUSE/Citrix XenServer/NeoKylin/iSoft:
- Make the driver take effect.
You can select either of the following methods:
Installing the Driver on VMware ESXi
- Log in to the server OS.
For details, see Logging In to the Real-Time Server Desktop.
- Go to the directory where the driver package is stored, for example, /tmp.
- Install the driver package.Run the esxcli software vib install -v hinic-<version>-<kernel_version>.<arch>.vib command.
Enter a full path after -v.
Example:
[root@localhost:~] esxcli software vib install -v /hinic-1.6.2.2-1OEM.650.0.0.4598673.x86_64.vib Installation Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: Huawei_bootbank_hinic_1.6.2.2-1OEM.650.0.0.4598673 VIBs Removed: VIBs Skipped:
- Run the reboot command to restart VMware ESXi for the driver to take effect.
Installing the Driver on Microsoft Windows
- Log in to the server OS.
For details, see Logging In to the Real-Time Server Desktop.
- Go to the directory where the driver package is stored, for example, "C:\".
- Install the driver package.
Double-click hinic_<version>_<Windows_OS>_x86_64.msi to install the driver package.
Select Complete for Choose Setup Type.
If an exception occurs during the installation (for example, the server is restarted or powered off), handle the problem by referring to An Exception Occurs During Driver Installation or Uninstallation.
Follow-up Procedure
After the driver is installed, you can operate the following steps.
- Run the lsmod | grep hinic command on Linux, or run the vmkload_mod -l | grep hinic command on VMware ESXi to check whether the driver has taken effect.
- If no command output is displayed, the driver has not taken effect, and you need to perform the operation again.
- If the command output about the IN200 driver is displayed, the driver has taken effect.
- Run the version command to query the current driver version using hinicadm tool.
- In Microsoft Windows, you can scan for hardware detection changes in the Device Manager and check whether the driver has been installed on the IN200 and whether the driver has been identified.
For example: