On Wed, Apr 2, 2014 at 10:30 PM, Karen <[email protected]> wrote:
> Hi Patrik, > > Your suggestion worked. Thank you for that. Now if I start a 2nd worker > and I use the joinAddress as you described, if I stop the first backend I > would expect the 2nd backend to take over. > Glad to hear that. Have you set akka.cluster.auto-down-unreachable-after=15s default is off, and second will not become active singleton master until the unreachable first has been removed. You should also read<http://doc.akka.io/docs/akka/2.3.0/scala/cluster-usage.html#Automatic_vs__Manual_Downing>what auto-down means. /Patrik > > joinAddress was set to: akka.tcp://[email protected]:2552 > > When the 2nd backend is started I see this: > ClusterSingletonManager state change [Start -> Younger] > > which makes sense. > > When I stopped the first backend, I see these logs: > > Cluster Node [akka.tcp://[email protected]:56240] - Marking node(s) as > UNREACHABLE [Member(address = akka.tcp://[email protected]:2552, status = > Up)] > > [akka.tcp:// > [email protected]:56240/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FWorkers%40127.0.0.1%3A2552-0] > Association with remote system [akka.tcp://[email protected]:2552] has > failed, address is now gated for [5000] ms. Reason is: [Association failed > with [akka.tcp://[email protected]:2552]]. > > -- > >>>>>>>>>> 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. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw JOIN US. REGISTER TODAY! <http://www.scaladays.org/> Scala <http://www.scaladays.org/> Days <http://www.scaladays.org/> June 16th-18th, <http://www.scaladays.org/> Berlin <http://www.scaladays.org/> -- >>>>>>>>>> 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.
