This video could not play here.
It may be members-only, region-restricted, or unavailable in embedded players.
Docker Swarm | Create SWARM Cluster from Scratch
Swarm is native clustering for the Docker. When the Docker Engine runs in swarm mode, manager nodes implement the Raft Consensus Algorithm to manage the global cluster state.The reason why Docker swarm mode is using a consensus algorithm is to make sure that all the manager nodes that are in charge of managing and scheduling tasks in the cluster, are storing the same consistent state.
LAB Setup In this LAB we are going to create a SWARM cluster with single manager and 02 worker nodes. Operating System : CentOS 7.3 x86_64 Platform : Vagrant Machines
Manager Node : manager | 192.168.1.100/24 Worker Node 1 : node-1 | 192.168.1.101/24 Worker Node 2 : node-2 | 192.168.1.102/24
Watch the video for more details :