<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="mysql-cluster-computer-definition">
      </a>
      25.4.3.4 Defining Computers in an NDB Cluster
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045120535968">
  </a>
  <a class="indexterm" name="idm46045120534480">
  </a>
  <p>
   The
   <code class="literal">
    [computer]
   </code>
   section has no real
        significance other than serving as a way to avoid the need of
        defining host names for each node in the system. All parameters
        mentioned here are required.
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a name="ndbparam-computer-id">
      </a>
      <code class="literal">
       Id
      </code>
     </p>
     <div class="informaltable">
      <a name="id-computer-table">
      </a>
      <table frame="box" rules="all" summary="Id computer configuration parameter type and value information" width="35%">
       <colgroup>
        <col style="width: 50%"/>
        <col style="width: 50%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Version (or later)
         </th>
         <td>
          NDB 8.4.0
         </td>
        </tr>
        <tr>
         <th>
          Type or units
         </th>
         <td>
          string
         </td>
        </tr>
        <tr>
         <th>
          Default
         </th>
         <td>
          [...]
         </td>
        </tr>
        <tr>
         <th>
          Range
         </th>
         <td>
          ...
         </td>
        </tr>
        <tr>
         <th>
          Restart Type
         </th>
         <td>
          <p>
           <span class="bold">
            <strong>
             Initial System Restart:
            </strong>
           </span>
           Requires a complete shutdown of the
                    cluster, wiping and restoring the cluster file
                    system from a
           <a class="link" href="mysql-cluster-backup.html" title="25.6.8 Online Backup of NDB Cluster">
            backup
           </a>
           ,
                    and then restarting the cluster. (NDB 8.4.0)
          </p>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      This is a unique identifier, used to refer to the host
            computer elsewhere in the configuration file.
     </p>
     <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
      <div class="admon-title">
       Important
      </div>
      <p>
       The computer ID is
       <span class="emphasis">
        <em>
         not
        </em>
       </span>
       the same as
              the node ID used for a management, API, or data node.
              Unlike the case with node IDs, you cannot use
       <code class="literal">
        NodeId
       </code>
       in place of
       <code class="literal">
        Id
       </code>
       in the
       <code class="literal">
        [computer]
       </code>
       section of the
       <code class="filename">
        config.ini
       </code>
       file.
      </p>
     </div>
    </li>
    <li class="listitem">
     <p>
      <a name="ndbparam-computer-hostname">
      </a>
      <code class="literal">
       HostName
      </code>
     </p>
     <div class="informaltable">
      <a name="hostname-computer-table">
      </a>
      <table frame="box" rules="all" summary="HostName computer configuration parameter type and value information" width="35%">
       <colgroup>
        <col style="width: 50%"/>
        <col style="width: 50%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Version (or later)
         </th>
         <td>
          NDB 8.4.0
         </td>
        </tr>
        <tr>
         <th>
          Type or units
         </th>
         <td>
          name or IP address
         </td>
        </tr>
        <tr>
         <th>
          Default
         </th>
         <td>
          [...]
         </td>
        </tr>
        <tr>
         <th>
          Range
         </th>
         <td>
          ...
         </td>
        </tr>
        <tr>
         <th>
          Restart Type
         </th>
         <td>
          <p>
           <span class="bold">
            <strong>
             Node Restart:
            </strong>
           </span>
           Requires a
           <a class="link" href="mysql-cluster-rolling-restart.html" title="25.6.5 Performing a Rolling Restart of an NDB Cluster">
            rolling
                    restart
           </a>
           of the cluster. (NDB 8.4.0)
          </p>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      This is the computer's hostname or IP address.
     </p>
    </li>
   </ul>
  </div>
  <p>
   <a name="mysql-cluster-computer-definition-restart-types">
   </a>
   <b>
    Restart types.
   </b>
   Information about the restart types used by the parameter
          descriptions in this section is shown in the following table:
  </p>
  <div class="table">
   <a name="idm46045120487424">
   </a>
   <p class="title">
    <b>
     Table 25.7 NDB Cluster restart types
    </b>
   </p>
   <div class="table-contents">
    <table>
     <colgroup>
      <col style="width: 10%"/>
      <col style="width: 30%"/>
      <col style="width: 60%"/>
     </colgroup>
     <thead>
      <tr>
       <th scope="col">
        Symbol
       </th>
       <th scope="col">
        Restart Type
       </th>
       <th scope="col">
        Description
       </th>
      </tr>
     </thead>
     <tbody>
      <tr>
       <th scope="row">
        N
       </th>
       <td>
        Node
       </td>
       <td>
        The parameter can be updated using a rolling restart (see
        <a class="xref" href="mysql-cluster-rolling-restart.html" title="25.6.5 Performing a Rolling Restart of an NDB Cluster">
         Section 25.6.5, “Performing a Rolling Restart of an NDB Cluster”
        </a>
        )
       </td>
      </tr>
      <tr>
       <th scope="row">
        S
       </th>
       <td>
        System
       </td>
       <td>
        All cluster nodes must be shut down completely, then restarted, to
              effect a change in this parameter
       </td>
      </tr>
      <tr>
       <th scope="row">
        I
       </th>
       <td>
        Initial
       </td>
       <td>
        Data nodes must be restarted using the
        <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_initial">
         <code class="option">
          --initial
         </code>
        </a>
        option
       </td>
      </tr>
     </tbody>
    </table>
   </div>
  </div>
  <br class="table-break"/>
 </div>
 <br/>
</div>
