anchor.diff:      running({leave, #leaving_state{}}, State).
   
   
  +running({add_node, Node}, _From, State) ->
  +    Fun = fun(X) ->
  +                  lists:usort([Node | X])
  +          end,
  +    ns_config:update_key(nodes_wanted, Fun),
  +    ns_config:set({node, Node, membership}, inactiveAdded),
  +    ns_mnesia:add_node(Node),
  +    ?log_info("Successfully added ~p to cluster.", [Node]),
  +    {reply, ok, running, State};
   running({change_address, NewAddr}, _From, State) ->
       MyNode = node(),
       case misc:node_name_host(MyNode) of
  
positive.code: %%
  
  %% Called on a node in the cluster to add us to its nodes_wanted
  add_node(Node) ->
      Fun = fun(X) ->
                    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]),
      ok.
  
  
  join(RemoteNode, NewCookie) ->
      ns_log:log(?MODULE, ?NODE_JOIN_REQUEST, "Node join request on ~s to ~s",
                 [node(), RemoteNode]),
  
negative.code:               [node(), RemoteNode, Connected]),
      %% Add ourselves to nodes_wanted on the remote node after shutting
      %% down our own config server.
      mnesia:start(),
      ok = gen_fsm:sync_send_event({?MODULE, RemoteNode}, {add_node, node()}),
      error_logger:info_msg("Remote config updated to add ~p to ~p~n",
                            [node(), RemoteNode]),
      {ok, running, State} = bringup(),
  