Man page - ocf_linbit_drbd-attr(7)
Packages contas this manual
- drbd-promote@.service(7)
- drbdadm-9.0(8)
- drbdmon-9.0(8)
- drbdmeta-8.4(8)
- drbd-8.3(8)
- drbdsetup-9.0(8)
- drbd-9.0(8)
- drbddisk-8.3(8)
- drbdsetup-8.4(8)
- drbdsetup(8)
- drbdmon(8)
- drbd.conf-8.4(5)
- drbdmeta(8)
- drbd.conf-9.0(5)
- drbdmeta-8.3(8)
- drbd@.target(7)
- drbdadm(8)
- ocf_linbit_drbd-attr(7)
- drbdadm-8.4(8)
- drbd.conf(5)
- drbdmeta-9.0(8)
- drbd@.service(7)
- ocf_linbit_drbd(7)
- drbddisk(8)
- drbddisk-8.4(8)
- drbd.service(7)
- drbd-8.4(8)
- drbdsetup-8.3(8)
- drbd(8)
- drbd-services@.target(7)
- drbd-reconfigure-suspend-or-error@.service(7)
- drbd.conf-8.3(5)
- drbd-lvchange@.service(7)
- drbdadm-8.3(8)
- ocf.ra@.service(7)
- drbd-wait-promotable@.service(7)
apt-get install drbd-utils
Manual
| OCF_LINBIT_DRBD-ATT(7) | OCF resource agents | OCF_LINBIT_DRBD-ATT(7) |
NAME
ocf_linbit_drbd-attr - import DRBD state change events as transient node attributes
SYNOPSIS
drbd-attr [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
This listens for DRBD state change events, and sets or deletes transient node attributes based on the "promotion_score" and "may_promote" values as presented by the DRBD events2 interface.
Optionally using a dampening delay, see attrd_updater for details.
To be used as a clone on all DRBD nodes. The idea is to start DRBD outside of pacemaker, use DRBD auto-promote, and add location constraints for the Filesystem or other resource agents which are using DRBD.
SUPPORTED PARAMETERS
dampening_delay
(optional, integer, default 5)
attr_name_prefix
(optional, string, default "drbd-promotion-score")
record_event_details
(optional, boolean, default false)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
EXAMPLE CRM SHELL
The following is an example configuration for a drbd-attr resource using the crm(8) shell:
primitive p_drbd-attr ocf:linbit:drbd-attr \
op monitor timeout="20s" interval="60s" depth="0"
EXAMPLE PCS
The following is an example configuration for a drbd-attr resource using pcs(8)
pcs resource create p_drbd-attr ocf:linbit:drbd-attr \
op monitor timeout="20s" interval="60s" depth="0"
SEE ALSO
https://docs.linbit.com/, https://clusterlabs.org/, https://www.linbit.com/drbd-community/
AUTHORS
LINBIT HA Solutions GmbH
| 07/17/2024 | drbd-pacemaker 9.22.0 |