<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="mysql-cluster-programs-ndb-waiter">
      </a>
      25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status
     </h3>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045095525648">
  </a>
  <p>
   <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
    <span class="command">
     <strong>
      ndb_waiter
     </strong>
    </span>
   </a>
   repeatedly (each 100 milliseconds)
        prints out the status of all cluster data nodes until either the
        cluster reaches a given status or the
   <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_timeout">
    <code class="option">
     --timeout
    </code>
   </a>
   limit is exceeded,
        then exits. By default, it waits for the cluster to achieve
   <code class="literal">
    STARTED
   </code>
   status, in which all nodes have
        started and connected to the cluster. This can be overridden
        using the
   <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_no-contact">
    <code class="option">
     --no-contact
    </code>
   </a>
   and
   <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_not-started">
    <code class="option">
     --not-started
    </code>
   </a>
   options.
  </p>
  <p>
   The node states reported by this utility are as follows:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <code class="literal">
       NO_CONTACT
      </code>
      : The node cannot be contacted.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       UNKNOWN
      </code>
      : The node can be contacted, but
            its status is not yet known. Usually, this means that the
            node has received a
      <a class="link" href="mysql-cluster-mgm-client-commands.html#ndbclient-start">
       <code class="literal">
        START
       </code>
      </a>
      or
      <a class="link" href="mysql-cluster-mgm-client-commands.html#ndbclient-restart">
       <code class="literal">
        RESTART
       </code>
      </a>
      command from the
            management server, but has not yet acted on it.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       NOT_STARTED
      </code>
      : The node has stopped, but
            remains in contact with the cluster. This is seen when
            restarting the node using the management client's
      <code class="literal">
       RESTART
      </code>
      command.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       STARTING
      </code>
      : The node's
      <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>
      process has started, but the node
            has not yet joined the cluster.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       STARTED
      </code>
      : The node is operational, and has
            joined the cluster.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       SHUTTING_DOWN
      </code>
      : The node is shutting down.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       SINGLE USER MODE
      </code>
      : This is shown for all
            cluster data nodes when the cluster is in single user mode.
     </p>
    </li>
   </ul>
  </div>
  <p>
   Options that can be used with
   <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
    <span class="command">
     <strong>
      ndb_waiter
     </strong>
    </span>
   </a>
   are
        shown in the following table. Additional descriptions follow the
        table.
  </p>
  <p>
  </p>
  <h4>
   <a name="idm46045095499584">
   </a>
   Usage
  </h4>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa52755169"><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">ndb_waiter <span class="token punctuation">[</span><span class="token property">-c</span> <em class="replaceable">connection_string</em><span class="token punctuation">]</span></code></pre>
  </div>
  <h4>
   <a name="mysql-cluster-programs-ndb-waiter-additional-options">
   </a>
   Additional Options
  </h4>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_character-sets-dir">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_character-sets-dir">
       <code class="option">
        --character-sets-dir
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095493808">
     </a>
     <a class="indexterm" name="idm46045095492352">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for character-sets-dir">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --character-sets-dir=path
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Directory containing character sets.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_connect-retries">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_connect-retries">
       <code class="option">
        --connect-retries
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095482560">
     </a>
     <a class="indexterm" name="idm46045095481072">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for connect-retries">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --connect-retries=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Integer
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           12
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Minimum Value
         </th>
         <td>
          <code class="literal">
           0
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Maximum Value
         </th>
         <td>
          <code class="literal">
           12
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Number of times to retry connection before giving up.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_connect-retry-delay">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_connect-retry-delay">
       <code class="option">
        --connect-retry-delay
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095462048">
     </a>
     <a class="indexterm" name="idm46045095460592">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for connect-retry-delay">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --connect-retry-delay=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Integer
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           5
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Minimum Value
         </th>
         <td>
          <code class="literal">
           0
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Maximum Value
         </th>
         <td>
          <code class="literal">
           5
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Number of seconds to wait between attempts to contact
            management server.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_connect-string">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_connect-string">
       <code class="option">
        --connect-string
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095441472">
     </a>
     <a class="indexterm" name="idm46045095439984">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for connect-string">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --connect-string=connection_string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Same as
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_core-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_core-file">
       <code class="option">
        --core-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095424624">
     </a>
     <a class="indexterm" name="idm46045095423136">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for core-file">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --core-file
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Write core file on error; used in debugging.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_defaults-extra-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_defaults-extra-file">
       <code class="option">
        --defaults-extra-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095413424">
     </a>
     <a class="indexterm" name="idm46045095411968">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-extra-file">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-extra-file=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read given file after global files are read.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_defaults-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_defaults-file">
       <code class="option">
        --defaults-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095397616">
     </a>
     <a class="indexterm" name="idm46045095396128">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-file">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-file=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read default options from given file only.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_defaults-group-suffix">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_defaults-group-suffix">
       <code class="option">
        --defaults-group-suffix
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095381920">
     </a>
     <a class="indexterm" name="idm46045095380464">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-group-suffix">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-group-suffix=string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Also read groups with concat(group, suffix).
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_login-path">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_login-path">
       <code class="option">
        --login-path
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095366112">
     </a>
     <a class="indexterm" name="idm46045095364624">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for login-path">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --login-path=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read given path from login file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_no-login-paths">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_no-login-paths">
       <code class="option">
        --no-login-paths
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095350464">
     </a>
     <a class="indexterm" name="idm46045095348976">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for no-login-paths">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --no-login-paths
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Skips reading options from the login path file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_help">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_help">
       <code class="option">
        --help
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095339312">
     </a>
     <a class="indexterm" name="idm46045095337824">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for help">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --help
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display help text and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_ndb-connectstring">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095328144">
     </a>
     <a class="indexterm" name="idm46045095326688">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-connectstring">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-connectstring=connection_string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Set connection string for connecting to
      <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>
      . Syntax:
      <code class="literal">
       [nodeid=
       <em class="replaceable">
        <code>
         id
        </code>
       </em>
       ;][host=]
       <em class="replaceable">
        <code>
         hostname
        </code>
       </em>
       [:
       <em class="replaceable">
        <code>
         port
        </code>
       </em>
       ]
      </code>
      .
            Overrides entries in
      <code class="literal">
       NDB_CONNECTSTRING
      </code>
      and
      <code class="filename">
       my.cnf
      </code>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_ndb-mgm-tls">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-mgm-tls">
       <code class="option">
        --ndb-mgm-tls
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095307648">
     </a>
     <a class="indexterm" name="idm46045095306160">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-mgm-tls">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-mgm-tls=level
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Enumeration
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           relaxed
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Valid Values
         </th>
         <td>
          <p class="valid-value">
           <code class="literal">
            relaxed
           </code>
          </p>
          <p class="valid-value">
           <code class="literal">
            strict
           </code>
          </p>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Sets the level of TLS support required to connect to the
            management server; one of
      <code class="literal">
       relaxed
      </code>
      or
      <code class="literal">
       strict
      </code>
      .
      <code class="literal">
       relaxed
      </code>
      (the
            default) means that a TLS connection is attempted, but
            success is not required;
      <code class="literal">
       strict
      </code>
      means
            that TLS is required to connect.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_ndb-mgmd-host">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-mgmd-host">
       <code class="option">
        --ndb-mgmd-host
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095285104">
     </a>
     <a class="indexterm" name="idm46045095283616">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-mgmd-host">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-mgmd-host=connection_string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Same as
            --
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-connectstring">
       <code class="option">
        ndb-connectstring
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_ndb-nodeid">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-nodeid">
       <code class="option">
        --ndb-nodeid
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095268432">
     </a>
     <a class="indexterm" name="idm46045095266944">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-nodeid">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-nodeid=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Integer
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Set node ID for this node, overriding any ID set by
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_ndb-optimized-node-selection">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-optimized-node-selection">
       <code class="option">
        --ndb-optimized-node-selection
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095251632">
     </a>
     <a class="indexterm" name="idm46045095250128">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-optimized-node-selection">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-optimized-node-selection
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Enable optimizations for selection of nodes for
            transactions. Enabled by default; use
      <code class="option">
       --skip-ndb-optimized-node-selection
      </code>
      to
            disable.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_ndb-tls-search-path">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_ndb-tls-search-path">
       <code class="option">
        --ndb-tls-search-path
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095239840">
     </a>
     <a class="indexterm" name="idm46045095238384">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-tls-search-path">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-tls-search-path=list
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Path name
         </td>
        </tr>
        <tr>
         <th>
          Default Value (Unix)
         </th>
         <td>
          <code class="literal">
           $HOME/ndb-tls
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Default Value (Windows)
         </th>
         <td>
          <code class="literal">
           $HOMEDIR/ndb-tls
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Specify a list of directories to search for a CA file. On
            Unix platforms, the directory names are separated by colons
            (
      <code class="literal">
       :
      </code>
      ); on Windows systems, the semicolon
            character (
      <code class="literal">
       ;
      </code>
      ) is used as the separator. A
            directory reference may be relative or absolute; it may
            contain one or more environment variables, each denoted by a
            prefixed dollar sign (
      <code class="literal">
       $
      </code>
      ), and expanded
            prior to use.
     </p>
     <p>
      Searching begins with the leftmost named directory and
            proceeds from left to right until a file is found. An empty
            string denotes an empty search path, which causes all
            searches to fail. A string consisting of a single dot
            (
      <code class="literal">
       .
      </code>
      ) indicates that the search path
            limited to the current working directory.
     </p>
     <p>
      If no search path is supplied, the compiled-in default value
            is used. This value depends on the platform used: On
            Windows, this is
      <code class="literal">
       \ndb-tls
      </code>
      ; on other
            platforms (including Linux), it is
      <code class="literal">
       $HOME/ndb-tls
      </code>
      . This can be overridden by
            compiling NDB Cluster using
      <a class="link" href="source-configuration-options.html#option_cmake_with_ndb_tls_search_path">
       <code class="option">
        -DWITH_NDB_TLS_SEARCH_PATH
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_no-contact">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_no-contact">
       <code class="option">
        --no-contact
       </code>
      </a>
      ,
      <code class="option">
       -n
      </code>
     </p>
     <a class="indexterm" name="idm46045095214320">
     </a>
     <a class="indexterm" name="idm46045095212832">
     </a>
     <p>
      Instead of waiting for the
      <code class="literal">
       STARTED
      </code>
      state,
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
       <span class="command">
        <strong>
         ndb_waiter
        </strong>
       </span>
      </a>
      continues running until the
            cluster reaches
      <code class="literal">
       NO_CONTACT
      </code>
      status before
            exiting.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_no-defaults">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_no-defaults">
       <code class="option">
        --no-defaults
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095205744">
     </a>
     <a class="indexterm" name="idm46045095204256">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for no-defaults">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --no-defaults
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Do not read default options from any option file other than
            login file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_not-started">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_not-started">
       <code class="option">
        --not-started
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095194608">
     </a>
     <a class="indexterm" name="idm46045095193120">
     </a>
     <p>
      Instead of waiting for the
      <code class="literal">
       STARTED
      </code>
      state,
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
       <span class="command">
        <strong>
         ndb_waiter
        </strong>
       </span>
      </a>
      continues running until the
            cluster reaches
      <code class="literal">
       NOT_STARTED
      </code>
      status before
            exiting.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_nowait-nodes">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_nowait-nodes">
       <code class="option">
        --nowait-nodes=
        <em class="replaceable">
         <code>
          list
         </code>
        </em>
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095185808">
     </a>
     <a class="indexterm" name="idm46045095184320">
     </a>
     <p>
      When this option is used,
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
       <span class="command">
        <strong>
         ndb_waiter
        </strong>
       </span>
      </a>
      does
            not wait for the nodes whose IDs are listed. The list is
            comma-delimited; ranges can be indicated by dashes, as shown
            here:
     </p>
     <div class="copytoclipboard-wrapper">
      <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa41947607"><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">ndb_waiter</span> <span class="token constant">--nowait-nodes</span><span class="token attr-value"><span class="token punctuation">=</span>1,3,7-9</span></code></pre>
     </div>
     <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
      <div class="admon-title">
       Important
      </div>
      <p>
       Do
       <span class="emphasis">
        <em>
         not
        </em>
       </span>
       use this option together with
              the
       <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_wait-nodes">
        <code class="option">
         --wait-nodes
        </code>
       </a>
       option.
      </p>
     </div>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_print-defaults">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_print-defaults">
       <code class="option">
        --print-defaults
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095174704">
     </a>
     <a class="indexterm" name="idm46045095173216">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for print-defaults">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --print-defaults
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Print program argument list and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_timeout">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_timeout">
       <code class="option">
        --timeout=
        <em class="replaceable">
         <code>
          seconds
         </code>
        </em>
       </code>
      </a>
      ,
      <code class="option">
       -t
       <em class="replaceable">
        <code>
         seconds
        </code>
       </em>
      </code>
     </p>
     <a class="indexterm" name="idm46045095162560">
     </a>
     <a class="indexterm" name="idm46045095161072">
     </a>
     <p>
      Time to wait. The program exits if the desired state is not
            achieved within this number of seconds. The default is 120
            seconds (1200 reporting cycles).
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_single-user">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_single-user">
       <code class="option">
        --single-user
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095156624">
     </a>
     <a class="indexterm" name="idm46045095155136">
     </a>
     <p>
      The program waits for the cluster to enter single user mode.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_usage">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_usage">
       <code class="option">
        --usage
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095150976">
     </a>
     <a class="indexterm" name="idm46045095149488">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for usage">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --usage
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display help text and exit; same as
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_help">
       <code class="option">
        --help
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_verbose">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_verbose">
       <code class="option">
        --verbose
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095138720">
     </a>
     <a class="indexterm" name="idm46045095137232">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for verbose">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --verbose=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Integer
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           2
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Minimum Value
         </th>
         <td>
          <code class="literal">
           0
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Maximum Value
         </th>
         <td>
          <code class="literal">
           2
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Controls verbosity level of printout. Possible levels and
            their effects are listed here:
     </p>
     <div class="itemizedlist">
      <ul class="itemizedlist" style="list-style-type: circle; ">
       <li class="listitem">
        <p>
         <code class="literal">
          0
         </code>
         : Do not print (return exit code
                only; see following for exit codes).
        </p>
       </li>
       <li class="listitem">
        <p>
         <code class="literal">
          1
         </code>
         : Print final connection status
                only.
        </p>
       </li>
       <li class="listitem">
        <p>
         <code class="literal">
          2
         </code>
         : Print status each time it is
                checked.
        </p>
        <p>
         This is the same behavior as in versions of NDB Cluster
                previous to 8.4.
        </p>
       </li>
      </ul>
     </div>
     <p>
      Exit codes returned by
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
       <span class="command">
        <strong>
         ndb_waiter
        </strong>
       </span>
      </a>
      are
            listed here, with their meanings:
     </p>
     <div class="itemizedlist">
      <ul class="itemizedlist" style="list-style-type: circle; ">
       <li class="listitem">
        <p>
         <code class="literal">
          0
         </code>
         : Success.
        </p>
       </li>
       <li class="listitem">
        <p>
         <code class="literal">
          1
         </code>
         : Wait timed out.
        </p>
       </li>
       <li class="listitem">
        <p>
         <code class="literal">
          2
         </code>
         : Parameter error, such as an
                invalid node ID.
        </p>
       </li>
       <li class="listitem">
        <p>
         <code class="literal">
          3
         </code>
         : Failed to connect to the
                management server.
        </p>
       </li>
      </ul>
     </div>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_version">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_version">
       <code class="option">
        --version
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045095104528">
     </a>
     <a class="indexterm" name="idm46045095103040">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for version">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --version
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display version information and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_waiter_wait-nodes">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_wait-nodes">
       <code class="option">
        --wait-nodes=
        <em class="replaceable">
         <code>
          list
         </code>
        </em>
       </code>
      </a>
      ,
      <code class="option">
       -w
       <em class="replaceable">
        <code>
         list
        </code>
       </em>
      </code>
     </p>
     <a class="indexterm" name="idm46045095092464">
     </a>
     <a class="indexterm" name="idm46045095090976">
     </a>
     <p>
      When this option is used,
      <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
       <span class="command">
        <strong>
         ndb_waiter
        </strong>
       </span>
      </a>
      waits only for the nodes whose IDs are listed. The list is
            comma-delimited; ranges can be indicated by dashes, as shown
            here:
     </p>
     <div class="copytoclipboard-wrapper">
      <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa52063494"><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">ndb_waiter</span> <span class="token constant">--wait-nodes</span><span class="token attr-value"><span class="token punctuation">=</span>2,4-6,10</span></code></pre>
     </div>
     <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
      <div class="admon-title">
       Important
      </div>
      <p>
       Do
       <span class="emphasis">
        <em>
         not
        </em>
       </span>
       use this option together with
              the
       <a class="link" href="mysql-cluster-programs-ndb-waiter.html#option_ndb_waiter_nowait-nodes">
        <code class="option">
         --nowait-nodes
        </code>
       </a>
       option.
      </p>
     </div>
    </li>
   </ul>
  </div>
  <p>
   <b>
    Sample Output.
   </b>
   Shown here is the output from
   <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
    <span class="command">
     <strong>
      ndb_waiter
     </strong>
    </span>
   </a>
   when run against a 4-node cluster in which two nodes have been
          shut down and then started again manually. Duplicate reports
          (indicated by
   <code class="literal">
    ...
   </code>
   ) are omitted.
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting language-terminal"><div class="docs-select-all right" id="sa37247082"><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">./ndb_waiter</span> <span class="token property">-c</span> localhost

Connecting to mgmsrv at <span class="token punctuation">(</span>localhost<span class="token punctuation">)</span>
State node 1 STARTED
State node 2 NO_CONTACT
State node 3 STARTED
State node 4 NO_CONTACT
Waiting for cluster enter state STARTED

<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>

State node 1 STARTED
State node 2 UNKNOWN
State node 3 STARTED
State node 4 NO_CONTACT
Waiting for cluster enter state STARTED

<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>

State node 1 STARTED
State node 2 STARTING
State node 3 STARTED
State node 4 NO_CONTACT
Waiting for cluster enter state STARTED

<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>

State node 1 STARTED
State node 2 STARTING
State node 3 STARTED
State node 4 UNKNOWN
Waiting for cluster enter state STARTED

<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>

State node 1 STARTED
State node 2 STARTING
State node 3 STARTED
State node 4 STARTING
Waiting for cluster enter state STARTED

<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>

State node 1 STARTED
State node 2 STARTED
State node 3 STARTED
State node 4 STARTING
Waiting for cluster enter state STARTED

<span class="token punctuation">.</span><span class="token punctuation">.</span><span class="token punctuation">.</span>

State node 1 STARTED
State node 2 STARTED
State node 3 STARTED
State node 4 STARTED
Waiting for cluster enter state STARTED</code></pre>
  </div>
  <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
   <div class="admon-title">
    Note
   </div>
   <p>
    If no connection string is specified, then
    <a class="link" href="mysql-cluster-programs-ndb-waiter.html" title="25.5.31 ndb_waiter — Wait for NDB Cluster to Reach a Given Status">
     <span class="command">
      <strong>
       ndb_waiter
      </strong>
     </span>
    </a>
    tries to connect to a management
          on
    <code class="literal">
     localhost
    </code>
    , and reports
    <code class="literal">
     Connecting to mgmsrv at (null)
    </code>
    .
   </p>
  </div>
 </div>
 <br/>
</div>
