[DRBD-announce] drbdd v0.1.0-rc.1

Roland Kammerer roland.kammerer at linbit.com
Wed Feb 17 16:40:40 CET 2021


Dear DRBD-users,

Today we announce a new component in the DRBD ecosystem, which we call
"drbdd". drbdd is a daemon that monitors changes on DRBD resources and
then triggers actions based on such changes (e.g., when a disk goes from
UpToDate to some other state, or a resource might be promoted,...).

One of the key features is that drbdd consists of a core and multiple
plugins that accomplish different jobs. The core spawns these plugins
and there can even be multiple instances of the same plugin.

A very quick overview about the existing and planed plugins:

- debugger
The most trivial plugin that just prints all the state changes to the
logger.  Never the less a good starting point especially for developers

- promoter
This is a more interesting plugin that detects if a resource might be
promoted, and if so starts user defined services. If the resource looses
quorum, services are stopped. If you combine that for example with a
systemd mount service and the linstor-controller.service, you trivially
get a form of HA without the complexity of a pacemaker setup, all
handled by drbdd and DRBD quorum.

- umh
This is a plugin we discussed internally and the one which I'm going to
work on next. It will replace the usermode helpers as you know them
(i.e., no more triggered from the kernel). More importantly this will
also allow users to define their own rules besides the handlers we
provided.

There are many more plugins we envision for this. Examples can include
all kind of monitoring like, but not limited to, a Prometheus endpoint.

An architecture overview and further documentation, especially about the
plugins can be found here:
https://github.com/LINBIT/drbdd

Public packages can be found here:
https://packages.linbit.com/rck/drbdd_0.1.0~rc.1-1_amd64.deb
https://packages.linbit.com/rck/drbdd-0.1.0~rc.1-1.x86_64.rpm

Please note that this *requires* the latest drbd-utils (9.16.0).

Please test. Eventually - at least after umh got implemented - this will
be shipped basically with every DRBD installation. The config file
format and the input for plugins should be fixed (we will see :)), so
this is a good time to make this public.

Regards, rck



More information about the drbd-announce mailing list