Skip to contentSkip to conversation

drbd-reactor v0.4.0

DRBD-announce Roland Kammerer 1 participant 1 message Jun 18, 2021

lore
Share & tools
lore
#0 lore raw

Dear DRBD users,

this is the final release of drbd-reactor 0.4.0.

For details in this release please see RC1 [1] and RC2 [2].

There have been some additions since the last release candidate for the promoter plugin:
- The promote systemd template we ship with drbd-utils 9.18.0 uses 'ExecCondition' to switch the resource to Primary. This keyword is not available on older systemd versions (e.g., current Proxmox stable), and IMO 'ExecStart' is a better fit, so generate such an override.
- startup: the drbd-reactor.service file is now scheduled after networking, so that it can bring up the DRBD resources successfully, otherwise the IP for that host might not even exist and "drbdadm adjust" fails.
- coordinated shutdown: as you might know by now the promoter plugin starts systemd targets ([email protected]). But on system shutdown these might stop, which triggers drbd-reactor to start them again, while it gets stopped,... This is now solved by generating a 'Before' dependency in the target override.

With 0.4.0 released, DRBD promotion should be handled by drbd-reactor, so please set the according option to disable auto-promote, as shown here in the "HA LINSTOR Controller section" [3].

[Roland Kammerer]
* ctl,promoter: improve active on
* promoter: compat with older systemd, make promotion a dependency
* start after network is online
* promoter: improve system shutdown

GIT: https://github.com/LINBIT/drbd-reactor/commit/6cc8b9d7e57f3bb27a4c975d8d4f1339d60b4462
TGZ: https://pkg.linbit.com//downloads/drbd/utils/drbd-reactor-0.4.0.tar.gz
PPA: https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack

[1] https://lists.linbit.com/pipermail/drbd-announce/2021-June/000454.html
[2] https://lists.linbit.com/pipermail/drbd-announce/2021-June/000460.html
[3] https://github.com/LINBIT/linbit-documentation/blob/master/UG9/en/administration-linstor.adoc#linstor-high-availability