[erlang-questions] Replicated Mnesia table on dynamic nodes - how?

Paul Mineiro <>
Tue Jul 7 18:48:34 CEST 2009


to add nodes to the schema: mnesia:change_config/2 and
mnesia:change_table_copy_type/3

to add a table to a node: mnesia:add_table_copy/3

-- p

On Tue, 7 Jul 2009, Jacek Furmankiewicz wrote:

> When you create a Mnesia table, you are supposed to pass it a list of nodes
> that it should be replicated on.
> Since this a creation-time element, how do you handle nodes dynamically
> being added later on?
> Is there a way to specify a Mnesia table with some sort of cookie parameter,
> so all nodes with the same cookie will automatically replicate the disk
> table?
>
> Thanks,
> Jacek
>



More information about the erlang-questions mailing list