As Guido Medina suggested, you need both your nodes as seed nodes. Also you 
might need auto-down-unreachable-after property.

ex:

cluster {
 seed-nodes = [
 "akka.tcp://system@127.0.0.1: 
<http://www.google.com/url?q=http%3A%2F%2Fsystem%40127.0.0.1%3A2551&sa=D&sntz=1&usg=AFQjCNEuLOzTrhgLJzqQp8uRXbkibBmJIQ>2554",
 "akka.tcp://system@127.0.0.1: 
<http://www.google.com/url?q=http%3A%2F%2Fsystem%40127.0.0.1%3A2551&sa=D&sntz=1&usg=AFQjCNEuLOzTrhgLJzqQp8uRXbkibBmJIQ>2554",
 ]
 auto-down-unreachable-after = 10s
}

 This would forcefully mark the status of unreachable node to "down". 

Cheers,
Chinmay

On Friday, 8 July 2016 16:14:52 UTC+5:30, 谌浏洋 wrote:
>
> Sorry for my poor English
>
> I started two node A(seed) B, Both A and B can communication to each other.
>
> When I restart node A. node B cannot join A anymore. (No more Member Event 
> be notified)
>
> B node console repeat print msg :
>
> [INFO] [07/08/2016 10:30:17.381] [system-akka.actor.default-dispatcher-22] 
> [akka.cluster.Cluster(akka://system)] Cluster Node [akka.tcp://
> system@127.0.0.1:57237] - Leader can currently not perform its duties, 
> reachability status: [akka.tcp://system@127.0.0.1:57237 -> akka.tcp://
> system@127.0.0.1:2551: Unreachable Unreachable 
> <https://github.com/akka/akka/issues/1>], member status: [akka.tcp://
> system@127.0.0.1:2551 Up seen=false, akka.tcp://system@127.0.0.1:57237 Up 
> seen=true]
>
> Akka 2.4.7
>
> Please help me.
>
> Thanks
>
>
> My node A configuration is
>
> akka {
>   actor{
>     provider = "akka.cluster.ClusterActorRefProvider"
>     serializers {
>       java = 
> "org.appsugar.cluster.service.akka.serialization.ProtostuffSerialization"
>     }
>   }
>   remote {
>     log-remote-lifecycle-events = off
>     netty.tcp {
>       hostname = "127.0.0.1"
>       port = 2551
>     }
>   }
>
>   cluster {
>     seed-nodes = ["akka.tcp://system@127.0.0.1:2551"]
>   }
> }
> akka.cluster.metrics.enabled=off
>
> akka.extensions=["akka.cluster.metrics.ClusterMetricsExtension"]
>
> akka.cluster.metrics.native-library-extract-folder=${user.dir}/target/native
>
> akka.actor.default-mailbox {
>   mailbox-type = "akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
> }`
>
> Node B configuration as same as Node A, Just change port to 0
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to