用Docker swarm快速部署Nebula Graph集群

用Docker swarm快速部署Nebula Graph集群

二、nebula集群搭建 2.1 环境准备

机器准备

 

 

ip

 

 

内存(Gb)

 

 

cpu(核数)

 

 

192.168.1.166

 

 

16

 

 

4

 

 

192.168.1.167

 

 

16

 

 

4

 

 

192.168.1.168

 

 

16

 

 

4

 

 

在安装前确保所有机器已安装docker

2.2 初始化swarm集群

在192.168.1.166机器上执行

 

$ docker swarm init --advertise-addr 192.168.1.166 Swarm initialized: current node (dxn1zf6l61qsb1josjja83ngz) is now a manager. To add a worker to this swarm, run the following command: docker swarm join \ --token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \ 192.168.1.166:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wssxgd.html