August 2017
Intermediate to advanced
332 pages
9h 16m
English
Having a single manager node is risky because when the manager machine is down, the whole cluster is down. This situation is, obviously, not acceptable in the case of business-critical systems. In this section, we present how to manage multiple master nodes.
In order to add a new manager node to the system, we need to first execute the following command on the (currently single) manager node:
$ docker swarm join-token managerTo add a manager to this swarm, run the following command:docker swarm join \--token SWMTKN-1-5blnptt38eh9d3s8lk8po3069vbjmz7k7r3falkm20y9v9hefx-a4v5olovq9mnvy7v8ppp63r23 \192.168.0.143:2377
The output shows the token and the entire command that needs to be executed on the machine that is supposed ...
Read now
Unlock full access