Skip to content

lihaofd/lemur

 
 

Repository files navigation

lemur

HPDD HSM Agent and Data Movers for Lustre

Build

We use Docker for building packages, so as long as you have Docker running, make rpm will take care of everything needed to create a clean build environment and build a set of Lemur RPMs. The results will be stored in ./output/RPMS.

For development and testing, it is generally more convenient to use a Linux host (or virtual machine) with Lustre installed. We recommend RHEL or CentOS 7.x, Lustre 2.7 or above, and at least Go 1.6.

Testing Quickstart

The unit tests are run with make test and do not require a Lustre environment to be configured.

The user acceptance test (UAT) automates basic testing with the agent and datamovers. The harness does not manage Lustre filesystems -- you will need to create one and mount a client somewhere, and ensue the Coordinator is enabled on the MDT. The harness must run as root, because the agent must also run as root in order to fiddle with secure xattrs and do other root-y stuff.

  1. make rpm
  2. Copy built RPMs to Lustre client host and install them
  3. sudo /usr/libexec/lemur-testing/lemur-uat-runner

Set uat/README.md for more details on running and confgiuring the user acceptance tests.

About

Lustre HSM tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 93.5%
  • Makefile 4.5%
  • Gherkin 1.2%
  • Other 0.8%