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

Andrei Borzenkov arvidjaar at gmail.com
Tue May 11 13:30:54 EDT 2021


On 11.05.2021 19:03, Vladislav Bogdanov wrote:
> Hi.
> 
> Try
> order o_fs_drbd0_after_ms_drbd0 Mandatory: ms_drbd0:promote fs_drbd0:start
> 

This seems to work, but is not "start" implied when no operation is
explicitly specified? I.e. both constraints are expected to be
completely identical?

> 
> 
> 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/
> 
> 



More information about the Users mailing list