문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top