Lustre Client on Ubuntu 14.04 LTS (Trusty)

From Define Wiki
Revision as of 09:23, 30 November 2015 by Adam (talk | contribs)
Jump to navigation Jump to search

This is a guide to build and install the Lustre client on Ubuntu 14.04 LTS using Mellanox Ethernet only - I have yet to try building it with IB support.

Prework

  • Install Mellanox OFED
  • Modify Mellanox interface to use Ethernet only "connectx_port_config"
# Mellanox Prerequisites 
root@ubuntu-server-1404-x8664:~# aptitude install  debhelper pkg-config swig quilt flex gfortran tk8.4 tcl tcl8.4 dpatch curl tk python-libxml2 libgfortran3 bison libnl1 dkms graphviz chrpath

root@ubuntu-server-1404-x8664:~# apt-get update
root@ubuntu-server-1404-x8664:~# aptitude install git build-essential libtool automake python-docutils

Installation Steps

root@ubuntu-server-1404-x8664:~# git clone git://git.whamcloud.com/fs/lustre-release.git
root@ubuntu-server-1404-x8664:~# cd lustre-release
root@ubuntu-server-1404-x8664:~/lustre-release# sh ./autogen.sh
root@ubuntu-server-1404-x8664:~/lustre-release# ./configure --disable-server
root@ubuntu-server-1404-x8664:~/lustre-release# make -j 16
root@ubuntu-server-1404-x8664:~/lustre-release# make -j 16 install
  • Modify "/etc/modprobe.d/lustre.conf"
options lnet networks=tcp0(eth2)
  • Load Modules
  • When issuing "modprobe lustre" ensure the lnet interface in "lustre.conf" is up else you will get errors with "ptlrpc.ko".
root@ubuntu-server-1404-x8664:~# modprobe lnet
root@ubuntu-server-1404-x8664:~# modprobe lustre