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