[Openais] corosync's confdb

Ariel Mónaco amonaco at gmail.com
Tue Nov 24 14:39:14 PST 2009


Steven,

Thanks for your reply. Nice to know this feature is in the roadmap.

I understand I could use the cpg interface for this. But would mean that I
would have to implement a sort of "distributed mutex", is this correct?
Would you point me any documentation or similar projects I could use as a
source of inspiration?

I'm willing to contribute to the project.

Thanks,
Ariel

Ariel Monaco – Systems Engineer – Senior IT Specialist

Siemensstraße 36 - 40227 Düsseldorf
Germany
Mobile: +49-01637452854


2009/11/20 Steven Dake <sdake at redhat.com>

> confdb at the moment is not replicated.  To do what you need, I
> recommend using the cpg interface.  What you want is on the roadmap for
> 2.0.
>
> Regards
> -steve
>
> On Wed, 2009-11-18 at 00:41 +0100, Ariel Mónaco wrote:
> > Hello everyone,
> >
> > I would like to know if I can use confdb as a basis for a distributed
> > state machine.
> >
> > I have corosync installed and configured in two hosts, I've coded two
> > small programs, one creates an object and a key. And the other,
> > running on the second box, tries to fetch that object and the key
> > value.
> >
> > However, i haven't had success so far, and that made me think that
> > confdb may not be intended for this. Or is it?
> >
> > Should I use confdb_dispatch() after confdb_object_create() or
> > confdb_key_create() to sync the db across the members of the group?
> >
> > Thanks in advance,
> > Ariel
> >
> > Ariel Monaco – Systems Engineer – Senior IT Specialist
> >
> > Siemensstraße 36 - 40227 Düsseldorf
> > Germany
> > Mobile: +49-01637452854
> >
> > _______________________________________________
> > Openais mailing list
> > Openais at lists.linux-foundation.org
> > https://lists.linux-foundation.org/mailman/listinfo/openais
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/openais/attachments/20091124/0de6581e/attachment-0001.htm 


More information about the Openais mailing list