Hi Fábio,

for every backend, frontend and worker node make sure to pass in current
node IP via CLI parameter: -Dakka.remote.netty.tcp.hostname=<node_ip> when
you start an application.

Also change seed node addresses configured in application.conf to include
two IP addresses of backend and frontend nodes.

Then change contact-points defined in worker.conf to also include the same
IPs. Workers are not part of the cluster, but they use Cluster Client to
contact cluster through configured contact points.

On Tue, Aug 25, 2015 at 5:12 PM, Fábio Melo <[email protected]> wrote:

> hello,
>
> I'm trying to run akka-distributed-workers-java
> <https://github.com/typesafehub/activator-akka-distributed-workers-java/>
>  in two machines.
>
> One host will run the two workers and other the master. How can I
> configure the application.conf
> <https://github.com/typesafehub/activator-akka-distributed-workers-java/blob/master/src/main/resources/application.conf>
>  and
> the worker.conf
> <https://github.com/typesafehub/activator-akka-distributed-workers-java/blob/master/src/main/resources/worker.conf>
>  to
> deal with it?
>
>
> regards,
> Fábio
>
> --
> >>>>>>>>>> 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.
>



-- 
Martynas Mickevičius
Typesafe <http://typesafe.com/> – Reactive
<http://www.reactivemanifesto.org/> Apps on the JVM

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

Reply via email to