博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
mac安装consul
阅读量:5971 次
发布时间:2019-06-19

本文共 2017 字,大约阅读时间需要 6 分钟。

安装

直接解压

启动

➜  devtool consul agent -dev==> Starting Consul agent...==> Starting Consul agent RPC...==> Consul agent running!           Version: 'v0.7.2'         Node name: 'Mars.local'        Datacenter: 'dc1'            Server: true (bootstrap: false)       Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: 8600, RPC: 8400)      Cluster Addr: 127.0.0.1 (LAN: 8301, WAN: 8302)    Gossip encrypt: false, RPC-TLS: false, TLS-Incoming: false             Atlas: 
==> Log data will now stream in as it occurs: 2017/05/06 11:03:40 [INFO] raft: Initial configuration (index=1): [{Suffrage:Voter ID:127.0.0.1:8300 Address:127.0.0.1:8300}] 2017/05/06 11:03:40 [INFO] serf: EventMemberJoin: Mars.local 127.0.0.1 2017/05/06 11:03:40 [INFO] raft: Node at 127.0.0.1:8300 [Follower] entering Follower state (Leader: "") 2017/05/06 11:03:40 [INFO] serf: EventMemberJoin: Mars.local.dc1 127.0.0.1 2017/05/06 11:03:40 [INFO] consul: Adding LAN server Mars.local (Addr: tcp/127.0.0.1:8300) (DC: dc1) 2017/05/06 11:03:40 [INFO] consul: Adding WAN server Mars.local.dc1 (Addr: tcp/127.0.0.1:8300) (DC: dc1) 2017/05/06 11:03:45 [WARN] raft: Heartbeat timeout from "" reached, starting election 2017/05/06 11:03:45 [INFO] raft: Node at 127.0.0.1:8300 [Candidate] entering Candidate state in term 2 2017/05/06 11:03:45 [DEBUG] raft: Votes needed: 1 2017/05/06 11:03:45 [DEBUG] raft: Vote granted from 127.0.0.1:8300 in term 2. Tally: 1 2017/05/06 11:03:45 [INFO] raft: Election won. Tally: 1 2017/05/06 11:03:45 [INFO] raft: Node at 127.0.0.1:8300 [Leader] entering Leader state 2017/05/06 11:03:45 [INFO] consul: cluster leadership acquired 2017/05/06 11:03:45 [INFO] consul: New leader elected: Mars.local 2017/05/06 11:03:45 [DEBUG] consul: reset tombstone GC to index 3 2017/05/06 11:03:45 [INFO] consul: member 'Mars.local' joined, marking health alive 2017/05/06 11:03:45 [INFO] agent: Synced service 'consul' 2017/05/06 11:03:45 [DEBUG] agent: Node info in sync

访问

转载地址:http://zjzox.baihongyu.com/

你可能感兴趣的文章
洛谷 P2486 BZOJ 2243 [SDOI2011]染色
查看>>
数值积分中的辛普森方法及其误差估计
查看>>
Web service (一) 原理和项目开发实战
查看>>
跑带宽度多少合适_跑步机选购跑带要多宽,你的身体早就告诉你了
查看>>
深入理解Java的接口和抽象类
查看>>
Javascript异步数据的同步处理方法
查看>>
iis6 zencart1.39 伪静态规则
查看>>
SQL Server代理(3/12):代理警报和操作员
查看>>
Linux备份ifcfg-eth0文件导致的网络故障问题
查看>>
2018年尾总结——稳中成长
查看>>
通过jsp请求Servlet来操作HBASE
查看>>
Shell编程基础
查看>>
Shell之Sed常用用法
查看>>
Centos下基于Hadoop安装Spark(分布式)
查看>>
mysql开启binlog
查看>>
设置Eclipse编码方式
查看>>
分布式系统唯一ID生成方案汇总【转】
查看>>
并查集hdu1232
查看>>
Mysql 监视工具
查看>>
Linux Namespace系列(09):利用Namespace创建一个简单可用的容器
查看>>