drbd-reactor.toml(5)
| DRBD-REACTOR.TOML(5) | File Formats Manual | DRBD-REACTOR.TOML(5) |
NAME
drbd-reactor.toml —
DRBD-REACTOR daemon configuration file
DESCRIPTION
drbd-reactor.toml is the configuration
file for the DRBD-REACTOR daemon,
drbd-reactor(1). The file has to be
valid toml file.
The configuration file consists of sections for global settings, logging, and the actual plugin configuration. While this is rarely used and should be used with caution, it is possible to have multiple instances of a plugin as well as multiple loggers. The program ships with a commented version of the configuration file, please refer to that for further details.
Note that plugin settings are shown here for demonstration purposes only, plugin configuration should be stored in /etc/drbd-reactor.d/
EXAMPLES
snippets = "/etc/drbd-reactor.d"
# update statistics every 45 seconds
statistics-poll-interval = 45
[[log]]
level = "debug"
# Configure a promoter
[[promoter]]
[promoter.resources.foo]
start = ["foo.mount", "foo.service"]
on-drbd-demote-failure = "reboot"
# Configure a user mode helper filter
[[umh]]
[[umh.resource]]
command = "drbd-reactor-role-change.sh"
event-type = "Change"
old.role = { operator = "NotEquals", value = "Primary" }
new.role = "Primary"
# Configure a prometheus exporter
[[prometheus]]
enums = true
# Configure an agentx subagent
[[agentx]]
peer-states = false
AUTHORS
The drbd-reactor(1)
program was written by the following authors:
Roland Kammerer
<rck@linbit.com>
Moritz Wanzenböck
<moritz.wanzenboeck@linbit.com>
CAVEATS
Please note that the path specified in snippets gets path-joined with “*.toml” and the result is then subject to glob expansion.
| July 22, 2026 | Linux 6.12.85-6.12-alt1 |
