How to add db node dynamicaly
Wed Mar 1 11:58:03 CET 2000
Samuel Tardieu writes:
> | Start mnesia on the new node as a ram node (without a schema on disc)
> | and invoke mnesia:change_config(extra_db_nodes, [a@REDACTED, b@REDACTED]) on
> | the node.
> I just learned something, thanks. Maybe the doc should be state explicitely
> that this can be run on the new node (I may have missed it though).
> I thought that it could only be done on a node with the "real" mnesia
> started already, and I was using:
> rpc:call (a@REDACTED, mnesia, change_config, [extra_db_nodes, [node()]])
It can called on either the new node or on the already running nodes.
More information about the erlang-questions