[erlang-questions] Erlang application distribution

Siri Hansen erlangsiri@REDACTED
Tue Jan 8 11:39:49 CET 2013


Hi  -

this is the expected behavior of distributed applications. The supervision
is based on monitoring nodes and detecting nodedown messages.

Regards
siri


2013/1/3 Varatharaja Kajamugan <kajan26@REDACTED>

> Hi,
>
> I have tested a distributed test application between 2 nodes (test_p and
> test_s).
>
> test_p is primary node and test_s is secondary.
>
> When i stop test_p node,  start(failover, Args) was called in test_s node.
>
> But when i stop only the test application in test_p node without stopping
> the node, start(failover, Args) was not called  in test_s node.
>
> is that the behavior of erlang kernel distribution. if not can u guys
> please help me on this.
>
> my kernel configuration is below :
> {kernel,
>   [{distributed,
>                 [
>                 {reduce_test, 5000, [test_p@REDACTED, test_s@REDACTED]}
>                 ]},
>         {sync_nodes_optional, [test_p@REDACTED, test_s@REDACTED]},
>         {sync_nodes_timeout, 5000},
>        {start_dist_ac, true}
>    ]}
>
> Thanks
> Kajan.
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130108/23bae859/attachment.htm>


More information about the erlang-questions mailing list