(Optional) Installing the SDI Driver
Scenarios
Currently, there are three types of SDI cards: SDI storage cards, SDI 2.2 iNICs, and SDI 3.0 cards (integrating storage and networking). The front-end SDI driver plug-in is installed on the image so that BMSs with SDI storage cards or SDI 2.2 iNICs can have EVS disks attached or can support distributed BMGW. In other cases, you can skip this section. ARM 64 and virtualization OSs such as XenServer and ESXi do not support SDI storage cards and SDI 2.2 iNICs, and the SDI driver does not need to be installed.
Prerequisites
- You have logged in to the VM.
- The SDI driver (scsi_ep_front) has been downloaded based on Preparing Required Hardware and Software and uploaded to the VM.
The scsi_ep_front must be version 1.0.13 or later.
Procedure
The following steps are only for reference. The command output for installing the SDI driver for images of different versions may vary.
- Enter the directory where the SDI driver installation package is stored and run the following command:
rpm -ivh kmod-scsi_ep_front-redhat_7.4_1.0.13-3.10.0_693.el7.redhat.x86_64.rpm
The Ubuntu and Debian SDI driver uses the deb installation package. Run the dpkg -i xxx (xxx indicates the name of the SDI installation package) command to install the SDI driver.
- After the installation is complete, run the rpm -qa | grep scsi command. The installation is successful if information similar to the following is displayed:
[root@localhost ~] rpm -qa | grep scsi lsscsi-0.27-6.el7.x86_64 kmod-scsi_ep_front-redhat_7.4_1.0.13-3.10.0_693.el7.redhat.x86_64
For Ubuntu 16.04, Ubuntu 14.04, and Debian, run the dkms status command. If installed is displayed, the installation is successful. Then run the update-initramfs -u command to update the driver in the kernel.
... root@ubuntu:~/file# dkms status scsi_ep_front, 1.0.13, 4.4.0-21-generic, x86_64: installed scsi_ep_front, 1.0.13, 4.4.0-59-generic, x86_64: built scsi_ep_front, 1.0.13, 4.4.0-96-generic, x86_64: installed
- Run the following commands to check whether the SDI driver matches the kernel version:
- Run the uname -r command to obtain the OS kernel version:
[root@localhost r74]# uname -r 3.10.0-693.el7.x86_64
The kernel version is 3.10.0-693.el7.x86_64.
- Run the find / -name "*front*.ko" command to check the SDI driver matching the kernel version.
[root@localhost r74]# find / -name "*front*.ko" /usr/lib/modules/3.10.0-693.el7.x86_64/extra/scsi_ep_front/scsi_ep_front.ko
- Run the uname -r command to obtain the OS kernel version:
Last Article: (Optional) Installing the bms-network-config Software Package
Next Article: (Optional) Installing the Hi1822 NIC Driver
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.