'\" t
.\" Title: ocf_heartbeat_drbd
.\" Author: Linux-HA contributors (see the resource agent source for information about individual authors)
.\" Generator: DocBook XSL Stylesheets v1.76.1
.\" Date: 03/09/2014
.\" Manual: OCF resource agents
.\" Source: resource-agents UNKNOWN
.\" Language: English
.\"
.TH "OCF_HEARTBEAT_DRBD" "7" "03/09/2014" "resource-agents UNKNOWN" "OCF resource agents"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ocf_heartbeat_drbd \- Manages a DRBD resource (deprecated)
.SH "SYNOPSIS"
.HP \w'\fBdrbd\fR\ 'u
\fBdrbd\fR [start | stop | monitor | promote | demote | meta\-data | validate\-all]
.SH "DESCRIPTION"
.PP
Deprecation warning: This agent is deprecated and may be removed from a future release\&. See the ocf:linbit:drbd resource agent for a supported alternative\&. \-\- This resource agent manages a Distributed Replicated Block Device (DRBD) object as a master/slave resource\&. DRBD is a mechanism for replicating storage; please see the documentation for setup details\&.
.SH "SUPPORTED PARAMETERS"
.PP
\fBdrbd_resource\fR
.RS 4
The name of the drbd resource from the drbd\&.conf file\&.
(unique, required, string, default
drbd0)
.RE
.PP
\fBdrbdconf\fR
.RS 4
Full path to the drbd\&.conf file\&.
(optional, string, default
/etc/drbd\&.conf)
.RE
.PP
\fBclone_overrides_hostname\fR
.RS 4
Whether or not to override the hostname with the clone number\&. This can be used to create floating peer configurations; drbd will be told to use node_ as the hostname instead of the real uname, which can then be used in drbd\&.conf\&.
(optional, boolean, default
no)
.RE
.PP
\fBignore_deprecation\fR
.RS 4
If set to true, suppresses the deprecation warning for this agent\&.
(optional, boolean, default
false)
.RE
.SH "SUPPORTED ACTIONS"
.PP
This resource agent supports the following actions (operations):
.PP
\fBstart\fR
.RS 4
Starts the resource\&. Suggested minimum timeout: 240\&.
.RE
.PP
\fBpromote\fR
.RS 4
Promotes the resource to the Master role\&. Suggested minimum timeout: 90\&.
.RE
.PP
\fBdemote\fR
.RS 4
Demotes the resource to the Slave role\&. Suggested minimum timeout: 90\&.
.RE
.PP
\fBnotify\fR
.RS 4
Suggested minimum timeout: 90\&.
.RE
.PP
\fBstop\fR
.RS 4
Stops the resource\&. Suggested minimum timeout: 100\&.
.RE
.PP
\fBmonitor (Slave role)\fR
.RS 4
Performs a detailed status check\&. Suggested minimum timeout: 20\&. Suggested interval: 20\&.
.RE
.PP
\fBmonitor (Master role)\fR
.RS 4
Performs a detailed status check\&. Suggested minimum timeout: 20\&. Suggested interval: 10\&.
.RE
.PP
\fBmeta\-data\fR
.RS 4
Retrieves resource agent metadata (internal use only)\&. Suggested minimum timeout: 5\&.
.RE
.PP
\fBvalidate\-all\fR
.RS 4
Performs a validation of the resource configuration\&. Suggested minimum timeout: 30\&.
.RE
.SH "EXAMPLE"
.PP
The following is an example configuration for a drbd resource using the
\fBcrm\fR(8)
shell:
.sp
.if n \{\
.RS 4
.\}
.nf
primitive p_drbd ocf:heartbeat:drbd \e
params \e
drbd_resource="drbd0" \e
op monitor depth="0" timeout="20" interval="20" role="Slave" \e
op monitor depth="0" timeout="20" interval="10" role="Master"
.fi
.if n \{\
.RE
.\}
.sp
.if n \{\
.RS 4
.\}
.nf
ms ms_drbd p_drbd \e
meta notify="true" interleave="true"
.fi
.if n \{\
.RE
.\}
.SH "SEE ALSO"
.PP
\m[blue]\fB\%http://www.linux-ha.org/wiki/drbd_(resource_agent)\fR\m[]
.SH "AUTHOR"
.PP
\fBLinux\-HA contributors (see the resource agent source for information about individual authors)\fR