<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<refentry id="re-hbaddnode">
  <refentryinfo>
    <date>November 26, 2009</date>
    <productname>Heartbeat</productname>
    <productnumber>@VERSION@</productnumber>
    <authorgroup>
      <author>
	<firstname>Alan</firstname>
	<surname>Robertson</surname>
	<contrib>hb_delnode</contrib>
	<email>alanr@unix.sh</email>
      </author>
      <author>
	<surname>Shi</surname>
	<firstname>Guochun</firstname>
	<contrib>man page</contrib>
	<email>gshi@ncsa.uiuc.edu</email>
      </author>
      <author>
	<firstname>Florian</firstname>
	<surname>Haas</surname>
	<contrib>man page</contrib>
	<email>florian.haas@linbit.com</email>
      </author>
    </authorgroup>
  </refentryinfo>
  <refmeta>
    <refentrytitle>hb_addnode</refentrytitle>
    <manvolnum>1</manvolnum>
    <refmiscinfo class="manual">General commands</refmiscinfo>
  </refmeta>
  <refnamediv>
    <refname>hb_addnode</refname>
    <refpurpose>sends a message to a Heartbeat cluster to add new nodes</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <para><command>hb_addnode</command> <replaceable>node</replaceable> [<replaceable>node</replaceable>] [<replaceable>node</replaceable>]</para>
  </refsynopsisdiv>
  <refsection id="rs-hbaddnode-description">
    <title>Description</title>
    <para>@HA_NOARCHDATAHBDIR@/hb_addnode adds a new node, or multiple
    nodes, to the cluster configuration. If there is any node in the
    arguments that is already a cluster member, the command fails and
    no nodes are added.</para>
  </refsection>
  <refsection id="rs-hbaddnode-options">
    <title>Options</title>
    <para>The following options are supported:</para>
    <variablelist>
      <varlistentry>
	<term>
	  <option>--help</option>
	</term>
	<listitem>
	  <para>Issues a brief usage message.</para>
	</listitem>
      </varlistentry>
    </variablelist>
  </refsection>
  <refsection id="rs-hbaddnode-seealso">
    <title>See also</title>
    <para>
      <citerefentry><refentrytitle>hb_delnode</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
      <citerefentry><refentrytitle>heartbeat</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
      <citerefentry><refentrytitle>cl_status</refentrytitle><manvolnum>1</manvolnum></citerefentry>
    </para>
  </refsection>
</refentry>
