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

Installing the Smart Write Cache

Installing the Software

  1. Obtain the software package.
  2. Obtain the software verification tool.
  3. Verify the software package integrity based on the OpenPGP Signature Verification Guide obtained in 2.
  4. Upload the package to each server for installation.
    1
    2
    unzip BoostKit-swc_1.0.6.zip
    rpm -ivh boostkit-swc-1.0.6-1.aarch64.rpm
    
  5. Check the service status. If the status is active (running), the service is started properly.
    1
    systemctl status kps-swc.service
    

  6. Optional: (Optional) Execute the smart write cache service as a common user.
    1. Take 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
      vim /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 smart write cache service.
      systemctl daemon-reload
      systemctl start kps-swc.service

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