Installing Client Packages
- Manually create a globalcacheop user and a globalcache user group.
1 2
groupadd globalcache useradd -g globalcache -s /bin/bash globalcacheop
Set the password of the globalcacheop user.
1passwd globalcacheopSet the umask value of the globalcacheop user to 0027.
1vi /home/globalcacheop/.bashrcAdd umask 0027 to the .bashrc file.
1 2 3 4 5 6 7
# Source default setting [ -f /etc/bashrc ] && . /etc/bashrc umask 0027 # User environment PATH PATH="$HOME/.local/bin:$HOME/bin:$PATH" export PATH
- Install the closed-source RPM package obtained from the Huawei Support website.
rpm -ivh boostkit-globalcache-ceph-adaptor-release-1.3.15.oe1.aarch64.rpm cp libproxy.so /opt/gcache_adaptor_compile/third_part/lib/ chmod 500 /opt/gcache_adaptor_compile/third_part/lib/libproxy.so chown globalcacheop:globalcache /opt/gcache_adaptor_compile/third_part/lib/libproxy.so source /etc/profile
In the x86 environment:rpm -ivh boostkit-globalcache-ceph-adaptor-release-1.3.15.oe1.x86_64.rpm cp libproxy.so /opt/gcache_adaptor_compile/third_part/lib/ chmod 500 /opt/gcache_adaptor_compile/third_part/lib/libproxy.so chown globalcacheop:globalcache /opt/gcache_adaptor_compile/third_part/lib/libproxy.so source /etc/profile
The libproxy.so file is obtained in Compiling Open Source Packages. The .so file obtained using the x86 compilation server can be used only on x86 client nodes, and the .so file obtained using the ARM compilation server can be used only on ARM client nodes.
- Install the dependency.
1yum install librbd-devel
- Install the fio source package fio-3.26.tar.gz obtained from the open source website.
1 2 3 4
tar -zxvf fio-3.26.tar.gz cd fio-3.26/ ./configure make && make install
- Check whether RBD is supported.
1fio --enghelp | grep rbd

If rbd is displayed, fio supports RBD. Otherwise, run the yum install librbd-devel command and then compile and install fio again.
Parent topic: Client