[DRBD-user] drbd-reactor v0.6.0
Roland Kammerer
roland.kammerer at linbit.com
Tue Apr 5 13:25:00 CEST 2022
Dear DRBD users,
this is the final release 0.6.0 of drbd-reactor. This is a feature
driven release that brings some nice additions to drbd-reactorctl (the
daemon part is unchanged).
So far you had to have some deeper knowledge to switch over
highly-available resources managed by the promoter plugin. This was
basically:
$ drbd-reactorctl disable --now resname
$ drbdsetup status # in a loop to see if another node took over
$ drbd-reactorctl enable resname # so that it can fall back eventually
This for example could have had the problem that the resource was kept
disabled if during disabling it a on-drbd-demote-failure action
triggered and the system for example rebooted.
Long story short, there is now "drbd-reactorctl evict [resname]" that
evicts a resource (or all of them) from the current node. It also checks
if another node took over and reports the status nicely and makes sure
that resname gets enabled back again.
Temporarily pushing away a resource from the current node is one thing,
but sometimes one wants that the current node stays blocked and that
resources don't fall back. For example a maintenance action to upgrade
the DRBD kernel module. This can be done with:
$ drbd-reactorctl evict --keep-masked resname
This systemctl --runtime masks the generated target for the resource and
it will not be able to start on this node. A benefit of --runtime is
that it gets unmasked after a reboot without admin interaction. If you
don't need to reboot, one can issue that command:
$ drbd-reactorclt evict --unmask resname
The second addition is bash completion for drbd-reactorctl.
While smaller features, I think this really makes admin-life a lot easier.
Regards, rck
GIT: https://github.com/LINBIT/drbd-reactor/commit/0ac05aae218a0df44b62367d1f6ce700afadba78
TGZ: https://pkg.linbit.com//downloads/drbd/utils/drbd-reactor-0.6.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/20220405/fd642c46/attachment.pgp>
More information about the drbd-user
mailing list