1OCF_HEARTBEAT_DRBD(7)         OCF resource agents        OCF_HEARTBEAT_DRBD(7)
2
3
4

NAME

6       ocf_heartbeat_drbd - Manages a DRBD resource (deprecated)
7

SYNOPSIS

9       drbd [start | stop | monitor | promote | demote | meta-data |
10            validate-all]
11

DESCRIPTION

13       Deprecation warning: This agent is deprecated and may be removed from a
14       future release. See the ocf:linbit:drbd resource agent for a supported
15       alternative. -- This resource agent manages a Distributed Replicated
16       Block Device (DRBD) object as a master/slave resource. DRBD is a
17       mechanism for replicating storage; please see the documentation for
18       setup details.
19

SUPPORTED PARAMETERS

21       drbd_resource
22           The name of the drbd resource from the drbd.conf file.  (unique,
23           required, string, default drbd0)
24
25       drbdconf
26           Full path to the drbd.conf file.  (optional, string, default
27           /etc/drbd.conf)
28
29       clone_overrides_hostname
30           Whether or not to override the hostname with the clone number. This
31           can be used to create floating peer configurations; drbd will be
32           told to use node_<cloneno> as the hostname instead of the real
33           uname, which can then be used in drbd.conf.  (optional, boolean,
34           default no)
35
36       ignore_deprecation
37           If set to true, suppresses the deprecation warning for this agent.
38           (optional, boolean, default false)
39

SUPPORTED ACTIONS

41       This resource agent supports the following actions (operations):
42
43       start
44           Starts the resource. Suggested minimum timeout: 240.
45
46       promote
47           Promotes the resource to the Master role. Suggested minimum
48           timeout: 90.
49
50       demote
51           Demotes the resource to the Slave role. Suggested minimum timeout:
52           90.
53
54       notify
55           Suggested minimum timeout: 90.
56
57       stop
58           Stops the resource. Suggested minimum timeout: 100.
59
60       monitor (Slave role)
61           Performs a detailed status check. Suggested minimum timeout: 20.
62           Suggested interval: 20.
63
64       monitor (Master role)
65           Performs a detailed status check. Suggested minimum timeout: 20.
66           Suggested interval: 10.
67
68       meta-data
69           Retrieves resource agent metadata (internal use only). Suggested
70           minimum timeout: 5.
71
72       validate-all
73           Performs a validation of the resource configuration. Suggested
74           minimum timeout: 30.
75

EXAMPLE

77       The following is an example configuration for a drbd resource using the
78       crm(8) shell:
79
80           primitive p_drbd ocf:heartbeat:drbd \
81             params \
82               drbd_resource="drbd0" \
83             op monitor depth="0" timeout="20" interval="20" role="Slave" \
84             op monitor depth="0" timeout="20" interval="10" role="Master"
85
86           ms ms_drbd p_drbd \
87             meta notify="true" interleave="true"
88

SEE ALSO

90       http://www.linux-ha.org/wiki/drbd_(resource_agent)
91

AUTHOR

93       Linux-HA contributors (see the resource agent source for information
94       about individual authors)
95
96
97
98resource-agents 3.9.2             07/08/2011             OCF_HEARTBEAT_DRBD(7)
Impressum