[Spread-users] Indications from spread

John Lane Schultz jschultz at spreadconcepts.com
Mon Jul 3 11:31:23 EDT 2006

Dutta Abhijit wrote:
> Does spread posts separate events (state change) for these two scenarios:
>    1. Cable pull out in one of the nodes
>    2. If spread daemon is killed in another node.
> If yes, how we can trap these events.

Yes, Spread does generate events once the timeouts (couple of seconds) detect 
the disconnection of the daemon(s).  These events will appear as membership view 
changes (CAUSED_BY_NETWORK) to surviving members of groups that have clients 
connecting through the disconnecting daemon(s).

For this to work you would need to run a daemon on each of the machines you care 
about and then have at least one client connect to the system through each 
daemon and all SP_join into the same group.  Then membership view change events 
of CAUSED_BY_NETWORK will correspond to the above listed events.  Note, however, 
that CAUSED_BY_NETWORK can also represent additive membership changes and can 
occur if, for example, you replugged the cable back in (more generally, if the 
network partition healed) and the daemons could begin communicating again.

Check out http://www.spread.org/docspread.html for more documentation.


John Schultz
Spread Concepts LLC
Phn: 443 838 2200
Fax: 301 560 8875

More information about the Spread-users mailing list