标签:node 配置 zen 集群 master 10.10 nodes ES discovery
1.节点服务器配置
Master: 10.10.10.46 Slave1:10.10.10.53 Slave2:10.10.10.49
2.Master节点配置
Cluster:集群名称修改 # ---------------------------------- Cluster ----------------------------------- # # Use a descriptive name for your cluster: # cluster.name: YZYX-xianwei Node:修改节点名 # ------------------------------------ Node ------------------------------------ # # Use a descriptive name for the node: # node.name: master-46 # # Add custom attributes to the node: # #node.attr.rack: r1 Paths:修改数据及日志目录 # ----------------------------------- Paths ------------------------------------ # # Path to directory where to store the data (separate multiple locations by comma): # path.data: /usr/local/elk/data # # Path to log files: # path.logs: /usr/local/elk/log Discovery:定义ES角色(Master/slave); 配置单播hosts # --------------------------------- Discovery ---------------------------------- # # Pass an initial list of hosts to perform discovery when new node is started: # The default list of hosts is ["127.0.0.1", "[::1]"] node.master: true node.data: true #discovery.zen.ping.unicast.hosts: ["10.10.10.46", "10.10.10.53","10.10.10.49"] # # Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1): # #discovery.zen.minimum_master_nodes: # # For more information, consult the zen discovery module documentation. discovery.zen.ping_timeout: 10s discovery.zen.minimum_master_nodes: 3
标签:node,配置,zen,集群,master,10.10,nodes,ES,discovery 来源: https://blog.51cto.com/11726705/2417842
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。