[erlang-questions] Two network interfaces.

Krzysztof Blachowski kblachowski@REDACTED
Tue Sep 13 15:25:42 CEST 2011

Hi all. 

Let's imagine that we have two machines A and B with erlang VM. 

On each erlang machine there is application which uses mnesia database. The database is replicated between nodes.
Each node has two interfaces "I1" which is extremely fast and "I2" which is slow. There is also a bunch of erlang nodes which are clients
for A and B nodes and they are using native erlang interface.

I was trying to configure erlang nodes A and B to utilize this two interfaces but without any effect. 
How to connect nodes A i B with fast link (for mnesia replication) and at this same time connect them with slow link with external clients?

I've tried:

machine A:

erl -name master -setcookie secret


machine B:

erl -name replica -setcookie secret



Why? What I'm doing wrong?

best regards

Skoda Octavia z 2009 roku juz za 11 tys. zl

More information about the erlang-questions mailing list