ocf_heartbeat_drbd — Manages a DRBD resource (deprecated)
drbd
[ start | stop | monitor | promote | demote | meta-data | validate-all ]
drbd_resource
The name of the drbd resource from the drbd.conf file.
(required, string, default drbd0
)
drbdconf
Full path to the drbd.conf file.
(optional, string, default /etc/drbd.conf
)
clone_overrides_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.
(optional, boolean, default no
)
ignore_deprecation
If set to true, suppresses the deprecation warning for this agent.
(optional, boolean, default false
)
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 240.
promote
Promotes the resource to the Master role. Suggested minimum timeout: 90.
demote
Demotes the resource to the Slave role. Suggested minimum timeout: 90.
notify
Suggested minimum timeout: 90.
stop
Stops the resource. Suggested minimum timeout: 100.
monitor (Slave role)
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 20.
monitor (Master role)
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 30.