[Pacemaker] Best way to find master node

Andrew Beekhof andrew at beekhof.net
Wed Aug 25 06:38:25 UTC 2010


On Tue, Aug 24, 2010 at 12:37 AM, Bob Schatz <bschatz at yahoo.com> wrote:
> I would like to find the master node for a resource.
>
> On 1.0.9.1, when I do:
>
>    # crm resource status ms-SSWD-WCAW30019072
>    resource ms-SSWD-WCAW30019072 is  running on: box-0
>    resource ms-SSWD-WCAW30019072 is  running on: box-1
>
> This does not tell me if it is master or slave.

Does crm_mon indicate that either have been promoted to master?

>
> I found this thread:
>
> http://www.gossamer-threads.com/lists/linuxha/pacemaker/60434?search_string=crm_resource%20master%20;#60434
>
>
> but I could not find a bug filed.
>
> Can I file a bug for this?  Would it be on crm_resource?
>
> Is there any workaround for this?
>
>
> Thanks,
>
> Bob
>
>
>
>
> _______________________________________________
> 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