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 vSnap is installed or updated, Linux kernel Version 4.19.xxxx is installed by default. If you opt out of the kernel upgrade to V4.19.xxxx and remain on the V3.10.xxxx, a kernel V3.10.xxxx that is compatible with the vSnap server is installed and used. In both cases, kernel headers and tools associated with the kernel are not installed. If you plan to compile or use customer 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 Spectrum 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:

    $ 4.19.xxxx
  3. After the kernel version is determined, navigate to the appropriate directory.

    For kernel version 4.19.xxxx, navigate to this directory:

    $ cd /opt/vsnap/config/pkgs/kernel-ml/

    For kernel version 3.10.xxxx, 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. To install the kernel header or tool, issue the following command:
    $ sudo yum localinstall xxxxxxxx.rpm

Results

The kernel header or tool is installed.