• elk 添加节点


    elk 添加节点:
    
    
    cluster.name: es_cluster
    node.name: node03
    path.data: /elk/elasticsearch/data
    path.logs: /elk/elasticsearch/logs
    network.host: 192.168.32.82
    network.port: 9200
    
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4/config# mkdir -p /elk/elasticsearch/data
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4/config# mkdir -p  /elk/elasticsearch/logs
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4/config# groupadd elk
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4/config# useradd -m -g elk elk
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4/config# passwd elk
    
    
    
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4/config# chown -R elk:elk /usr/local/elasticsearch-2.3.4
    zjtest7-haproxy:/usr/local/elasticsearch-2.3.4/config# chown -R elk:elk /elk
    
    
    3 4 . 设置新节点被启动时能够发现的主节点列表(主要用于不同网段机器连接): 
    
    
    discovery.zen.ping.unicast.hosts: ["host1", "host2:port", "host3[portX-portY]"]
    
    
    # action.destructive_requires_name: true
    cluster.name: es_cluster
    node.name: node03
    path.data: /elk/elasticsearch/data
    path.logs: /elk/elasticsearch/logs
    network.host: 192.168.32.82
    network.port: 9200
    discovery.zen.ping.unicast.hosts: ["192.168.32.80", "192.168.32.81","192.168.32.82"]
    
    
    
    需要加上主节点,所有节点通过主节点通信的
    
    
    
    安装head 插件:

  • 相关阅读:
    XP系统开机慢和减少开机滚动条的解决方法
    细说A标签的样式
    【部分转载】安装MySQL,visual studio tools for office 2010 runtime通不过
    将GB2312转码成UTF8
    ubuntu/vmware 拷贝后网路不通
    bash manual
    跟我一起写 Makefile
    我的vi 启动配置文件
    ubuntu安装samba
    upnp
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199452.html
Copyright © 2020-2023  润新知