Installing the Smart Write Cache
Installing the Software
- Obtaining the Software Installation Package
- Obtain the software verification tool.
https://support.huawei.com/enterprise/en/tool/pgp-verify-TL1000000054
- Verify the installation package integrity by following the procedure described in the OpenPGP Signature Verification Guide you obtained in step 2.
- Upload the installation package to each server for installation.
1 2
unzip BoostKit-swc_1.0.5.zip rpm -ivh boostkit-swc_1.0.5-1.aarch64.rpm
- Check the service status.
1systemctl status kps-swc.service

- (Optional) Use a common user to execute services.
- 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

- 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 service.
systemctl daemon-reload systemctl start kps-swc.service
The logs of the software are stored in /var/log/smart_cache/smart_cache.log.
- Use 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: Usage Guide