anchor.diff:                    lists:usort([Node | X])
             end,
       ns_config:update_key(nodes_wanted, Fun),
  +    ns_config:set({node, Node, membership}, inactiveAdded),
       ns_mnesia:add_node(Node),
       error_logger:info_msg("~p:add_node: successfully added ~p to cluster.~n",
                             [?MODULE, Node]).
  
positive.code: %%
  
  running({join, RemoteNode, NewCookie}, State) ->
      ns_log:log(?MODULE, 0002, "Node ~p is joining cluster via node ~p.", [node(), RemoteNode]),
      BlackSpot = make_ref(),
      MyNode = node(),
      ns_config:update(fun ({directory,_} = X) -> X;
  
negative.code:                                   CookieBefore ->
                                        ok;
                                    CookieAfter ->
                                        error_logger:error_msg(
                                          "critical: Cookie has changed from ~p "
                                          "to ~p~n", [CookieBefore, CookieAfter]),
                                        exit(bad_cookie)
                                end,
                                ns_mnesia:rename_node(MyNode, node()),
  