SWARM container cluster management

docker swarm init --advertise-addr 10.11.97.71

  

Log view:

[[ email Protected] ~]# docker swarm init --advertise-addr 10.11.97.71
Swarm initialized: current node (nnkbd7e2emx24ymnzyvxv7h2b) is now a manager.

To add a worker to this swarm, run the following command:

    docker swarm join --token SWMTKN-1-4y22cau9ejhrppdlf2g5y7dn6ibltq67ccvoiw2xf3yoj5i5ii-69yg43tece4d5sbwl1a1ftmu9 10.11.97.71:2377

To add a manager to this swarm, run ‘docker swarm join-token manager’ and follow the instructions.

[[email Protected] ~]#

  

[[emailprotected] compose_nginx_tomcat]# docker swarm join- -token SWMTKN-1-4y22cau9ejhrppdlf2g5y7dn6ibltq67ccvoiw2xf3yoj5i5ii-69yg43tece4d5sbwl1a1ftmu9 10.11.97.71:2377
This node joined a swarm as a worker.
[[email protected] compose_nginx_tomcat]#

  

[[emailprotected] ~]# docker swarm join- -token SWMTKN-1-4y22cau9ejhrppdlf2g5y7dn6ibltq67ccvoiw2xf3yoj5i5ii-69yg43tece4d5sbwl1a1ftmu9 10.11.97.71:2377
This node joined a swarm as a worker.
[[email Protected] ~]#

  

[[emailprotected] ~]# docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
nnkbd7e2emx24ymnzyvxv7h2b * localhost.localdomain Ready Active Leader 18.09.7
oykg4g4wu8tkvdv4141619seq localhost.localdomain Ready Active 18.09.0
s66kqvljbwsosl7dj2hs3p478 localhost.localdomain Ready Active 18.09.7

docker swarm init --advertise-addr 10.11.97.71

[[emailprotected] ~]# docker swarm init --advertise-addr 10.11.97.71
Swarm initialized: current node (nnkbd7e2emx24ymnzyvxv7h2b) is now a manager.

To add a worker to this swarm, run the following command:

    docker swarm join --token SWMTKN-1-4y22cau9ejhrppdlf2g5y7dn6ibltq67ccvoiw2xf3yoj5i5ii-69yg43tece4d5sbwl1a1ftmu9 10.11.97.71:2377

To add a manager to this swarm, run ‘docker swarm join-token manager’ and follow the instructions.

[[email Protected] ~]#

[[emailprotected] compose_nginx_tomcat]# docker swarm join --token SWMTKN-1-4y22cau9ejhrppdlf2g5y7dn6ibltq67ccvoiw2xf3yoj5iw5ii-69ft.71.97 :2377
This node joined a swarm as a worker.
[[email protected] compose_nginx_tomcat]#

[[email protected] ~]# docker swarm join --token SWMTKN-1-4y22cau9ejhrppdlf2g5y7dn6ibltq67ccvoiw2xf3yoj5i5ii-69yg43wce111 :2377
This node joined a swarm as a worker.
[[email Protected] ~]#

[[email protected] ~]# docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
nnkbd7e2emx24ymnzyvxv7h2b * localhost.localdomain Ready Active Leader 18.09.7
oykg4g4wu8tkvdv4141619seq localhost.localdomain Ready Active 18.09.0
s66kqvljbwsosl7dj2hs3p478 localhost.localdomain Ready Active 18.09.7

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2412 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.