该文档主要是elasticsearch7.x版本的安装及集群配置,配合head,ik插件的安装。【备注,配置参数更新如下:
cluster.name: es-7
node.name: t-1
network.host: 10.96.141.45
http.port: 9200
transport.tcp.port: 9301
node.master: true
node.data: true
bootstrap.memory_lock: true
discovery.seed_hosts: ["10.xx.xx.104:9300","10.xx.xx.45:9300","10.xx.xx.45:9301"]
discovery.zen.minimum_master_nodes: 2
bootstrap.system_call_filter: false
cluster.initial_master_nodes: ["10.xx.xx104","10.xx.xx.45"]
#外网访问
http.cors.enabled: true
http.cors.allow-origin: "*"
】
1