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