<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="mysql-cluster-install-linux-rpm">
      </a>
      25.3.1.2 Installing NDB Cluster from RPM
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045122894064">
  </a>
  <a class="indexterm" name="idm46045122892576">
  </a>
  <p>
   This section covers the steps necessary to install the correct
        executables for each type of NDB Cluster node using RPM packages
        supplied by Oracle.
  </p>
  <p>
   As an alternative to the method described in this section,
        Oracle provides MySQL Repositories for NDB Cluster that are
        compatible with many common Linux distributions. Two
        repositories, listed here, are available for RPM-based
        distributions:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      For distributions using
      <span class="command">
       <strong>
        yum
       </strong>
      </span>
      or
      <span class="command">
       <strong>
        dnf
       </strong>
      </span>
      , you can use the
            MySQL Yum Repository for NDB Cluster. See
      <a class="ulink" href="/doc/mysql-yum-repo-quick-guide/en/#repo-qg-yum-fresh-cluster-install" target="_top">
       <em class="citetitle">
        Installing
            MySQL NDB Cluster Using the Yum
            Repository
       </em>
      </a>
      , for instructions and
            additional information.
     </p>
    </li>
    <li class="listitem">
     <p>
      For SLES, you can use the MySQL SLES Repository for NDB
            Cluster. See
      <a class="ulink" href="/doc/mysql-sles-repo-quick-guide/en/#repo-qg-sles-fresh-cluster-install" target="_top">
       <em class="citetitle">
        Installing
            MySQL NDB Cluster Using the SLES
            Repository
       </em>
      </a>
      , for instructions and
            additional information.
     </p>
    </li>
   </ul>
  </div>
  <p>
   RPMs are available for both 32-bit and 64-bit Linux platforms.
        The filenames for these RPMs use the following pattern:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting language-simple"><div class="docs-select-all right" id="sa50125243"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-simple">mysql<span class="token operator">-</span>cluster<span class="token operator">-</span>community<span class="token operator">-</span>data<span class="token operator">-</span>node<span class="token operator">-</span>8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0<span class="token operator">-</span>1<span class="token punctuation">.</span>el7<span class="token punctuation">.</span>x86_64<span class="token punctuation">.</span>rpm

mysql<span class="token operator">-</span>cluster<span class="token operator">-</span><em class="replaceable">license</em><span class="token operator">-</span><em class="replaceable">component</em><span class="token operator">-</span><em class="replaceable">ver</em><span class="token operator">-</span><em class="replaceable">rev</em><span class="token punctuation">.</span><em class="replaceable">distro</em><span class="token punctuation">.</span><em class="replaceable">arch</em><span class="token punctuation">.</span>rpm

    <em class="replaceable">license</em><span class="token operator">:</span><span class="token operator">=</span> <span class="token punctuation">{</span>commercial <span class="token operator">|</span> community<span class="token punctuation">}</span>

    <em class="replaceable">component</em><span class="token operator">:</span> <span class="token punctuation">{</span>management<span class="token operator">-</span>server <span class="token operator">|</span> data<span class="token operator">-</span>node <span class="token operator">|</span> server <span class="token operator">|</span> client <span class="token operator">|</span> <em class="replaceable">other—see text</em><span class="token punctuation">}</span>

    <em class="replaceable">ver</em><span class="token operator">:</span> <em class="replaceable">major</em><span class="token punctuation">.</span><em class="replaceable">minor</em><span class="token punctuation">.</span><em class="replaceable">release</em>

    <em class="replaceable">rev</em><span class="token operator">:</span> <em class="replaceable">major</em><span class="token punctuation">[</span><span class="token punctuation">.</span><em class="replaceable">minor</em><span class="token punctuation">]</span>

    <em class="replaceable">distro</em><span class="token operator">:</span> <span class="token punctuation">{</span>el6 <span class="token operator">|</span> el7 <span class="token operator">|</span> sles12<span class="token punctuation">}</span>

    <em class="replaceable">arch</em><span class="token operator">:</span> <span class="token punctuation">{</span>i686 <span class="token operator">|</span> x86_64<span class="token punctuation">}</span></code></pre>
  </div>
  <p>
   <em class="replaceable">
    <code>
     license
    </code>
   </em>
   indicates whether the RPM is
        part of a Commercial or Community release of NDB Cluster. In the
        remainder of this section, we assume for the examples that you
        are installing a Community release.
  </p>
  <p>
   Possible values for
   <em class="replaceable">
    <code>
     component
    </code>
   </em>
   , with
        descriptions, can be found in the following table:
  </p>
  <div class="table">
   <a name="idm46045122872480">
   </a>
   <p class="title">
    <b>
     Table 25.5 Components of the NDB Cluster RPM distribution
    </b>
   </p>
   <div class="table-contents">
    <table>
     <colgroup>
      <col style="width: 50%"/>
      <col style="width: 50%"/>
     </colgroup>
     <thead>
      <tr>
       <th>
        Component
       </th>
       <th>
        Description
       </th>
      </tr>
     </thead>
     <tbody>
      <tr>
       <td>
        <code class="literal">
         auto-installer
        </code>
        (DEPRECATED)
       </td>
       <td>
        NDB Cluster Auto Installer program; see
        <a class="ulink" href="/doc/refman/8.0/en/mysql-cluster-installer.html" target="_top">
         The NDB Cluster Auto-Installer (NO LONGER SUPPORTED)
        </a>
        , for usage
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         client
        </code>
       </td>
       <td>
        MySQL and
        <code class="literal">
         NDB
        </code>
        client programs; includes
        <a class="link" href="mysql.html" title="6.5.1 mysql — The MySQL Command-Line Client">
         <span class="command">
          <strong>
           mysql
          </strong>
         </span>
        </a>
        client,
        <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
         <span class="command">
          <strong>
           ndb_mgm
          </strong>
         </span>
        </a>
        client, and other client
                tools
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         common
        </code>
       </td>
       <td>
        Character set and error message information needed by the MySQL server
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         data-node
        </code>
       </td>
       <td>
        <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
         <span class="command">
          <strong>
           ndbd
          </strong>
         </span>
        </a>
        and
        <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
         <span class="command">
          <strong>
           ndbmtd
          </strong>
         </span>
        </a>
        data node binaries
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         devel
        </code>
       </td>
       <td>
        Headers and library files needed for MySQL client development
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         embedded
        </code>
       </td>
       <td>
        Embedded MySQL server
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         embedded-compat
        </code>
       </td>
       <td>
        Backwards-compatible embedded MySQL server
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         embedded-devel
        </code>
       </td>
       <td>
        Header and library files for developing applications for embedded MySQL
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         java
        </code>
       </td>
       <td>
        JAR files needed for support of ClusterJ applications
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         libs
        </code>
       </td>
       <td>
        MySQL client libraries
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         libs-compat
        </code>
       </td>
       <td>
        Backwards-compatible MySQL client libraries
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         management-server
        </code>
       </td>
       <td>
        The NDB Cluster management server (
        <a class="link" href="mysql-cluster-programs-ndb-mgmd.html" title="25.5.4 ndb_mgmd — The NDB Cluster Management Server Daemon">
         <span class="command">
          <strong>
           ndb_mgmd
          </strong>
         </span>
        </a>
        )
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         memcached
        </code>
       </td>
       <td>
        Files needed to support
        <code class="literal">
         ndbmemcache
        </code>
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         minimal-debuginfo
        </code>
       </td>
       <td>
        Debug information for package server-minimal; useful when developing
                applications that use this package or when debugging
                this package
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         ndbclient
        </code>
       </td>
       <td>
        <code class="literal">
         NDB
        </code>
        client library for running NDB API and MGM API
                applications (
        <code class="literal">
         libndbclient
        </code>
        )
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         ndbclient-devel
        </code>
       </td>
       <td>
        Header and other files needed for developing NDB API and MGM API
                applications
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         nodejs
        </code>
       </td>
       <td>
        Files needed to set up Node.JS support for NDB Cluster
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         server
        </code>
       </td>
       <td>
        The MySQL server (
        <a class="link" href="mysqld.html" title="6.3.1 mysqld — The MySQL Server">
         <span class="command">
          <strong>
           mysqld
          </strong>
         </span>
        </a>
        ) with
        <code class="literal">
         NDB
        </code>
        storage engine support included, and associated MySQL
                server programs
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         server-minimal
        </code>
       </td>
       <td>
        Minimal installation of the MySQL server for NDB and related tools
       </td>
      </tr>
      <tr>
       <td>
        <code class="literal">
         test
        </code>
       </td>
       <td>
        <span class="command">
         <strong>
          mysqltest
         </strong>
        </span>
        , other MySQL test programs, and support
                files
       </td>
      </tr>
     </tbody>
    </table>
   </div>
   <div class="table-contents">
    <table cellpadding="0" cellspacing="0" style="position: fixed; top: 0px; display: none; left: 401px; width: 739px;">
     <thead>
      <tr>
       <th style="width: 369px;">
        Component
       </th>
       <th style="width: 369px;">
        Description
       </th>
      </tr>
     </thead>
    </table>
   </div>
  </div>
  <p>
   <br class="table-break"/>
  </p>
  <p>
   A single bundle (
   <code class="filename">
    .tar
   </code>
   file) of all NDB
        Cluster RPMs for a given platform and architecture is also
        available. The name of this file follows the pattern shown here:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-simple"><div class="docs-select-all right" id="sa18556562"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-simple">mysql<span class="token operator">-</span>cluster<span class="token operator">-</span><em class="replaceable">license</em><span class="token operator">-</span><em class="replaceable">ver</em><span class="token operator">-</span><em class="replaceable">rev</em><span class="token punctuation">.</span><em class="replaceable">distro</em><span class="token punctuation">.</span><em class="replaceable">arch</em><span class="token punctuation">.</span>rpm<span class="token operator">-</span>bundle<span class="token punctuation">.</span>tar</code></pre>
  </div>
  <p>
   You can extract the individual RPM files from this file using
   <span class="command">
    <strong>
     tar
    </strong>
   </span>
   or your preferred tool for extracting
        archives.
  </p>
  <p>
   The components required to install the three major types of NDB
        Cluster nodes are given in the following list:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <span class="emphasis">
       <em>
        Management node
       </em>
      </span>
      :
      <code class="literal">
       management-server
      </code>
     </p>
    </li>
    <li class="listitem">
     <p>
      <span class="emphasis">
       <em>
        Data node
       </em>
      </span>
      :
      <code class="literal">
       data-node
      </code>
     </p>
    </li>
    <li class="listitem">
     <p>
      <span class="emphasis">
       <em>
        SQL node
       </em>
      </span>
      :
      <code class="literal">
       server
      </code>
      and
      <code class="literal">
       common
      </code>
     </p>
    </li>
   </ul>
  </div>
  <p>
   In addition, the
   <code class="literal">
    client
   </code>
   RPM should be
        installed to provide the
   <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
    <span class="command">
     <strong>
      ndb_mgm
     </strong>
    </span>
   </a>
   management
        client on at least one management node. You may also wish to
        install it on SQL nodes, to have
   <a class="link" href="mysql.html" title="6.5.1 mysql — The MySQL Command-Line Client">
    <span class="command">
     <strong>
      mysql
     </strong>
    </span>
   </a>
   and
        other MySQL client programs available on these. We discuss
        installation of nodes by type later in this section.
  </p>
  <p>
   <em class="replaceable">
    <code>
     ver
    </code>
   </em>
   represents the three-part
   <code class="literal">
    NDB
   </code>
   storage engine version number in
        8.4.
   <em class="replaceable">
    <code>
     x
    </code>
   </em>
   format, shown as
   <code class="literal">
    8.4.0
   </code>
   in the examples.
   <code class="literal">
    rev
   </code>
   provides the RPM revision number in
   <em class="replaceable">
    <code>
     major
    </code>
   </em>
   .
   <em class="replaceable">
    <code>
     minor
    </code>
   </em>
   format. In the examples shown in this section, we use
   <code class="literal">
    1.1
   </code>
   for this value.
  </p>
  <p>
   The
   <em class="replaceable">
    <code>
     distro
    </code>
   </em>
   (Linux distribution) is
        one of
   <code class="literal">
    rhel5
   </code>
   (Oracle Linux 5, Red Hat
        Enterprise Linux 4 and 5),
   <code class="literal">
    el6
   </code>
   (Oracle Linux
        6, Red Hat Enterprise Linux 6),
   <code class="literal">
    el7
   </code>
   (Oracle
        Linux 7, Red Hat Enterprise Linux 7), or
   <code class="literal">
    sles12
   </code>
   (SUSE Enterprise Linux 12). For the
        examples in this section, we assume that the host runs Oracle
        Linux 7, Red Hat Enterprise Linux 7, or the equivalent
        (
   <code class="literal">
    el7
   </code>
   ).
  </p>
  <p>
   <em class="replaceable">
    <code>
     arch
    </code>
   </em>
   is
   <code class="literal">
    i686
   </code>
   for
        32-bit RPMs and
   <code class="literal">
    x86_64
   </code>
   for 64-bit versions.
        In the examples shown here, we assume a 64-bit platform.
  </p>
  <p>
   The NDB Cluster version number in the RPM file names (shown here
        as
   <code class="literal">
    8.4.0
   </code>
   ) can vary
        according to the version which you are actually using.
   <span class="emphasis">
    <em>
     It is very important that all of the Cluster RPMs to
        be installed have the same version number
    </em>
   </span>
   . The
        architecture should also be appropriate to the machine on which
        the RPM is to be installed; in particular, you should keep in
        mind that 64-bit RPMs (
   <code class="literal">
    x86_64
   </code>
   ) cannot be used
        with 32-bit operating systems (use
   <code class="literal">
    i686
   </code>
   for
        the latter).
  </p>
  <p>
   <b>
    Data nodes.
   </b>
   On a computer that is to host an NDB Cluster data node it is
          necessary to install only the
   <code class="literal">
    data-node
   </code>
   RPM. To do so, copy this RPM to the data node host, and run
          the following command as the system root user, replacing the
          name shown for the RPM as necessary to match that of the RPM
          downloaded from the MySQL website:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa43766748"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">rpm</span> <span class="token property">-Uhv</span> mysql-cluster-community-data-node-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-1<span class="token punctuation">.</span>el7<span class="token punctuation">.</span>x86_64<span class="token punctuation">.</span>rpm</code></pre>
  </div>
  <p>
   This installs the
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   and
   <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
    <span class="command">
     <strong>
      ndbmtd
     </strong>
    </span>
   </a>
   data node binaries in
   <code class="filename">
    /usr/sbin
   </code>
   . Either of these can be used to
        run a data node process on this host.
  </p>
  <p>
   <b>
    SQL nodes.
   </b>
   Copy the
   <code class="literal">
    server
   </code>
   and
   <code class="literal">
    common
   </code>
   RPMs to each machine to be used for
          hosting an NDB Cluster SQL node (
   <code class="literal">
    server
   </code>
   requires
   <code class="literal">
    common
   </code>
   ). Install the
   <code class="literal">
    server
   </code>
   RPM by executing the following
          command as the system root user, replacing the name shown for
          the RPM as necessary to match the name of the RPM downloaded
          from the MySQL website:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa40334431"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">rpm</span> <span class="token property">-Uhv</span> mysql-cluster-community-server-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-1<span class="token punctuation">.</span>el7<span class="token punctuation">.</span>x86_64<span class="token punctuation">.</span>rpm</code></pre>
  </div>
  <p>
   This installs the MySQL server binary
        (
   <a class="link" href="mysqld.html" title="6.3.1 mysqld — The MySQL Server">
    <span class="command">
     <strong>
      mysqld
     </strong>
    </span>
   </a>
   ), with
   <code class="literal">
    NDB
   </code>
   storage
        engine support, in the
   <code class="filename">
    /usr/sbin
   </code>
   directory.
        It also installs all needed MySQL Server support files and
        useful MySQL server programs, including the
   <a class="link" href="mysql-server.html" title="6.3.3 mysql.server — MySQL Server Startup Script">
    <span class="command">
     <strong>
      mysql.server
     </strong>
    </span>
   </a>
   and
   <a class="link" href="mysqld-safe.html" title="6.3.2 mysqld_safe — MySQL Server Startup Script">
    <span class="command">
     <strong>
      mysqld_safe
     </strong>
    </span>
   </a>
   startup scripts (in
   <code class="filename">
    /usr/share/mysql
   </code>
   and
   <code class="filename">
    /usr/bin
   </code>
   , respectively). The RPM installer
        should take care of general configuration issues (such as
        creating the
   <code class="literal">
    mysql
   </code>
   user and group, if needed)
        automatically.
  </p>
  <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
   <div class="admon-title">
    Important
   </div>
   <p>
    You must use the versions of these RPMs released for NDB
          Cluster; those released for the standard MySQL server do not
          provide support for the
    <code class="literal">
     NDB
    </code>
    storage engine.
   </p>
  </div>
  <p>
   To administer the SQL node (MySQL server), you should also
        install the
   <code class="literal">
    client
   </code>
   RPM, as shown here:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa49160295"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">rpm</span> <span class="token property">-Uhv</span> mysql-cluster-community-client-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-1<span class="token punctuation">.</span>el7<span class="token punctuation">.</span>x86_64<span class="token punctuation">.</span>rpm</code></pre>
  </div>
  <p>
   This installs the
   <a class="link" href="mysql.html" title="6.5.1 mysql — The MySQL Command-Line Client">
    <span class="command">
     <strong>
      mysql
     </strong>
    </span>
   </a>
   client and other
        MySQL client programs, such as
   <a class="link" href="mysqladmin.html" title="6.5.2 mysqladmin — A MySQL Server Administration Program">
    <span class="command">
     <strong>
      mysqladmin
     </strong>
    </span>
   </a>
   and
   <a class="link" href="mysqldump.html" title="6.5.4 mysqldump — A Database Backup Program">
    <span class="command">
     <strong>
      mysqldump
     </strong>
    </span>
   </a>
   , to
   <code class="filename">
    /usr/bin
   </code>
   .
  </p>
  <p>
   <b>
    Management nodes.
   </b>
   To install the NDB Cluster management server, it is necessary
          only to use the
   <code class="literal">
    management-server
   </code>
   RPM. Copy
          this RPM to the computer intended to host the management node,
          and then install it by running the following command as the
          system root user (replace the name shown for the RPM as
          necessary to match that of the
   <code class="literal">
    management-server
   </code>
   RPM downloaded from the
          MySQL website):
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa47706287"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">rpm</span> <span class="token property">-Uhv</span> mysql-cluster-community-management-server-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-1<span class="token punctuation">.</span>el7<span class="token punctuation">.</span>x86_64<span class="token punctuation">.</span>rpm</code></pre>
  </div>
  <p>
   This RPM installs the management server binary
   <a class="link" href="mysql-cluster-programs-ndb-mgmd.html" title="25.5.4 ndb_mgmd — The NDB Cluster Management Server Daemon">
    <span class="command">
     <strong>
      ndb_mgmd
     </strong>
    </span>
   </a>
   in the
   <code class="filename">
    /usr/sbin
   </code>
   directory. While this is the only
        program actually required for running a management node, it is
        also a good idea to have the
   <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
    <span class="command">
     <strong>
      ndb_mgm
     </strong>
    </span>
   </a>
   NDB
        Cluster management client available as well. You can obtain this
        program, as well as other
   <code class="literal">
    NDB
   </code>
   client programs
        such as
   <a class="link" href="mysql-cluster-programs-ndb-desc.html" title="25.5.9 ndb_desc — Describe NDB Tables">
    <span class="command">
     <strong>
      ndb_desc
     </strong>
    </span>
   </a>
   and
   <a class="link" href="mysql-cluster-programs-ndb-config.html" title="25.5.7 ndb_config — Extract NDB Cluster Configuration Information">
    <span class="command">
     <strong>
      ndb_config
     </strong>
    </span>
   </a>
   , by installing the
   <code class="literal">
    client
   </code>
   RPM as described previously.
  </p>
  <p>
   See
   <a class="xref" href="linux-installation-rpm.html" title="2.5.4 Installing MySQL on Linux Using RPM Packages from Oracle">
    Section 2.5.4, “Installing MySQL on Linux Using RPM Packages from Oracle”
   </a>
   , for general
        information about installing MySQL using RPMs supplied by
        Oracle.
  </p>
  <p>
   After installing from RPM, you still need to configure the
        cluster; see
   <a class="xref" href="mysql-cluster-install-configuration.html" title="25.3.3 Initial Configuration of NDB Cluster">
    Section 25.3.3, “Initial Configuration of NDB Cluster”
   </a>
   , for the
        relevant information.
  </p>
  <p>
   <span class="emphasis">
    <em>
     It is very important that all of the Cluster RPMs to
        be installed have the same version number
    </em>
   </span>
   . The
   <em class="replaceable">
    <code>
     architecture
    </code>
   </em>
   designation should also
        be appropriate to the machine on which the RPM is to be
        installed; in particular, you should keep in mind that 64-bit
        RPMs cannot be used with 32-bit operating systems.
  </p>
  <p>
   <b>
    Data nodes.
   </b>
   On a computer that is to host a cluster data node it is
          necessary to install only the
   <code class="literal">
    server
   </code>
   RPM.
          To do so, copy this RPM to the data node host, and run the
          following command as the system root user, replacing the name
          shown for the RPM as necessary to match that of the RPM
          downloaded from the MySQL website:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa32879500"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">rpm</span> <span class="token property">-Uhv</span> MySQL-Cluster-server-gpl-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-1<span class="token punctuation">.</span>sles11<span class="token punctuation">.</span>i386<span class="token punctuation">.</span>rpm</code></pre>
  </div>
  <p>
   Although this installs all NDB Cluster binaries, only the
        program
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   or
   <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
    <span class="command">
     <strong>
      ndbmtd
     </strong>
    </span>
   </a>
   (both in
   <code class="filename">
    /usr/sbin
   </code>
   ) is actually needed to
        run an NDB Cluster data node.
  </p>
  <p>
   <b>
    SQL nodes.
   </b>
   On each machine to be used for hosting a cluster SQL node,
          install the
   <code class="literal">
    server
   </code>
   RPM by executing the
          following command as the system root user, replacing the name
          shown for the RPM as necessary to match the name of the RPM
          downloaded from the MySQL website:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa89240084"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">rpm</span> <span class="token property">-Uhv</span> MySQL-Cluster-server-gpl-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-1<span class="token punctuation">.</span>sles11<span class="token punctuation">.</span>i386<span class="token punctuation">.</span>rpm</code></pre>
  </div>
  <p>
   This installs the MySQL server binary
        (
   <a class="link" href="mysqld.html" title="6.3.1 mysqld — The MySQL Server">
    <span class="command">
     <strong>
      mysqld
     </strong>
    </span>
   </a>
   ) with
   <a class="link" href="mysql-cluster.html" title="Chapter 25 MySQL NDB Cluster 8.4">
    <code class="literal">
     NDB
    </code>
   </a>
   storage engine support in the
   <code class="filename">
    /usr/sbin
   </code>
   directory, as well as all needed
        MySQL Server support files. It also installs the
   <a class="link" href="mysql-server.html" title="6.3.3 mysql.server — MySQL Server Startup Script">
    <span class="command">
     <strong>
      mysql.server
     </strong>
    </span>
   </a>
   and
   <a class="link" href="mysqld-safe.html" title="6.3.2 mysqld_safe — MySQL Server Startup Script">
    <span class="command">
     <strong>
      mysqld_safe
     </strong>
    </span>
   </a>
   startup scripts (in
   <code class="filename">
    /usr/share/mysql
   </code>
   and
   <code class="filename">
    /usr/bin
   </code>
   , respectively). The RPM installer
        should take care of general configuration issues (such as
        creating the
   <code class="literal">
    mysql
   </code>
   user and group, if needed)
        automatically.
  </p>
  <p>
   To administer the SQL node (MySQL server), you should also
        install the
   <code class="literal">
    client
   </code>
   RPM, as shown here:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa34266388"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">rpm</span> <span class="token property">-Uhv</span> MySQL-Cluster-client-gpl-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-1<span class="token punctuation">.</span>sles11<span class="token punctuation">.</span>i386<span class="token punctuation">.</span>rpm</code></pre>
  </div>
  <p>
   This installs the
   <a class="link" href="mysql.html" title="6.5.1 mysql — The MySQL Command-Line Client">
    <span class="command">
     <strong>
      mysql
     </strong>
    </span>
   </a>
   client program.
  </p>
  <p>
   <b>
    Management nodes.
   </b>
   To install the NDB Cluster management server, it is necessary
          only to use the
   <code class="literal">
    server
   </code>
   RPM. Copy this RPM
          to the computer intended to host the management node, and then
          install it by running the following command as the system root
          user (replace the name shown for the RPM as necessary to match
          that of the
   <code class="literal">
    server
   </code>
   RPM downloaded from the
          MySQL website):
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa41505514"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">rpm</span> <span class="token property">-Uhv</span> MySQL-Cluster-server-gpl-8<span class="token punctuation">.</span>4<span class="token punctuation">.</span>0-1<span class="token punctuation">.</span>sles11<span class="token punctuation">.</span>i386<span class="token punctuation">.</span>rpm</code></pre>
  </div>
  <p>
   Although this RPM installs many other files, only the management
        server binary
   <a class="link" href="mysql-cluster-programs-ndb-mgmd.html" title="25.5.4 ndb_mgmd — The NDB Cluster Management Server Daemon">
    <span class="command">
     <strong>
      ndb_mgmd
     </strong>
    </span>
   </a>
   (in the
   <code class="filename">
    /usr/sbin
   </code>
   directory) is actually required
        for running a management node. The
   <code class="literal">
    server
   </code>
   RPM
        also installs
   <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
    <span class="command">
     <strong>
      ndb_mgm
     </strong>
    </span>
   </a>
   , the
   <a class="link" href="mysql-cluster.html" title="Chapter 25 MySQL NDB Cluster 8.4">
    <code class="literal">
     NDB
    </code>
   </a>
   management client.
  </p>
  <p>
   See
   <a class="xref" href="linux-installation-rpm.html" title="2.5.4 Installing MySQL on Linux Using RPM Packages from Oracle">
    Section 2.5.4, “Installing MySQL on Linux Using RPM Packages from Oracle”
   </a>
   , for general
        information about installing MySQL using RPMs supplied by
        Oracle. See
   <a class="xref" href="mysql-cluster-install-configuration.html" title="25.3.3 Initial Configuration of NDB Cluster">
    Section 25.3.3, “Initial Configuration of NDB Cluster”
   </a>
   , for
        information about required post-installation configuration.
  </p>
 </div>
 <br/>
</div>
