setting up distributed environment

Igor Goryachev goryachev@REDACTED
Wed Aug 30 16:50:44 CEST 2006


Serge Aleynikov <serge@REDACTED> writes:

> It's a bit unclear what do you mean by a 'master' node.  Mnesia
> doesn't have a notion of a master or slave.  Any node that has a

I mean 'mnesia:set_master_nodes/1'.

> In your application you could have two nodes running on two separate
> hosts with tables created using 'disc_copies' option.  The mnesia
> application would need to be started with the 'extra_db_nodes' option

Will 'mnesia:add_table_copy/3' make the deal? Should I run each node
with 'extra_db_nodes' option all the time?


-- 
Igor Goryachev
Yandex development team.



More information about the erlang-questions mailing list