首页服务器Web服务器 详解consul的安装和配置

详解consul的安装和配置

Consul 简化了分布式环境中的服务的注册和发现流程,通过 HTTP 或者 DNS 接口发现。支持外部 SaaS 提供者等。 consul提供的一些关键特性: service discovery:consul通过DNS或…

Consul 简化了分布式环境中的服务的注册和发现流程,通过 HTTP 或者 DNS 接口发现。支持外部 SaaS 提供者等。

consul提供的一些关键特性:

service discovery:consul通过DNS或者HTTP接口使服务注册和服务发现变的很容易,一些外部服务,例如saas提供的也可以一样注册。

health checking:健康检测使consul可以快速的告警在集群中的操作。和服务发现的集成,可以防止服务转发到故障的服务上面。

key/value storage:一个用来存储动态配置的系统。提供简单的HTTP接口,可以在任何地方操作。

multi-datacenter:无需复杂的配置,即可支持任意数量的区域(数据中心)。

官方网站:https://www.consul.io/

系统环境:CentOS release 6.5 (Final) x64

consul最新版的下载地址

https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip

下载解压,里面只有一个consul可执行文件,执行

[root@localhost consul-0.6.4]# consul usage: consul [--version] [--help]  []  Available commands are:   agent     Runs a Consul agent   configtest   Validate config file   event     Fire a new event   exec      Executes a command on Consul nodes   force-leave  Forces a member of the cluster to enter the "left" state   info      Provides debugging information for operators   join      Tell Consul agent to join cluster   keygen     Generates a new encryption key   keyring    Manages gossip layer encryption keys   leave     Gracefully leaves the Consul cluster and shuts down   lock      Execute a command holding a lock   maint     Controls node or service maintenance mode   members    Lists the members of a Consul cluster   monitor    Stream logs from a Consul agent   reload     Triggers the agent to reload configuration files   rtt      Estimates network round trip time between nodes   version    Prints the Consul version   watch     Watch for changes in Consul 
本文来自网络,不代表1号站长-站长学院|资讯交流平台立场。转载请注明出处: https://www.1cn.cc/fwq/web/3923.html
上一篇Docker安装MySQL8的方法步骤
下一篇 Ubuntu如何轻松编译openJDK详解
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部