[ClusterLabs] Antw: Re: Antw: [EXT] Preventing a resource from migrating to / starting on a node

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed Nov 30 04:28:14 EST 2022


>>> Ken Gaillot <kgaillot at redhat.com> schrieb am 29.11.2022 um 20:41 in
Nachricht
<23873b16397171f0880ee691a0aef5a6e3ef39a4.camel at redhat.com>:
> The use case here is for external code (DRBD) to ban a resource from a
> node. While DRBD could add/remove location constraints, it's better to
> have permanent (rule‑based) location constraints in the configuration,
> and let DRBD just set or unset a node attribute to trigger the
> constraint.
> 
> As a general rule, it's best to avoid automated configuration changes
> (via resource agents, crons, DRBD, etc.) other than node attributes.
> There's just more room for something to go wrong.

I think setting the wrong node attributes (combined with the "right" rules)
can be just as desastous as adding bad location constraints.

...

Regards,
Ulrich



More information about the Users mailing list