zoukankan      html  css  js  c++  java
  • 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 插件:

  • 相关阅读:
    ios MD5大小写加密
    清理xcode缓存
    iOS 动画(基于Lottie封装)
    wkWebView 的一些问题
    ios 画板的使用
    redis安装和使用
    memcached 配置与安装
    mysql主从同步配置
    ansible playbook使用
    ubuntu18创建rc.local
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13350450.html
Copyright © 2011-2022 走看看