I've created an akka cluster with this config on node 1 (flattened):

akka.cluster.roles : [
    "distmem-server"
]
akka.logging-filter : "akka.event.slf4j.Slf4jLoggingFilter"
akka.remote.netty.tcp.hostname : "distmem.lan"* <--- this exists in my 
hosts file and points to localhost, but tried 127.0.0.1 too*
akka.cluster.pub-sub.gossip-interval : "150ms"
akka.loglevel : "warning"
akka.loggers : [
    "akka.event.slf4j.Slf4jLogger"
]
akka.actor.provider : "cluster"
akka.remote.netty.tcp.port : 2551
akka.dispatchers.split-dispatcher.executor : "fork-join-executor"
akka.cluster.seed-nodes : [
    "akka.tcp://dist...@distmem.lan:2551"
]
akka.jvm-exit-on-fatal-error : false
akka.dispatchers.split-dispatcher.fork-join-executor.parallelism-min : 1
akka.dispatchers.split-dispatcher.fork-join-executor.parallelism-max : 8
akka.dispatchers.split-dispatcher.fork-join-executor.parallelism-factor : 2
akka.dispatchers.split-dispatcher.type : "Dispatcher"
akka.remote.retry-gate-closed-for : 500
akka.remote.netty.tcp.maximum-frame-size : "32MB"
akka.dispatchers.split-dispatcher.throughput : 32
akka.cluster.jmx.multi-mbeans-in-same-jvm : "on"

And the config is the same on 2 apart from 

akka.remote.netty.tcp.port : 2552

So I start node 1 (seed node), sleep for 2 secs and start node 2. Each node 
listens for MemberUp events and I get 1 member up event on each node. But 
those are for the node registering on itself.

INFO  c.a.d.Actors akka.tcp://dist...@distmem.lan:2551 : Joined the cluster 
: Member(address = akka.tcp://dist...@distmem.lan:2551, status = Up)
INFO  c.a.d.Actors akka.tcp://dist...@distmem.lan:2552 : Joined the cluster 
: Member(address = akka.tcp://dist...@distmem.lan:2552, status = Up)

My actor system name is "distmem".

So seems both nodes create a separate cluster? Or maybe they don't talk to 
each other? I am not getting any errors/exceptions. Any ideas what is wrong?

Thanks

-- 
>>>>>>>>>>      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