[Pacemaker] Fwd: All resources bounce on failback
Pavel Levshin
pavel at levshin.spb.ru
Mon Mar 21 19:35:36 UTC 2011
21.03.2011 1:39, David Morton:
>
> order DB_SHARE_FIRST_DEPOT inf: CL_OCFS2_SHARED DEPOT
> order DB_SHARE_FIRST_ESP_AUDIT inf: CL_OCFS2_SHARED ESP_AUDIT
>
Hmm, does not this cause the observed behaviour? Infinite score makes
order mandatory. It is not simple ordering. It requires to do both
actions together always. Order is also symmetric by default. Your rules
could be written in common language as follows:
1. Always start CL_OCFS2_SHARED then start DEPOT;
1a. Always stop DEPOT then stop CL_OCFS2_SHARED;
2. Always start CL_OCFS2_SHARED then start ESP_AUDIT;
2a. Always stop ESP_AUDIT then stop CL_OCFS2_SHARED;
In your described case, cluster wants to execute 2a. It causes 1a to be
executed, because CL_OCFS2_SHARED stops. Then the cluster starts DEPOT
again.
Where this behaviour is useful is not clear to me. Could anyone explain?
I should suggest relaxing your ordering rules to 0: score.
--
Pavel Levshin
More information about the Pacemaker
mailing list