Name

ocf:drbd — 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.

Synopsis

OCF_RESKEY_drbd_resource=string [OCF_RESKEY_drbdconf=string] [OCF_RESKEY_clone_overrides_hostname=boolean] [OCF_RESKEY_clone_max=integer] [OCF_RESKEY_clone_node_max=integer] [OCF_RESKEY_master_max=integer] [OCF_RESKEY_master_node_max=integer] drbd [start | promote | demote | notify | stop | monitor | monitor | meta-data | validate-all]

Description

Master/Slave OCF Resource Agent for DRBD

Supported Parameters

OCF_RESKEY_drbd_resource=drbd resource name

The name of the drbd resource from the drbd.conf file.

OCF_RESKEY_drbdconf=Path to drbd.conf

Full path to the drbd.conf file.

OCF_RESKEY_clone_overrides_hostname=Override drbd hostname

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_<cloneno> as the hostname instead of the real uname, which can then be used in drbd.conf.

OCF_RESKEY_clone_max=Number of clones

Number of clones of this drbd resource. Do not fiddle with the default.

OCF_RESKEY_clone_node_max=Number of nodes

Clones per node. Do not fiddle with the default.

OCF_RESKEY_master_max=Number of primaries

Maximum number of active primaries. Do not fiddle with the default.

OCF_RESKEY_master_node_max=Number of primaries per node

Maximum number of primaries per node. Do not fiddle with the default.