Hi Miguel! Sorry I had you waiting on this one for so long, let’s dive into the cluster’s depths right away then!
In your case you would need make the seed node join the previous node. If you really want to do this, there’s programatic API to do this (Cluster(system).join theOtherGuy), but I assume you mean that “the code has no idea who to join”. In that case you can provide external knowledge to the seed-node to make it join that other node via JMX <http://doc.akka.io/docs/akka/snapshot/scala/cluster-usage.html#jmx> or the command line util <http://doc.akka.io/docs/akka/snapshot/scala/cluster-usage.html#command-line-management> we provide. Another solution would be to keep both nodes as seed-nodes. In general we suggest having a bunch of nodes as seed-nodes, not just one. Also, make sure you *Down* not just leave it as *Unreachable* the node that has failed. You can do this via the same tools I’ve put above, or there’s an automatic mode for it called auto-downing, which depends on a timer (so it’s potentially very dangerous as it may down a perfectly FINE node, just because it didn’t answer for a few seconds (heatbeat)). Finally, Please do upgrade to 2.3, 2.2 was a long time ago and the 2.3 series (esp. 2.3.5+) include A LOT of improvements to the cluster! Also, remember that ActorRefs won’t be valid for such node “that dies, had some actors on and you’ve been talking to the via actor refs”, you’ll have to Identify them again using selection (unless you’ve been using some other mechanism like pubsub or cluster sharding etc). Some reference: - membership explained: http://doc.akka.io/docs/akka/snapshot/common/cluster.html#membership - cluster membership states: http://doc.akka.io/docs/akka/snapshot/common/cluster.html#state-diagram-for-the-member-states Hope this helps! On Fri, Oct 17, 2014 at 9:53 PM, Miguel Angel Fernandez < [email protected]> wrote: > By the way, I forgot to mention that I'm using the version 2.2 > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: > https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Cheers, Konrad 'ktoso' Malawski hAkker @ Typesafe <http://typesafe.com> -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
