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-osd-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>lustre-zfs-ldiskfs-</code>
185 <replaceable>ver</replaceable>
186 <code>_lustre.</code>
187 <replaceable>arch</replaceable>
189 <entry>Lustre back-end file system tools for ZFS. This is
191 <literal>lustre-osd-ldiskfs</literal></entry>
195 <code>e2fsprogs</code>
197 <entry>Utility to maintain Lustre back-end file
202 <code>lustre-tests-</code>
203 <replaceable>ver</replaceable>
204 <code>_lustre.</code>
205 <replaceable>arch</replaceable>
207 <entry>Lustre I/O Kit benchmarking tools
208 <emphasis role="italic">(Included in Lustre software as of
209 release 2.2)</emphasis></entry>
218 <emphasis role="bold">
219 <emphasis role="italic">Lustre client packages</emphasis>
220 </emphasis>. The required packages for Lustre clients are listed in
221 the table below, where
222 <replaceable>ver</replaceable>refers to the Linux distribution (e.g.,
223 2.6.18-348.1.1.el5). These packages are available in the
224 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
225 Lustre Releases</link>repository.</para>
227 <table frame="all" xml:id="table_j3r_ym3_gk">
228 <title>Packages Installed on Lustre Clients</title>
230 <colspec colname="c1" colnum="1" colwidth="1*" />
231 <colspec colname="c2" colnum="2" colwidth="1.02*" />
234 <entry>Package Name</entry>
235 <entry>Description</entry>
241 <code>lustre-client-modules-</code>
242 <replaceable>ver</replaceable>
244 <entry>Patchless kernel modules for client</entry>
248 <code>lustre-client-</code>
249 <replaceable>ver</replaceable>
252 <entry>Client command line tools</entry>
256 <code>lustre-client-tests-</code>
257 <replaceable>ver</replaceable>
259 <entry>Lustre I/O Kit
260 <emphasis role="italic">(Included in Lustre software as of
261 release 2.2)</emphasis></entry>
268 <para>The version of the kernel running on a Lustre client must be
269 the same as the version of the
270 <code>lustre-client-modules-</code>
271 <replaceable>ver</replaceable>package being installed. If the
272 kernel running on the client is not compatible, a kernel that is
273 compatible must be installed on the client before the Lustre file
274 system software is installed.</para>
279 <emphasis role="bold">
280 <emphasis role="italic">Lustre LNET network driver (LND)</emphasis>
281 </emphasis>. The Lustre LNDs provided with the Lustre software are
282 listed in the table below. For more information about Lustre LNET,
284 <xref xmlns:xlink="http://www.w3.org/1999/xlink"
285 linkend="understandinglustrenetworking" />.</para>
286 <table frame="all" xml:id="table_bkx_dn3_gk">
287 <title>Network Types Supported by Lustre LNDs</title>
289 <colspec colname="c1" colnum="1" colwidth="1*" />
290 <colspec colname="newCol2" colnum="2" colwidth="1.95*" />
293 <entry>Supported Network Types</entry>
300 <entry>Any network carrying TCP traffic, including GigE,
301 10GigE, and IPoIB</entry>
304 <entry>InfiniBand network</entry>
305 <entry>OpenFabrics OFED (o2ib)</entry>
309 <entry>Gemini (Cray)</entry>
312 <entry>Seastar</entry>
317 <entry>Myrinet network</entry>
322 <superscript>*</superscript>interconnect</entry>
326 <entry>Quadrics</entry>
332 </itemizedlist></para>
335 <para>The InfiniBand and TCP Lustre LNDs are routinely tested during
336 release cycles. The other LNDs are maintained by their respective
342 <emphasis role="bold">
343 <emphasis role="italic">High availability software</emphasis>
344 </emphasis>. If needed, install third party high-availability
345 software. For more information, see
346 <xref linkend="dbdoclet.50438188_92688" />.</para>
350 <emphasis role="bold">
351 <emphasis role="italic">Optional packages.</emphasis>
352 </emphasis>Optional packages provided in the
353 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
354 Lustre Releases</link>repository may include the following
355 (depending on the operating system and platform):
359 <code>kernel-debuginfo</code>,
360 <code>kernel-debuginfo-common</code>,
361 <code>lustre-debuginfo</code>,
362 <code>lustre-osd-ldiskfs-debuginfo</code>- Versions of required
363 packages with debugging symbols and other debugging options
364 enabled for use in troubleshooting.</para>
368 <code>kernel-devel</code>, - Portions of the kernel tree needed
369 to compile third party modules, such as network drivers.</para>
373 <code>kernel-firmware</code>- Standard Red Hat Enterprise Linux
374 distribution that has been recompiled to work with the Lustre
379 <code>kernel-headers</code>- Header files installed under
380 /user/include and used when compiling user-space,
381 kernel-related code.</para>
385 <code>lustre-source</code>- Lustre software source code.</para>
389 <emphasis role="italic">(Recommended)</emphasis>
391 <code>perf-debuginfo</code>,
392 <code>python-perf</code>,
393 <code>python-perf-debuginfo</code>- Linux performance analysis
394 tools that have been compiled to match the Lustre kernel
397 </itemizedlist></para>
402 <section xml:id="section_rh2_d4w_gk">
403 <title>Environmental Requirements</title>
404 <para>Before installing the Lustre software, make sure the following
405 environmental requirements are met.
409 <emphasis role="italic">(Required)</emphasis>
410 <emphasis role="italic">
411 <emphasis role="bold">Disable Security-Enhanced Linux
412 <superscript>*</superscript>(SELinux) on all Lustre servers and
414 </emphasis>The Lustre software does not support SELinux. Therefore,
415 the SELinux system extension must be disabled on all Lustre nodes.
416 Also, make sure other security extensions (such as the Novell
418 <superscript>*</superscript>security system) and network packet
419 filtering tools (such as iptables) do not interfere with the Lustre
424 <emphasis role="italic">(Required)</emphasis>
425 <emphasis role="italic">
426 <emphasis role="bold">Use the same user IDs (UID) and group IDs
427 (GID) on all clients.</emphasis>
428 </emphasis>If use of supplemental groups is required, see
429 <xref linkend="dbdoclet.50438291_32926" />for information about
430 supplementary user and group cache upcall (
431 <code>identity_upcall</code>).</para>
435 <emphasis role="italic">(Recommended)</emphasis>
436 <emphasis role="italic">
437 <emphasis role="bold">Provide remote shell access to
439 </emphasis>It is recommended that all cluster nodes have remote shell
440 client access to facilitate the use of Lustre configuration and
441 monitoring scripts. Parallel Distributed SHell (pdsh) is preferable,
442 although Secure SHell (SSH) is acceptable.</para>
446 <emphasis role="italic">(Recommended)</emphasis>
447 <emphasis role="italic">
448 <emphasis role="bold">Ensure client clocks are
449 synchronized.</emphasis>
450 </emphasis>The Lustre file system uses client clocks for timestamps.
451 If clocks are out of sync between clients, files will appear with
452 different time stamps when accessed by different clients. Drifting
453 clocks can also cause problems by, for example, making it difficult
454 to debug multi-node issues or correlate logs, which depend on
455 timestamps. We recommend that you use Network Time Protocol (NTP) to
456 keep client and server clocks in sync with each other. For more
457 information about NTP, see:
458 <link xl:href="http://www.ntp.org/">http://www.ntp.org</link>.</para>
460 </itemizedlist></para>
463 <section xml:id="dbdoclet.50438261_41900">
464 <title>Lustre Software Installation Procedure</title>
466 <para>Before installing the Lustre software, back up ALL data. The Lustre
467 software contains kernel modifications that interact with storage devices
468 and may introduce security issues and data loss if not installed,
469 configured, or administered properly.</para>
471 <para>To install the Lustre software from RPMs, complete the steps
475 <para>Verify that all Lustre installation requirements have been
479 <para>For hardware requirements, see
480 <xref linkend="settinguplustresystem" />.</para>
483 <para>For software and environmental requirements, see the section
484 <xref xmlns:xlink="http://www.w3.org/1999/xlink"
485 linkend="dbdoclet.50438261_99193" />above.</para>
491 <literal>e2fsprogs</literal> RPMs for your platform from the
492 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
493 Lustre Releases</link>repository.</para>
496 <para>Download the Lustre server RPMs for your platform from the
497 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
498 Lustre Releases</link>repository. See
499 <xref xmlns:xlink="http://www.w3.org/1999/xlink"
500 linkend="table_cnh_5m3_gk" />for a list of required packages.</para>
502 <listitem xml:id="dbdoclet.50438261_88296">
503 <para>Install the Lustre server and
504 <literal>e2fsprogs</literal> packages on all Lustre servers (MGS, MDSs,
506 <orderedlist numeration="loweralpha">
508 <para>Log onto a Lustre server as the
509 <literal>root</literal> user</para>
513 <literal>yum</literal> command to install the packages:</para>
516 # yum --nogpgcheck install pkg1.rpm pkg2.rpm ...
521 <para>Verify the packages are installed correctly:</para>
524 rpm -qa|egrep "lustre|wc"|sort
529 <para>Reboot the server.</para>
532 <para>Repeat these steps on each Lustre server.</para>
534 </orderedlist></para>
537 <para>Download the Lustre client RPMs for your platform from the
538 <link xl:href="https://wiki.hpdd.intel.com/display/PUB/Lustre+Releases">
539 Lustre Releases</link>repository. See
540 <xref xmlns:xlink="http://www.w3.org/1999/xlink"
541 linkend="table_j3r_ym3_gk" />for a list of required packages.</para>
544 <para>Install the Lustre client packages on all Lustre clients.
546 <para>The version of the kernel running on a Lustre client must be
547 the same as the version of the
548 <literal>lustre-client-modules-</literal>
549 <replaceable>ver</replaceable>package being installed. If not, a
550 compatible kernel must be installed on the client before the Lustre
551 client packages are installed.</para>
553 <orderedlist numeration="loweralpha">
555 <para>Log onto a Lustre client as the root user.</para>
559 <literal>yum</literal> command to install the packages:</para>
562 # yum --nogpgcheck install pkg1.rpm pkg2.rpm ...
567 <para>Verify the packages were installed correctly:</para>
570 # rpm -qa|egrep "lustre|kernel"|sort
575 <para>Reboot the client.</para>
578 <para>Repeat these steps on each Lustre client.</para>
583 <para>To configure LNET, go to
584 <xref linkend="configuringlnet" />. If default settings will be used for
586 <xref linkend="configuringlustre" />.</para>