Am Mittwoch, 12. Juni 2013, 10:08:39 schrieb Lars Marowsky-Bree:
> On 2013-06-12T09:09:31, Michael Schwartzkopff <mi...@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.
Thanks. That helps a lot.
--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München
Tel: (0163) 172 50 98
_______________________________________________
Pacemaker mailing list: Pacemaker@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