Am Mittwoch, 12. Juni 2013, 10:08:39 schrieb Lars Marowsky-Bree:
> On 2013-06-12T09:09:31, Michael Schwartzkopff 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
On 12/06/2013, at 6:08 PM, Lars Marowsky-Bree wrote:
> On 2013-06-12T09:09:31, Michael Schwartzkopff 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
On 2013-06-12T12:03:46, Michael Schwartzkopff wrote:
> > I think you might find the crm_mon.c source code useful for this.
> Thanks. That helps a lot.
It's where I stole the bits I needed for SBD from ;-)
Regards,
Lars
--
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jenn
Am Mittwoch, 12. Juni 2013, 10:08:39 schrieb Lars Marowsky-Bree:
> On 2013-06-12T09:09:31, Michael Schwartzkopff 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
On 2013-06-12T09:09:31, Michael Schwartzkopff 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
--
Hi,
after quite some time I want to start developing again. Is there any help and
example how to use the corosync / pacemaker APIs?
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.
Thanks.
--