Question

Is it possible to have multiple releases created by rebar to run at the same time? I have one server where I'd like to run different releases simultaneously to test them out. The problem is when I do:

rel/myapp_a/bin/myapp_a stop

It manages to stop my VM which is running myapp_b

How do I get them to run as their own entities that do not interfere with each other?

Was it helpful?

Solution

First I would check if the two nodes are connected to each other:

On one or each of the nodes run

Eshell V5.7.5  (abort with ^G)
1> nodes().
[]

and make sure the list is empty or only containing other nodes that are supposed to be connected.

Check if the nodes can be connected at all by calling netadm:ping/1 and try to connect the nodes. If they can be connected and shouldn't make sure to run them with different cookies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top