<!DOCTYPE RefEntry PUBLIC "-//OASIS//DTD DocBook V4.2//EN" []>
<refentry id="re-drbd">
<refentryinfo><date>15 Oct 2008</date></refentryinfo>

<refmeta>
 <refentrytitle>drbd</refentrytitle>
 <manvolnum>8</manvolnum>
</refmeta>

<refnamediv>
 <refname>/etc/init.d/drbd</refname>
 <refpurpose>The start and stop script for DRBD</refpurpose>
</refnamediv>

<refsynopsisdiv>
 <cmdsynopsis>
  <command>/etc/init.d/drbd</command>
  <arg><replaceable>resource</replaceable></arg>
  <arg choice="req"><group choice="plain">
      <arg choice="req">start</arg>
      <arg choice="req">stop</arg>
      <arg choice="req">status</arg>
      <arg choice="req">reload</arg>
      <arg choice="req">restart</arg>
      <arg choice="req">force-reload</arg>
    </group>
    </arg>
 </cmdsynopsis>
</refsynopsisdiv>

<refsect1>
 <title>Introduction</title>
 <para>
   The <option>/etc/init.d/drbd</option> script is used
   to start and stop drbd on a system V style init system.
  </para>
  <para>
    In order to use <option>/etc/init.d/drbd</option> you must define
    a resource, a host, and any other configuration options in the drbd
    configuration file.  See <option>/etc/drbd.conf</option> for details.
    If <replaceable>resource</replaceable> is omitted, then all of the
    resources listed in the config file are configured.
  </para>
  <para>
    This script might ask you <quote>Do you want to abort waiting for
    other server and make this one primary?</quote>
  </para>
  <para>
    Only answer this question with <quote>yes</quote> if you are sure
    that it is impossible to repair the other node.
  </para>
</refsect1>

<refsect1>
  <title>Version</title>
  <simpara>This document was revised for version 8.0.14 of the DRBD distribution.
  </simpara>
</refsect1>

<refsect1>
  <title>Author</title>
  <simpara>
    Written by Philipp Reisner <email>philipp.reisner@linbit.com</email>
            and Lars Ellenberg <email>lars.ellenberg@linbit.com</email>.
  </simpara>
</refsect1>

<refsect1>
  <title>Reporting Bugs</title>
  <simpara>
    Report bugs to <email>drbd-user@lists.linbit.com</email>.
  </simpara>
</refsect1>

<refsect1>
  <title>Copyright</title>
  <simpara>
Copyright 2001-2008 LINBIT Information Technologies,
Philipp Reisner, Lars Ellenberg. This  is  free software;
see the source for copying conditions.  There is NO warranty;
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  </simpara>
</refsect1>

<refsect1>
  <title>See Also</title>
  <para>
    <citerefentry><refentrytitle>drbd.conf</refentrytitle>
    <manvolnum>5</manvolnum></citerefentry>,
    <citerefentry><refentrytitle>drbddisk</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry>,
    <citerefentry><refentrytitle>drbdsetup</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry>
    <citerefentry><refentrytitle>drbdadm</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry>
    <ulink url="http://www.drbd.org/">
    <citetitle>DRBD Homepage</citetitle></ulink>
  </para>
</refsect1>

</refentry>

