blob: 01c19c2d1398df88de4e4d557ca31673b84524c2 [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>
<refnamediv>
<refname>drbddisk</refname>
<refpurpose>Script to mark devices as primary and mount file systems</refpurpose>
</refnamediv>
<refentryinfo>
<date>15 Oct 2008</date>
<productname>DRBD</productname>
<productnumber>8.3.2</productnumber>
</refentryinfo>
<refmeta>
<refentrytitle>drbddisk</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo class="manual">System Administration</refmiscinfo>
</refmeta>
<refsynopsisdiv>
<cmdsynopsis sepchar=" ">
<command moreinfo="none">/etc/ha.d/resource.d/drbddisk</command>
<arg choice="opt" rep="norepeat">
<replaceable>resource</replaceable>
</arg>
<arg choice="req" rep="norepeat">
<group choice="plain" rep="norepeat">
<arg choice="req" rep="norepeat">start</arg>
<arg choice="req" rep="norepeat">stop</arg>
<arg choice="req" rep="norepeat">status</arg>
</group>
</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Introduction</title>
<para> The <option>/etc/ha.d/resource.d/drbddisk</option> script
brings the local device of <replaceable>resource</replaceable> into
primary role. It is designed to be used by Heartbeat.
</para>
<para> In order to use <option>/etc/ha.d/resource.d/drbddisk</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 affected.
</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>drbd</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>