我要评分
获取效率
正确性
完整性
易理解

Installing the Closed-Source KSAL Package

Install KSAL on all nodes in the cluster. KSAL is installed using an RPM package. Decompress the ZIP package to obtain the RPM package and install KSAL.

Procedure

  1. Obtain BoostKit-KSAL_1.8.0.zip and save it to the /home directory.
  2. Decompress BoostKit-KSAL_1.8.0.zip in the /home directory.
    unzip BoostKit-KSAL_1.8.0.zip
  3. Install the extracted RPM package.
    rpm -ivh /home/libksal-release-1.8.0.oe1.aarch64.rpm
  4. Check the RPM installation.
    rpm -qi libksal
    The command output is as follows:
    Name        : libksal
    Version     : 1.8.0
    Release     : 1
    Architecture: aarch64
    Install Date: Fri 13 Sep 2024 02:50:00 PM CST
    Group       : Unspecified
    Size        : 736473
    License     : GPL
    Signature   : (none)
    Source RPM  : libksal-1.8.0-1.src.rpm
    Build Date  : Thu 12 Sep 2024 02:50:00 PM CST
    Build Host  : buildhost
    Summary     : Kunpeng Storage Acceleration Library
    Description :
    Kunpeng Storage Acceleration Library
    Product Name:           Kunpeng BoostKit
    Product Version:        24.0.RC5
    Component Name:         BoostKit-KSAL
    Component Version:      1.8.0
    Component AppendInfo:   kunpeng
  5. Confirm the environment variables.

    Path to the KSAL dynamic library file: /usr/lib64/

    Path to the KSAL header file: /usr/include/ksal/
    1. Open the /etc/profile file.
      vi /etc/profile
    2. Press i to enter the insert mode and add the following content to the end of the file:
      export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
      export LD_LIBRARY_PATH=/usr/include/ksal:$LD_LIBRARY_PATH
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save and exit the file.
      source /etc/profile
  6. After the closed-source KSAL package is installed, perform the following operations as required: