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.


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

Reply via email to