23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Use standard RPM commands to install the binary packages:<br />

$ rpm -ivh kernel-lustre-smp-2.6.9-42.0.3.EL_lustre.1.5.97.i686.rpm<br />

$ rpm -ivh lustre-1.5.97-2.6.9_42.0.3.EL_lustre.1.5.97smp.i686.rpm<br />

$ rpm -ivh lustre-modules-1.5.97-2.6.9_42.0.3.EL_lustre.1.5.97smp.i686.rpm<br />

This is an example of Source packages:<br />

■ kernel-lustre-source-2.6.9-42.0.3.EL_lustre.1.5.97.i686.rpm<br />

contains source for the patched kernel<br />

■ lustre-source-1.5.97-2.6.9_42.0.3.EL_lustre.1.5.97smp.i686.rpm<br />

contains source for <strong>Lustre</strong> modules and userspace utilities<br />

Note – Kernel-source and <strong>Lustre</strong>-source packages are provided in case you need to<br />

build external kernel modules or use additional network types. They are not<br />

required to run <strong>Lustre</strong>.<br />

Once you have your <strong>Lustre</strong> source tree, run these commands to build <strong>Lustre</strong>.<br />

$ cd <br />

$ cp /boot/config-'uname -r' .config<br />

$ make oldconfig || make menuconfig<br />

■ For 2.6 kernels, run:<br />

■<br />

$ make include/asm<br />

$ make include/linux/version.h<br />

$ make SUBDIRS=scripts<br />

$ make include/linux/utsrelease.h<br />

For 2.4 kernels, run:<br />

$ make dep<br />

To configure <strong>Lustre</strong> and to build <strong>Lustre</strong> RPMs, go to the <strong>Lustre</strong> source directory and<br />

run:<br />

$ ./configure --with-linux=<br />

$ make rpms<br />

This creates a set of .rpms in /usr/src/redhat/RPMS/ with a date-stamp<br />

appended (the SUSE path is /usr/src/packages).<br />

Chapter 4 <strong>Lustre</strong> Installation 4-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!