Installing the Smart Write Cache
Installing the Software
- Obtain the software package.
- Obtain the software verification tool.
Download link: https://support.huawei.com/enterprise/en/tool/pgp-verify-TL1000000054
- Verify the software package integrity based on the OpenPGP Signature Verification Guide obtained in 2.
- 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
- Check the service status. If the status is active (running), the service is started properly.
1systemctl status kps-swc.service

- Optional: (Optional) Execute the smart write cache service as a common user.
- 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

- 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
- 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.
- Take user1 as an example. Create a common user user1 and use the root user to change User in the service file to user1.
Parent topic: Feature Guide