下载对应版本链接:https://www.consul.io/downloads.html 解压
window服务器1
操作 cmd 转到解压位置 启动 consul.exe
consul windows 2012集群部署操作步骤
继续输入:consul agent -server -ui -bootstrap-expect=1 -data-dir {解压的exe文件位置} -node=n1 -advertise=你的公网IP -bind=0.0.0.0 -client=0.0.0.0 部署节点
consul windows 2012集群部署操作步骤
此时打开window防火墙8031端口 默认此端口
服务器2 同上操作节点名称改为 n2
在服务器2 完成上述后 新开cmd 到对应目录 输入consul join 服务器1公网IP
consul windows 2012集群部署操作步骤

部署成功consul members
consul windows 2012集群部署操作步骤

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2021-04-20
  • 2021-12-24
猜你喜欢
  • 2021-10-05
  • 2021-07-15
  • 2021-10-27
  • 2021-08-31
  • 2022-02-21
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案