About Erlang system nodes

Tony Zheng tzheng@REDACTED
Thu Mar 23 19:54:00 CET 2006


Hi Chandru

Are there any encrypted mechanisms when Mnesia replicate tables on
different Erlang nodes? We will put Erlang nodes in different locations
on internet, we want to know if it is secure for Mnesia to replicate
tables on internet. 
Thanks.

tony


On Tue, 2006-02-14 at 17:26, chandru wrote:
> Hi,
> 
> You have to start the two nodes with the same cookie. When you start
> up an erlang node, it looks for a file called .erlang.cookie in the
> current directory and then the home directory. If it can't find
> either, it creates a $HOME/.erlang.cookie with some random value in
> it. You can create your own .erlang.cookie file with the same cookie
> in it and then try starting the nodes.
> 
> Before trying to create the schema, make sure that the command
> 
> net_adm:ping(remote_node@REDACTED).
> 
> returns pong.
> 
> For security, the .erlang.cookie file should only be readable by the
> user in whose context you are running the node.
> 
> cheers
> Chandru




More information about the erlang-questions mailing list