1 <?xml version='1.0' encoding='utf-8'?>
2 <chapter xmlns="http://docbook.org/ns/docbook"
3 xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en-US"
4 xml:id="installinglustre">
5 <title xml:id="installinglustre.title">Installing the Lustre Software</title>
6 <para>This chapter describes how to install the Lustre software from RPM
7 packages. It includes:</para>
11 <xref linkend="dbdoclet.50438261_99193" />
16 <xref linkend="dbdoclet.50438261_41900" />
20 <para>For hardware and system requirements and hardware configuration
22 <xref linkend="settinguplustresystem" />.</para>
23 <section xml:id="dbdoclet.50438261_99193">
26 <primary>installing</primary>
27 <secondary>preparation</secondary>
28 </indexterm>Preparing to Install the Lustre Software</title>
29 <para>You can install the Lustre software from downloaded packages (RPMs)
30 or directly from the source code. This chapter describes how to install the
31 Lustre RPM packages. For information about installing from source code, see
33 <xref linkend="installinglustrefromsourcecode" />.</para>
34 <para>The Lustre RPM packages have been tested on the Linux distributions
35 listed in the table below.</para>
37 <table frame="all" xml:id="LustreTestMatrixTable">
38 <title>Lustre Test Matrix</title>
40 <colspec colname="c1" colnum="1" colwidth="1*" />
41 <colspec colname="c2" colnum="2" colwidth="1.1*" />
42 <colspec colname="c3" colnum="3" colwidth="1.46*" />
45 <entry>Lustre Release</entry>
47 <superscript>1</superscript></entry>
48 <entry>Clients Tested</entry>
57 <para>RHEL 5, CentOS 5</para>
60 <para>RHEL 5, CentOS 5, SLES 11 SP0</para>
68 <para>RHEL 5, CentOS 5, RHEL 6, CentOS 6</para>
71 <para>RHEL 5, CentOS 5, RHEL 6, CentOS 6, SLES 11 SP1</para>
79 <para>RHEL 6, CentOS 6</para>
82 <para>RHEL 5, CentOS 5, RHEL 6, CentOS 6, SLES 11 SP1</para>
90 <para>RHEL 6.3, CentOS 6.3</para>
93 <para>RHEL 6.3, CentOS 6.3, RHEL 5.8, CentOS 5.8, SLES 11
100 <para>RHEL 6.4, CentOS 6.4</para>
103 <para>RHEL 6.4, CentOS 6.4, SLES 11 SP2, FC18</para>
111 <superscript>1</superscript>Red Hat Enterprise Edition (RHEL), CentOS
112 Enterprise Linux Distribution (CentOS), SUSE Linux Enterprise Server
114 <superscript>*</superscript>F18 Linux kernel (FC18).</para>
115 <section xml:id="section_rqs_tjw_3k">
116 <title>Software Requirements</title>
117 <para>To install the Lustre software from RPMs, the following are
122 <emphasis role="bold">
123 <emphasis role="italic">Lustre server packages</emphasis>
124 </emphasis>. The required packages for Lustre servers are listed in
125 the table below, where
126 <replaceable>ver</replaceable>refers to the Linux kernel distribution
127 (e.g., 2.6.32-358.6.2.el6) and
128 <replaceable>arch</replaceable>refers to the processor architecture
129 (e.g., x86_64). These packages are available in the
130 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
131 Lustre Releases</link>repository.</para>
133 <table frame="all" xml:id="table_cnh_5m3_gk">
134 <title>Packages Installed on Lustre Servers</title>
136 <colspec colname="c1" colnum="1" colwidth="1.18*" />
137 <colspec colname="c2" colnum="2" colwidth="1*" />
140 <entry>Package Name</entry>
141 <entry>Description</entry>
148 <replaceable>ver</replaceable>
149 <code>_lustre.</code>
150 <replaceable>arch</replaceable>
152 <entry>Linux kernel with Lustre software patches (often
153 referred to as "patched kernel")</entry>
158 <replaceable>ver</replaceable>
159 <code>_lustre.</code>
160 <replaceable>arch</replaceable>
162 <entry>Lustre software command line tools</entry>
166 <code>lustre-modules-</code>
167 <replaceable>ver</replaceable>
168 <code>_lustre.</code>
169 <replaceable>arch</replaceable>
171 <entry>Lustre-patched kernel modules</entry>
175 <code>lustre-ldiskfs-</code>
176 <replaceable>ver</replaceable>
177 <code>_lustre.</code>
178 <replaceable>arch</replaceable>
180 <entry>Lustre back-end file system tools</entry>
184 <code>e2fsprogs</code>
186 <entry>Utility to maintain Lustre back-end file
191 <code>lustre-tests-</code>
192 <replaceable>ver</replaceable>
193 <code>_lustre.</code>
194 <replaceable>arch</replaceable>
196 <entry>Lustre I/O Kit benchmarking tools
197 <emphasis role="italic">(Included in Lustre software as of
198 release 2.2)</emphasis></entry>
207 <emphasis role="bold">
208 <emphasis role="italic">Lustre client packages</emphasis>
209 </emphasis>. The required packages for Lustre clients are listed in
210 the table below, where
211 <replaceable>ver</replaceable>refers to the Linux distribution (e.g.,
212 2.6.18-348.1.1.el5). These packages are available in the
213 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
214 Lustre Releases</link>repository.</para>
216 <table frame="all" xml:id="table_j3r_ym3_gk">
217 <title>Packages Installed on Lustre Clients</title>
219 <colspec colname="c1" colnum="1" colwidth="1*" />
220 <colspec colname="c2" colnum="2" colwidth="1.02*" />
223 <entry>Package Name</entry>
224 <entry>Description</entry>
230 <code>lustre-client-modules-</code>
231 <replaceable>ver</replaceable>
233 <entry>Patchless kernel modules for client</entry>
237 <code>lustre-client-</code>
238 <replaceable>ver</replaceable>
241 <entry>Client command line tools</entry>
245 <code>lustre-client-tests-</code>
246 <replaceable>ver</replaceable>
248 <entry>Lustre I/O Kit
249 <emphasis role="italic">(Included in Lustre software as of
250 release 2.2)</emphasis></entry>
257 <para>The version of the kernel running on a Lustre client must be
258 the same as the version of the
259 <code>lustre-client-modules-</code>
260 <replaceable>ver</replaceable>package being installed. If the
261 kernel running on the client is not compatible, a kernel that is
262 compatible must be installed on the client before the Lustre file
263 system software is installed.</para>
268 <emphasis role="bold">
269 <emphasis role="italic">Lustre LNET network driver (LND)</emphasis>
270 </emphasis>. The Lustre LNDs provided with the Lustre software are
271 listed in the table below. For more information about Lustre LNET,
273 <xref xmlns:xlink="http://www.w3.org/1999/xlink"
274 linkend="understandinglustrenetworking" />.</para>
275 <table frame="all" xml:id="table_bkx_dn3_gk">
276 <title>Network Types Supported by Lustre LNDs</title>
278 <colspec colname="c1" colnum="1" colwidth="1*" />
279 <colspec colname="newCol2" colnum="2" colwidth="1.95*" />
282 <entry>Supported Network Types</entry>
289 <entry>Any network carrying TCP traffic, including GigE,
290 10GigE, and IPoIB</entry>
293 <entry>InfiniBand network</entry>
294 <entry>OpenFabrics OFED (o2ib)</entry>
298 <entry>Gemini (Cray)</entry>
301 <entry>Seastar</entry>
306 <entry>Myrinet network</entry>
311 <superscript>*</superscript>interconnect</entry>
315 <entry>Quadrics</entry>
321 </itemizedlist></para>
324 <para>The InfiniBand and TCP Lustre LNDs are routinely tested during
325 release cycles. The other LNDs are maintained by their respective
331 <emphasis role="bold">
332 <emphasis role="italic">High availability software</emphasis>
333 </emphasis>. If needed, install third party high-availability
334 software. For more information, see
335 <xref linkend="dbdoclet.50438188_92688" />.</para>
339 <emphasis role="bold">
340 <emphasis role="italic">Optional packages.</emphasis>
341 </emphasis>Optional packages provided in the
342 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
343 Lustre Releases</link>repository may include the following
344 (depending on the operating system and platform):
348 <code>kernel-debuginfo</code>,
349 <code>kernel-debuginfo-common</code>,
350 <code>lustre-debuginfo</code>,
351 <code>lustre-ldiskfs-debuginfo</code>- Versions of required
352 packages with debugging symbols and other debugging options
353 enabled for use in troubleshooting.</para>
357 <code>kernel-devel</code>, - Portions of the kernel tree needed
358 to compile third party modules, such as network drivers.</para>
362 <code>kernel-firmware</code>- Standard Red Hat Enterprise Linux
363 distribution that has been recompiled to work with the Lustre
368 <code>kernel-headers</code>- Header files installed under
369 /user/include and used when compiling user-space,
370 kernel-related code.</para>
374 <code>lustre-source</code>- Lustre software source code.</para>
378 <emphasis role="italic">(Recommended)</emphasis>
380 <code>perf-debuginfo</code>,
381 <code>python-perf</code>,
382 <code>python-perf-debuginfo</code>- Linux performance analysis
383 tools that have been compiled to match the Lustre kernel
386 </itemizedlist></para>
391 <section xml:id="section_rh2_d4w_gk">
392 <title>Environmental Requirements</title>
393 <para>Before installing the Lustre software, make sure the following
394 environmental requirements are met.
398 <emphasis role="italic">(Required)</emphasis>
399 <emphasis role="italic">
400 <emphasis role="bold">Disable Security-Enhanced Linux
401 <superscript>*</superscript>(SELinux) on all Lustre servers and
403 </emphasis>The Lustre software does not support SELinux. Therefore,
404 the SELinux system extension must be disabled on all Lustre nodes.
405 Also, make sure other security extensions (such as the Novell
407 <superscript>*</superscript>security system) and network packet
408 filtering tools (such as iptables) do not interfere with the Lustre
413 <emphasis role="italic">(Required)</emphasis>
414 <emphasis role="italic">
415 <emphasis role="bold">Use the same user IDs (UID) and group IDs
416 (GID) on all clients.</emphasis>
417 </emphasis>If use of supplemental groups is required, see
418 <xref linkend="dbdoclet.50438291_32926" />for information about
419 supplementary user and group cache upcall (
420 <code>identity_upcall</code>).</para>
424 <emphasis role="italic">(Recommended)</emphasis>
425 <emphasis role="italic">
426 <emphasis role="bold">Provide remote shell access to
428 </emphasis>It is recommended that all cluster nodes have remote shell
429 client access to facilitate the use of Lustre configuration and
430 monitoring scripts. Parallel Distributed SHell (pdsh) is preferable,
431 although Secure SHell (SSH) is acceptable.</para>
435 <emphasis role="italic">(Recommended)</emphasis>
436 <emphasis role="italic">
437 <emphasis role="bold">Ensure client clocks are
438 synchronized.</emphasis>
439 </emphasis>The Lustre file system uses client clocks for timestamps.
440 If clocks are out of sync between clients, files will appear with
441 different time stamps when accessed by different clients. Drifting
442 clocks can also cause problems by, for example, making it difficult
443 to debug multi-node issues or correlate logs, which depend on
444 timestamps. We recommend that you use Network Time Protocol (NTP) to
445 keep client and server clocks in sync with each other. For more
446 information about NTP, see:
447 <link xl:href="http://www.ntp.org/">http://www.ntp.org</link>.</para>
449 </itemizedlist></para>
452 <section xml:id="dbdoclet.50438261_41900">
453 <title>Lustre Software Installation Procedure</title>
455 <para>Before installing the Lustre software, back up ALL data. The Lustre
456 software contains kernel modifications that interact with storage devices
457 and may introduce security issues and data loss if not installed,
458 configured, or administered properly.</para>
460 <para>To install the Lustre software from RPMs, complete the steps
464 <para>Verify that all Lustre installation requirements have been
468 <para>For hardware requirements, see
469 <xref linkend="settinguplustresystem" />.</para>
472 <para>For software and environmental requirements, see the section
473 <xref xmlns:xlink="http://www.w3.org/1999/xlink"
474 linkend="dbdoclet.50438261_99193" />above.</para>
480 <literal>e2fsprogs</literal> RPMs for your platform from the
481 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
482 Lustre Releases</link>repository.</para>
485 <para>Download the Lustre server RPMs for your platform from the
486 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
487 Lustre Releases</link>repository. See
488 <xref xmlns:xlink="http://www.w3.org/1999/xlink"
489 linkend="table_cnh_5m3_gk" />for a list of required packages.</para>
491 <listitem xml:id="dbdoclet.50438261_88296">
492 <para>Install the Lustre server and
493 <literal>e2fsprogs</literal> packages on all Lustre servers (MGS, MDSs,
495 <orderedlist numeration="loweralpha">
497 <para>Log onto a Lustre server as the
498 <literal>root</literal> user</para>
502 <literal>yum</literal> command to install the packages:</para>
505 # yum --nogpgcheck install pkg1.rpm pkg2.rpm ...
510 <para>Verify the packages are installed correctly:</para>
513 rpm -qa|egrep "lustre|wc"|sort
518 <para>Reboot the server.</para>
521 <para>Repeat these steps on each Lustre server.</para>
523 </orderedlist></para>
526 <para>Download the Lustre client RPMs for your platform from the
527 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
528 Lustre Releases</link>repository. See
529 <xref xmlns:xlink="http://www.w3.org/1999/xlink"
530 linkend="table_j3r_ym3_gk" />for a list of required packages.</para>
533 <para>Install the Lustre client packages on all Lustre clients.
535 <para>The version of the kernel running on a Lustre client must be
536 the same as the version of the
537 <literal>lustre-client-modules-</literal>
538 <replaceable>ver</replaceable>package being installed. If not, a
539 compatible kernel must be installed on the client before the Lustre
540 client packages are installed.</para>
542 <orderedlist numeration="loweralpha">
544 <para>Log onto a Lustre client as the root user.</para>
548 <literal>yum</literal> command to install the packages:</para>
551 # yum --nogpgcheck install pkg1.rpm pkg2.rpm ...
556 <para>Verify the packages were installed correctly:</para>
559 # rpm -qa|egrep "lustre|kernel"|sort
564 <para>Reboot the client.</para>
567 <para>Repeat these steps on each Lustre client.</para>
572 <para>To configure LNET, go to
573 <xref linkend="configuringlnet" />. If default settings will be used for
575 <xref linkend="configuringlustre" />.</para>