• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. Private Image Creation Guide (BMS)
  4. Creating a Linux Image
  5. Installing the SDI Card Driver

Installing the SDI Card Driver

The SDI Card Driver is installed on the image so that BMSs can have EVS disks attached and can start from EVS disks, which enables quick BMS provisioning.

If you do not need EVS or the BMS does not have an SDI card, you can skip this section. ARM 64 and virtualization OSs such as XenServer and ESXi do not support this function, and the SDI card driver does not need to be installed.

Prerequisites

  • You have logged in to the VM.
  • The SDI card driver (scsi_ep_front) has been uploaded to the VM.
    NOTE:

    The scsi_ep_front must be version 1.0.6 or later.

Procedure

The following steps are only for reference. The command output for installing the SDI card driver for images of different versions may vary.

  1. 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.6-3.10.0_693.el7.redhat.x86_64.rpm

    NOTE:

    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.

  2. 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.6-3.10.0_693.el7.redhat.x86_64

    For Ubuntu 16.04, Ubuntu 14.04, and Debian 8.6, run the dkms status command.

    ...
    root@ubuntu:~/file# dkms status
    scsi_ep_front, 1.0.6, 4.4.0-21-generic, x86_64: installed
    scsi_ep_front, 1.0.6, 4.4.0-59-generic, x86_64: built
    scsi_ep_front, 1.0.6, 4.4.0-96-generic, x86_64: installed
  3. Run the following commands to check whether the SDI card driver matches the kernel version:
    1. 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.

    2. Run the find / -name "*front*.ko" command to check the SDI card 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