4.1.51 join_node(Node, Intent)

-spec join_node(node(), join_intent()) -> ok |
                                          {error, _}.

Join the local site to the cluster of a remote node.

This function allows a node to join a cluster by connecting to a known peer.

Arguments:

  1. Name of a node to join.

    Note: while the majority of classy APIs work with site IDs, joining a cluster is always done via regular Erlang node name.

  2. Join intent, see classy:join_intent/0.
JavaScript license information