anchor.diff:                [node(), RemoteNode, Connected]),
       %% Add ourselves to nodes_wanted on the remote node after shutting
       %% down our own config server.
  -    ok = rpc:call(RemoteNode, ns_cluster, add_node, [node()]),
  +    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(),
  
positive.code: -export([running/2, running/3, joining/2, joining/3, leaving/2, leaving/3]).
  
  %% API
  -export([add_node/1, join/2, leave/0, leave/1, shun/1, log_joined/0]).
  
  -export([alert_key/1]).
  
  
negative.code: %%
  
  %% Called on a node in the cluster to add us to its nodes_wanted
  join(RemoteNode, NewCookie) ->
      ns_log:log(?MODULE, ?NODE_JOIN_REQUEST, "Node join request on ~s to ~s",
                 [node(), RemoteNode]),
  