You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Prerequisites

Before building the LUTF, make sure to install the following packages

  • swig 3
  • python 3

Setup and Build Lustre

Follow the instructions here:

Walk-thru- Build Lustre MASTER on RHEL 7.3/CentOS 7.3 from Git

Dec 25th, 2019 Note

As of this date the LUTF is still on the multi-rail branch. To get it you need to:

git clone git://git.whamcloud.com/fs/lustre-release.git
# note make sure to pull out whatever the latest patch series is
# cherry pick the below two patches ontop of your code base
git fetch https://review.whamcloud.com/fs/lustre-release refs/changes/19/37019/3 && git cherry-pick FETCH_HEAD
git fetch https://review.whamcloud.com/fs/lustre-release refs/changes/81/33181/68 && git cherry-pick FETCH_HEAD
# install python3
yum install python3
yum install python3-devel
# install swig 3
# http://www.swig.org/download.html
#configure
sh ./autogen.sh
PYTHON_VERSION=3.6 ./configure --with-linux=<kernel_path>
# follow the rest of the build instructions in the top link
make rpms

Deploy Lustre rpms

Deploy lustre RPMs on your test nodes using your favourite method.

Suggested Method:

  • Copy the RPMs to the test node in some directory
mkdir ~/lustre_rpms
scp root@buildmachine:~/lustre_build/*.rpm ~/lustre_rpms
  • uninstall any existing Lustre rpms
rpm -e --nodeps kmod-lustre kmod-lustre-osd-ldiskfs kmod-lustre-tests lustre lustre-iokit \
lustre-osd-ldiskfs-mount lustre-tests lustre-resource-agents lustre-debuginfo
  • Install the new rpms
rpm --nodeps --ivh *.rpm
  • The LUTF is now installed with the rest of the lustre tests
cd /usr/lib64/lustre/tests/lutf
  • No labels