[ClusterLabs] resource agent - wait for app data sync

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Mon Nov 26 11:17:35 EST 2018


On Mon, 26 Nov 2018 18:27:37 +0300
George Melikov <mail at gmelikov.ru> wrote:

> Some apps's data may need to be synced before it's safe to
> promote/demote/standby.
> 
> For example - DRBD, it replicates data across servers, but if you shut down
> master server during resync - you'll have a split brain.
> 
> Is there a way to tell pacemaker from OCF agent that it's not safe now to do
> any migration?

You would have to check for sync completion either from pre-action notification
action or during the action itself.



More information about the Users mailing list