Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Client Packages

  1. 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.

    1
    passwd globalcacheop
    

    Set the umask value of the globalcacheop user to 0027.

    1
    vi /home/globalcacheop/.bashrc
    

    Add 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
    
  2. 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.

  3. Install the dependency.
    1
    yum install librbd-devel
    
  4. 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
    
  5. Check whether RBD is supported.
    1
    fio --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.