Rate This Document
Findability
Accuracy
Completeness
Readability

Installing the Smart Write Cache

  1. Obtaining the Software Installation Package

    The installation package of the current version is restricted for commercial use. You need to submit an application and wait for approval before downloading the installation package.

    • Installation package: Link
    • Digital signature files: PGP and CMS
  2. Obtain the software verification tool.

    https://support.huawei.com/enterprise/en/tool/pgp-verify-TL1000000054

  3. Verify the installation package integrity by following the procedure described in the OpenPGP Signature Verification Guide obtained in 2.
  4. Upload the installation package to each server for installation.
    1
    2
    unzip BoostKit-swc_1.0.4.zip
    rpm -ivh boostkit-swc-1.0.4-1.aarch64.rpm
    
  5. Check the service status.
    1
    systemctl status kps-swc.service
    

  6. (Optional) Use a common user to execute services.
    1. Use user1 as an example. Create a common user user1 and use the root user to change User in the service file to user1.
      systemctl stop kps-swc.service
      useradd user1
      vi /usr/lib/systemd/system/kps-swc.service

    2. Add the CAP permission to executable files as the root user.
      setcap CAP_SYS_RAWIO,CAP_DAC_OVERRIDE,CAP_SETUID,CAP_CHOWN+ep /usr/bin/kps-swc
    3. Restart the service.
      systemctl daemon-reload
      systemctl start kps-swc.service

      The logs of the software are stored in /var/log/smart_cache/smart_cache.log.