Installing kernel headers and tools

Kernel headers and tools are not installed by default. If you plan to compile and use custom drivers, modules, or other software, install the appropriate kernel header or tool on the vSnap server.

About this task

When a vSnap server is installed or updated on RHEL 8 or later, a compatible Linux kernel version 4.18 is used. Kernel headers and tools headers and tools associated with the kernel are not installed. If you plan to compile or use custom drivers, modules, or other software, you must install the kernel packages. The Red Hat Package Manager (RPM) installers for the kernel headers and tools are available in the vSnap installation directory.

Procedure

  1. Log on to the vSnap server as the serveradmin user. The initial password is sppDP758-SysXyz. You are prompted to change this password during the first logon. Certain rules are enforced when creating a new password. For more information, see the password requirement rules in Start IBM Storage Protect Plus.
  2. To determine the Linux kernel version, open a command line and issue the following command:
    $ uname -r

    The output is displayed, where xxxx represents the revision number of the kernel:

    $ 3.10.xxxx
  3. Navigate to this directory:
    $ cd /opt/vsnap/config/pkgs/kernel/
  4. In the directory, locate the xxxxxxxx.rpm file, which is the package to be installed. Be sure that the correct package is identified for the installed Linux kernel version. To install the kernel header or tool, issue the following command:
    $ sudo yum localinstall xxxxxxxx.rpm

Results

The kernel header or tool is installed.