Skip to main content
您好,欢迎光临IDC汇,需要什么服务器直接咨询客服,方便快捷。客服QQ 点击这里给我发消息
首页 > 服务器技术 »正文

Elasticsearch 5.3 集群搭建

服务器技术 webadmin 2020-06-29 08:47:35 查看评论 加入收藏

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

广告06

微信