On Thu, 2009-04-16 at 08:20 +0200, Dietmar Maurer wrote:
> > You might try taking a look at exec/sync.c
> > 
> > it is a synchronization engine.  Basically it takes configuration
> > changes into account to call sync_init, sync_process, sync_abort, or
> > sync_activate.  These 4 states then activate the new dato a model.
> > This
> > could easily be done as an addon api that uses CPG and would be a
> > welcome addition.
> > 
> > If you want more details on how the state machine works, let me know.
> 
> That code seems to directly access the totem protocol (create a new
> token). So I cant use such thing with CPG? Or what can I learn from that
> code?
> 
> - Dietmar
> 
> 
Check out:
http://www.openais.org/doku.php?id=dev:paritition_recovery

Instead of using the token callback method, you could write your own
methodology for executing the state machine.

regards
-steve


_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to