Linux 环境zookeeper HA配置注意事项
来源:互联网 发布:淘宝steam充值卡知乎 编辑:程序博客网 时间:2024/05/20 10:10
作者根据实际经验总结的以下几点:
背景环境:
Linux操作系统 red hat 5.3(一台独立的物理机上没有配置成功)
zoo.cfg
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=/usr/zookeeper-3.4.6/conf/data
# the port at which the clients will connect
clientPort=2181
server.1=10.201.7.158:2888:3888
server.2=10.201.7.157:2888:3888
server.3=10.201.7.139:2888:3888
# the maximum number of client connections.
# increase this if you need to handle more clients
#maxClientCnxns=60
#
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
autopurge.snapRetainCount=3
# Purge task interval in hours
# Set to "0" to disable auto purge feature
autopurge.purgeInterval=1
注意事项:
1. 单点实例3个节点以上
2. jdk 1.7以上3. Linux关闭SELinux ,防火墙开启相应的端口(2888,3888)
- Linux 环境zookeeper HA配置注意事项
- Linux 环境zookeeper HA配置注意事项
- Zookeeper-HA-配置文件(配置粘贴)
- Linux下环境安装配置Rose HA全攻略(图)
- Hadoop+Zookeeper+NameNode(HA)+ResourceManager(HA)自动切换 配置
- 基于Zookeeper的Spark HA配置说明
- 配置HA双机之pacemaker和zookeeper
- 【Zookeeper】Linux Zookeeper配置
- 【Zookeeper】Linux Zookeeper配置
- hadoop HA集群环境配置
- hadoop HA环境安装配置
- kafka+zookeeper环境配置(Mac 或者 linux环境)
- kafka+zookeeper环境配置(Mac 或者 linux环境)
- kafka+zookeeper环境配置(Mac 或者 linux环境)
- kafka+zookeeper环境配置(Mac 或者 linux环境)
- kafka+zookeeper环境配置(linux环境单机版)
- kafka+zookeeper环境配置(linux环境单机版)
- kafka+zookeeper环境配置(Mac 或者 linux环境)
- 1.hadoop学习之org.apache.hadoop.conf
- 自己动手制作一台四位计算机
- 矩阵乘法的计算和来源
- CentOS开机启动时间修改及保存
- leetcode - Reverse Linked List II
- Linux 环境zookeeper HA配置注意事项
- UVA 10054.The Necklace(递归求欧拉回路)
- WEB开发三层架构概述
- ubuntu下软件安装卸载与查看
- 【php中的curl】php中curl的使用
- opencv for android 教程(环境搭建篇)
- 【php中的curl】使用curl完成POST数据给飞信接口
- codeforce Bayan 2015 Contest Warm Up D CGCDSSQ
- Number One-find 命令