[Pacemaker] Help with development

Michael Schwartzkopff misch at clusterbau.com
Wed Jun 19 17:18:29 UTC 2013


Am Mittwoch, 12. Juni 2013, 10:08:39 schrieb Lars Marowsky-Bree:
> 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.

Ok. I read a litte bit through the code of crm_mon.c and crm_node. But there 
are very few comments in that code. That makes it hard to unterstand.

Is there anywhere a small code snipplet to show how the retrieve the cluster 
config from pacemaker? Or perhaps someone could post it here?

Thanks.

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130619/e600f1a3/attachment.htm>


More information about the Pacemaker mailing list