[ClusterLabs] Is reverse order for "promote" supposed to be "demote"?

Vladislav Bogdanov bubble at hoster-ok.com
Tue May 11 12:03:38 EDT 2021


Hi.

Try
order o_fs_drbd0_after_ms_drbd0 Mandatory: ms_drbd0:promote fs_drbd0:start



On May 11, 2021 6:35:58 PM Andrei Borzenkov <arvidjaar at gmail.com> wrote:

> While testing drbd cluster I found errors (drbd device busy) when
> stopping drbd master with mounted filesystem. I do have
>
> order o_fs_drbd0_after_ms_drbd0 Mandatory: ms_drbd0:promote fs_drbd0
>
> and I assumed pacemaker automatically does reverse as "first stop then
> demote". It does not - umount and demote are initiated concurrently.
>
> Adding explicit
>
> order o_stop_fs_drbd0_before_demote_ms_drbd0 Mandatory: fs_drbd0:stop
> ms_drbd0:demote
>
> fixed it, but should not this be automatic?
>
> The versions is pacemaker-2.0.5+20210310.83e765df6-1.1.x86_64.
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20210511/ecf6e038/attachment.htm>


More information about the Users mailing list