blob: 14084d967e4a5d3fd2a36483cc41ddf2138fd4b5 [file] [log] [blame]
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<refentry id="re-drbd">
<refnamediv>
<refname>drbd</refname>
<refpurpose>The start and stop script for DRBD</refpurpose>
</refnamediv>
<refentryinfo>
<productname>DRBD</productname>
<productnumber>9.0.0</productnumber>
<date>24 June 2014</date>
</refentryinfo>
<refmeta>
<refentrytitle>drbd</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo class="manual">System Administration</refmiscinfo>
</refmeta>
<refsynopsisdiv>
<cmdsynopsis sepchar=" ">
<command moreinfo="none">/etc/init.d/drbd</command>
<group choice="req" rep="norepeat">
<arg choice="plain" rep="norepeat">start</arg>
<arg choice="plain" rep="norepeat">stop</arg>
<arg choice="plain" rep="norepeat">status</arg>
<arg choice="plain" rep="norepeat">reload</arg>
<arg choice="plain" rep="norepeat">restart</arg>
<arg choice="plain" rep="norepeat">force-reload</arg>
</group>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Introduction</title>
<para>The <command>/etc/init.d/drbd</command> script is used
to start and stop drbd on a system V style init system.</para>
<para>When using a cluster resource manger such as Pacemaker,
DRBD should usually <emphasis>not</emphasis> be started by the init system,
but should typically be exclusively controlled by the cluster manager.
You should not use, and disable, the init script in this case.
<command>chmod -x /etc/init.d/drbd</command> has proven most effective for this.
</para>
<para>In order to use <command>/etc/init.d/drbd</command>, define a drbd
configuration. See
<citerefentry><refentrytitle>drbd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
for details.
</para>
</refsect1>
<refsect1>
<title>Version</title>
<simpara>This document was revised for version 9.0.0 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-2014 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>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>