[Pacemaker] the number of node pingd connect

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Sep 16 10:31:33 UTC 2010


Hi,

On Thu, Sep 16, 2010 at 04:34:19PM +0800, jiaju liu wrote:
> follow is my ping command:
> 1.create ping resource 
> crm configure primitive pingd_data ocf:pacemaker:pingd meta target-role=stopped params name=pingd_num op start timeout=90s op stop timeout=100s op monitor interval=90s timeout=100s
> 2.set param
> crm_resource -p host_list -r pingd_data -v host_list
>  
> The problem is I want to check how many node it can connect,
> which param I can check. would you please write a command for
> me. I have never use pacemaker before.

If I understood correctly, this is how you can get an attribute
value:

crm node status-attr <node> show pingd_num

Thanks,

Dejan

> Thank you:-)
> 
> 
>       

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