摘要:
一、Zookeeper简介与应用场景 Zookeeper 是一个开源的、为分布式应用提供协调服务的 Apache 项目.提供的服务包括:统一命名服务、统一配置管理、统一集群管理、服务器节点动态上下线、软负载均衡等. Zookeeper 使用方式主要有单机、伪集群、集群三种部署方式. 二、官网下载 L 阅读全文
摘要:
1、关于 /etc/hosts、主机名、IP 的关系 Hosts - The static table lookup for host name (主机名查询静态表) hosts 文件是 Linux 系统中一个负责 IP 地址与域名快速解析的文件,以 ASCII 格式保存在 /etc 目录下,文件名 阅读全文
摘要:
一、搭建Zookeeper集群 Zookeeper搭建方案 服务器编号 服务器IP地址 LF通信端口 LF选举端口 客户端端口 1 192.168.229.131 2888 3888 2180 2 192.168.229.134 2888 3888 2180 3 192.168.229.133 28 阅读全文
摘要:
一、查看主机名称,如下可以看出主机名称是 CentOS001 // 使用命令查看当前主机名称 cat /etc/sysconfig/network 二、配置主机和IP的映射关系 // 编辑 /etc/hosts 文件 vim /etc/hosts 阅读全文
摘要:
一、下载ZooInspector https://issues.apache.org/jira/secure/attachment/12436620/ZooInspector.zip 二、解压 我这里解压的目录是: E:\JavaDevelop\Zookeeper\build 三、使用ZooInsp 阅读全文
摘要:
1、机器列表及相关设计 服务器编号 服务器 IP 地址 LF 通信端口 LF 选举端口 客户端端口 1 192.168.229.131 2010 6008 2180 2 192.168.229.134 2010 6008 2180 3 192.168.229.133 2010 6008 2180 由 阅读全文