[DRBD-announce] drbd-reactor v0.7.0-rc.1
Roland Kammerer
roland.kammerer at linbit.com
Thu May 12 10:27:12 CEST 2022
Dear DRBD users,
this is RC1 of the upcoming 0.7.0 release of drbd-reactor.
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.
Please test. If there are no new bugs, I will release the final version
in about a week from now.
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/29ceb37507b4f63af71cdc294a28cfa07da95c70
TGZ: https://pkg.linbit.com//downloads/drbd/utils/drbd-reactor-0.7.0-rc.1.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-announce/attachments/20220512/e8a1c555/attachment.pgp>
More information about the drbd-announce
mailing list