127.0.0.1 will only work on one machine (localhost).
Read more:
http://doc.akka.io/docs/akka/2.4.3/java/cluster-usage.html#Joining_to_Seed_Nodes
tis 5 apr. 2016 kl. 20:48 skrev Yan Pei <[email protected]>:

> Thank you Patrick for the hints. other team set up Cassandra in CF. I will
> ask them and give update if I get anything useful.
>
> Could you please clarify this to me:
> remote {
>        #log-remote-lifecycle-events = on
>        # if off then they are not logged
>        #log-sent-messages = on
>        # if off then they are not logged
>        #log-received-messages = on
>        netty.tcp {
>            hostname = "127.0.0.1"
>            port = 2550
>        }
>    }
>    cluster {
>        seed-nodes = [
>            "akka.tcp://[email protected]:2550",
>            "akka.tcp://[email protected]:2551",
>            "akka.tcp://[email protected]:2552"]
>
>         auto-down-unreachable-after = 10s
>    }
>
> If I deploy the Application with above configuration to different nodes,
> will those nodes join the cluster automatically by identify themself as
> ClusterSystem?
>
> Yan
>
>
> On Tuesday, April 5, 2016 at 1:39:01 PM UTC-5, Patrik Nordwall wrote:
>
>> I have heard that you can run Cassandra in CF. i think you would need a
>> similar solution for Akka seed nodes as how Cassandra contact points are
>> handled in CF.
>>
>> If someone has a better answer or knows how Cassandra in CF works I would
>> also be curious to know.
>>
>> /Patrik
>>
>> tis 5 apr. 2016 kl. 18:12 skrev Yan Pei <[email protected]>:
>>
> The problem we are facing right now is how to get the IP for node instance
>>> running inside CF since the IP is dynamically generated.
>>> Another question: is it possible to run Actor instance in difference
>>> node?
>>>
>>> for example:
>>> final Config config =
>>> ConfigFactory.parseString("akka.remote.netty.tcp.port=" + port).
>>> withFallback(ConfigFactory.parseString(""akka.remote.netty.tcp.hostname="
>>> + hostname")).
>>> withFallback(ConfigFactory.parseString("akka.cluster.roles =
>>> [backend]")).
>>> withFallback(ConfigFactory.load());
>>>
>>> ActorSystem system = ActorSystem.create("example", config);
>>> ActorRef backend = system.actorOf(Props.create(ActorExample.class,
>>> customers, chunk), "backend");
>>>
>>>
>>> Can I create different ActorExample instance in different nodes?
>>>
>>> Thanks a lot!
>>> Yan
>>>
>>>
>>> On Monday, April 4, 2016 at 12:17:25 PM UTC-5, Yan Pei wrote:
>>>>
>>>> If we want to deploy our AKKA application to CF with CF's load
>>>> balancer, should we configure the locad balancer ip in side our AKKA
>>>> application.conf? How do we dynamically configure ip address for 
>>>> seed-nodes?
>>>>
>>>> Thanks for any inputs!
>>>>
>>>> Emily
>>>>
>>> --
>>> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to