[DRBD-user] drbd-reactor v0.7.0

Roland Kammerer roland.kammerer at linbit.com
Thu May 19 14:56:49 CEST 2022


Dear DRBD users,

this is version 0.7.0 of drbd-reactor. There have not been any changes
since RC1, the rest is the RC1 announce mail:

It brings bug fixes, improves robustness and includes a new feature. I
recommend all users to upgrade to the final version.

Features are always more interesting than bug fixes, let's start with
that: For DRBD resources (and services depending on them) that are
manged by the promoter plugin it is now possible set a list of
"preferred-nodes", as in 'preferred-nodes = [ "nodeA", "nodeB" ]' in
let's say a 3 node cluster consisting of nodeA, nodeB, and nodeC. The
names have to match "uname -n".  With that in place nodes calculate a
sleep delay depending on their position in the list, and as soon as
resource can be promoted, they sleep for that delay until they actually
try to promote the resource. In the example above nodeA will not sleep
at all, nodeB will sleep 1s, all other nodes (in this case nodeC) 2s. In
this case nodeA will then win the race for DRBD promotion.  If a node
vanishes, like in case of a node failure, and then comes back later,
services will switch back to that node if it has a higher preference
than the node that currently hosts the services and has UpToDate data.

The usual note applies, here: use that feature with caution! IMO every
node has to have enough resources to run all of the services in all
cases. You are HA or you are not. "thinly provisioned HA" :).

The events2 parser became more robust and now ignores new/unknown
keywords, but progresses with what it could parse. This should avoid
releases like 0.6.1 in the future.

One bug that got fixed is that systemd targets that needed escaping,
like "foo-1" have not been stopped properly (e.g., on failover due to
quorum loss).

There are other small improvements that are out of scope for this
"short" announce mail, please read the git history if you are interested
in these.

Changelog:
 * promoter: escape target name on stop
 * build: fix deb building
 * promoter: implement preferred nodes
 * promoter: rm path dep for promote service
 * events2: make parser more robust

Regards, rck

GIT: https://github.com/LINBIT/drbd-reactor/commit/43ffc8c6b98e5ed44b81d1e5b7bc72139eb326b9
TGZ: https://pkg.linbit.com//downloads/drbd/utils/drbd-reactor-0.7.0.tar.gz
PPA: https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20220519/e501f908/attachment.pgp>


More information about the drbd-user mailing list