github.com/smintz/nomad@v0.8.3/website/source/docs/commands/server/join.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: server join"
     4  sidebar_current: "docs-commands-server-join"
     5  description: >
     6    The server join command is used to join the local server to one or more Nomad servers.
     7  ---
     8  
     9  # Command: server join
    10  
    11  The `server join` command joins the local server to one or more Nomad servers.
    12  Joining is only required for server nodes, and only needs to succeed against
    13  one or more of the provided addresses. Once joined, the gossip layer will
    14  handle discovery of the other server nodes in the cluster.
    15  
    16  ## Usage
    17  
    18  ```
    19  nomad server join [options] <addr> [<addr>...]
    20  ```
    21  
    22  One or more server addresses are required. If multiple server addresses are
    23  specified, then an attempt will be made to join each one. If one or more nodes
    24  are joined successfully, the exit code will be 0. Otherwise, the exit code will
    25  be 1.
    26  
    27  ## General Options
    28  
    29  <%= partial "docs/commands/_general_options" %>
    30  
    31  ## Examples
    32  
    33  Join the local server to a remote server:
    34  
    35  ```
    36  $ nomad server join 10.0.0.8:4648
    37  Joined 1 servers successfully
    38  ```