[Pacemaker] "crm resource restart" does not work on the DC node with crmd-transtion-delay="2s"

Andrew Beekhof andrew at beekhof.net
Sun Jul 31 23:13:10 EDT 2011


2011/7/27 NAKAHIRA Kazutomo <nakahira.kazutomo at oss.ntt.co.jp>:
> Hi, all
>
> I configured crmd-transition-delay="2s" to address the following problem.
>
>  http://www.gossamer-threads.com/lists/linuxha/pacemaker/68504
>  http://developerbugs.linux-foundation.org/show_bug.cgi?id=2528
>
> And then, "crm resource restart" command get become less able to
> restart any resources on the DC node.
> # "crm resource restart" works fine on the non-DC node.
> # Please see attached hb_report generated on the simple environment.
>
> How can I use "crm resource restart" command on the DC node
> with crmd-transtion-delay="2s"?

Sounds like the shell isn't waiting long enough.

>
> I confirmed that I can avoid this problem by the following procedure
>  1. "crm resource stop rsc-ID"
>  2. wait crmd-transtion-delay(2) scond
>  3. "crm resource start rsc-ID"
> but this behavior(restart does not works on the DC node)
> may be confuse users.
>
> Best regards,
>
> --
> NAKAHIRA Kazutomo
> Infrastructure Software Technology Unit
> NTT Open Source Software Center
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>




More information about the Pacemaker mailing list