Elasticsearch 5.3 集群搭建
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Elasticsearch 5.3 集群搭建相关的知识,希望对你有一定的参考价值。
es-node1
cluster.name: es-cluster
node.name: es-node1
network.host: 10.10.45.200
http.port: 8201
transport.host: 10.10.45.200
transport.tcp.port: 8301
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
discovery.zen.ping.unicast.hosts: ["10.10.45.200:8301", "10.10.45.200:8302", "10.10.45.200:8303"]
discovery.zen.minimum_master_nodes: 2
es-node2
cluster.name: es-cluster
node.name: es-node2
network.host: 10.10.45.200
http.port: 8202
transport.host: 10.10.45.200
transport.tcp.port: 8302
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
discovery.zen.ping.unicast.hosts: ["10.10.45.200:8301", "10.10.45.200:8302", "10.10.45.200:8303"]
discovery.zen.minimum_master_nodes: 2
es-node3
cluster.name: es-cluster
node.name: es-node3
network.host: 10.10.45.200
http.port: 8203
transport.host: 10.10.45.200
transport.tcp.port: 8303
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
discovery.zen.ping.unicast.hosts: ["10.10.45.200:8301", "10.10.45.200:8302", "10.10.45.200:8303"]
discovery.zen.minimum_master_nodes: 2
集群状态查询:http://10.10.45.200:8201/_cluster/health?pretty
以上是关于Elasticsearch 5.3 集群搭建的主要内容,如果未能解决你的问题,请参考以下文章