1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
<?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>
|