Elasticsearch 5.3 叢集搭建

weixin_34117211發表於2017-11-23

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


     本文轉自1321385590 51CTO部落格,原文連結:http://blog.51cto.com/linux10000/1925992,如需轉載請自行聯絡原作者




相關文章