[Pacemaker] Help with development

Andrew Beekhof andrew at beekhof.net
Wed Jun 12 18:39:24 EDT 2013


On 12/06/2013, at 6:08 PM, Lars Marowsky-Bree <lmb at suse.com> wrote:

> On 2013-06-12T09:09:31, Michael Schwartzkopff <misch at clusterbau.com> wrote:
> 
>> Especially I would like to find out how many nodes are in a cluster and how 
>> many nodes are online. Perhaps somebody could post a code snipplet here.
> 
> I think you might find the crm_mon.c source code useful for this.

Also crm_node for going directly to the cluster layer if thats your thing.

> 
> 
> Regards,
>    Lars
> 
> -- 
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
> 
> 
> _______________________________________________
> 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://bugs.clusterlabs.org





More information about the Pacemaker mailing list