安装Lustre

  1. 下载源码包lustre-2.12.7-1.src.rpm 、lustre-client-dkms-2.12.7-1.el7.src.rpm。

    下载地址:https://downloads.whamcloud.com/public/lustre/latest-2.12-release/el7/client/SRPMS/

  2. 安装源码包。

    1
    rpm -ivh lustre-2.12.7-1.src.rpm lustre-client-dkms-2.12.7-1.el7.src.rpm
    

  3. 进入安装目录。

    cd /root/rpmbuild/SOURCES

  4. 解压源码包。

    1
    tar -xvf lustre-2.12.7.tar.gz
    

  5. 进行安装编译。

    1
    2
    3
    cd lustre-2.12.7
    ./configure
    make rpms
    

    成功后可以查看到相关RPM包。

  6. 用RPM包安装Lustre。

    1
    rpm -ivh --nodeps kmod-lustre-client*.rpm lustre-client*.rpm lustre-iokit*.rpm
    

  7. 配置LNet网络。

    具体请参考《LNet路由器配置指南》。