zoukankan      html  css  js  c++  java
  • es7.4.0集群部署

    其实主要是配置的变化,需要指定下master节点

    cluster.name: prod-es
    
    node.name: node1
    node.master: true
    node.data: true
    path.data: /srv/data/elk/elasticsearch
    path.logs: /srv/logs/elk/elasticsearch
    
    network.host: 10.100.3.21
    http.port: 9200
    transport.tcp.port: 9201
    cluster.initial_master_nodes: ["node1","node2","node3"]
    discovery.zen.ping.unicast.hosts: ["node1","node2","node3"]
    discovery.zen.minimum_master_nodes: 2
    gateway.recover_after_nodes: 3
    gateway.expected_nodes: 3
    gateway.recover_after_time: 5m
    http.cors.enabled: true
    http.cors.allow-origin: "*"
    xpack.security.enabled: false
    
    cluster.name: elasticsearch
    node.name: es-node1
    network.bind_host: 0.0.0.0
    network.publish_host: 10.88.132.69
    node.master: true
    http.port: 9200
    transport.tcp.port: 9300
    http.cors.enabled: true
    http.cors.allow-origin: "*"
    node.data: true
    cluster.initial_master_nodes: ["10.88.132.69:9300"]
    discovery.zen.ping.unicast.hosts: ["10.88.132.69:9300","10.88.132.70:9300","10.88.132.74:9300"]
    discovery.zen.minimum_master_nodes: 1
    indices.memory.index_buffer_size: 5%
    indices.memory.min_index_buffer_size: 24mb
    indices.memory.max_index_buffer_size: 100mb
    
  • 相关阅读:
    667. Beautiful Arrangement II
    695. Max Area of Island
    485. Max Consecutive Ones
    coedforces #481Div(3)(ABCDEFG)
    躲藏
    车辆问题(贪心)
    最小化代价(优先队列)
    PUBG
    hdu 2647 Reward(拓扑排序+优先队列)
    HDU 3342 Legal or Not(判断环)
  • 原文地址:https://www.cnblogs.com/DevOpsTechLab/p/12084037.html
Copyright © 2011-2022 走看看