WARNING: This is the _old_ Lustre wiki, and it is in the process of being retired. The information found here is all likely to be out of date. Please search the new wiki for more up to date information.

Difference between revisions of "Building and Installing Lustre from Source Code"

From Obsolete Lustre Wiki
Jump to navigationJump to search
(Created page with 'Installing Lustre from source involves several procedures - patching the core kernel, configuring it to work with Lustre, and creating Lustre and kernel RPMs from source code. Th...')
 
Line 1: Line 1:
Installing Lustre from source involves several procedures - patching the core kernel,
+
If you are using a Linux kernel that is unsupported by Lustre, you will need to build and install Lustre from source code. This involves several steps:
configuring it to work with Lustre, and creating Lustre and kernel RPMs from source
+
* Patching the core kernel
code. The easier installation method is to install Lustre from packaged binaries
+
* Configuring the kernel to work with Lustre
(RPMs). For more information on this installation method, see Installing Lustre from
+
* Creating Lustre and kernel RPMs from source code.  
RPMs.
+
 
 +
If you are installing Lustre on a supported Linux kernel, you will find it easier to install Lustre from packaged binaries (RPMs). For more information about this installation method, see [[Installing Lustre from Downloaded RPMs]].
  
 
'''''Caution:'''''  Lustre contains kernel modifications which interact with storage devices and may introduce security issues and data loss if not installed, configured and administered correctly. Before installing Lustre, be cautious and back up ''ALL'' data.
 
'''''Caution:'''''  Lustre contains kernel modifications which interact with storage devices and may introduce security issues and data loss if not installed, configured and administered correctly. Before installing Lustre, be cautious and back up ''ALL'' data.

Revision as of 11:56, 23 September 2009

If you are using a Linux kernel that is unsupported by Lustre, you will need to build and install Lustre from source code. This involves several steps:

  • Patching the core kernel
  • Configuring the kernel to work with Lustre
  • Creating Lustre and kernel RPMs from source code.

If you are installing Lustre on a supported Linux kernel, you will find it easier to install Lustre from packaged binaries (RPMs). For more information about this installation method, see Installing Lustre from Downloaded RPMs.

Caution: Lustre contains kernel modifications which interact with storage devices and may introduce security issues and data loss if not installed, configured and administered correctly. Before installing Lustre, be cautious and back up ALL data.

Note: When using third-party network hardware with Lustre, the third-party modules (typically, the drivers) must be linked against the Linux kernel. The LNET modules in Lustre also need these references. To meet these requirements, a specific process must be followed to install and recompile Lustre. See "Installing Lustre with a Third-Party Network Stack" in the Lustre Operations Manual for an example showing how to install Lustre 1.6.6 using the Myricom MX 1.2.7 driver. The same process can be used for other third party network stacks.