Table of Contents
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
cluster.name: zephyr node.name: "Node1" node.master: true node.data: true transport.tcp.port: 9300 http.port: 9200 script.inline: true script.stored: true indices.query.bool.max_clause_count: 40969012 |
ZEE and Elastic Search in Different Server
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
cluster.name: zephyr node.name: "Node1" node.master: true node.data: true script.inline: true script.stored: true network.bind_host: 192.168.45.21 network.publish_host: 192.168.45.21 network.host: 192.168.45.21 transport.tcp.port: 9300 http.port: 9200 discovery.zen.ping.unicast.hosts: ["192.168.45.21:9300"] indices.query.bool.max_clause_count: 40969012 |
Sample elasticsearch.yml file attached : Steps to install Elastic Search
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#ESNode 1 (192.168.11.144) cluster.name: zephyr node.name: "ESNode1" node.master: true node.data: true network.host: 192.168.11.144 http.port: 9200 transport.tcp.port: 9300 network.bind_host: 192.168.11.144 network.publish_host : 192.168.11.144 discovery.zen.ping.unicast.hosts: ["192.168.11.144:9300","192.168.11.145:9300","192.168.11.146:9300"] discovery.zen.minimum_master_nodes: 2 script.inline: true script.stored: true indices.query.bool.max_clause_count: 40969012 ------------------------------------------------------------------------------------------------------------------------------------ #ESNode 2 (192.168.11.145) cluster.name: zephyr node.name: "ESNode2" node.master: true node.data: true network.host: 192.168.11.145 http.port: 9200 transport.tcp.port: 9300 network.bind_host: 192.168.11.145 network.publish_host : 192.168.11.145 discovery.zen.ping.unicast.hosts: ["192.168.11.144:9300","192.168.11.145:9300","192.168.11.146:9300"] discovery.zen.minimum_master_nodes: 2 script.inline: true script.stored: true indices.query.bool.max_clause_count: 40969012 --------------------------------------------------------------------------------------------------------------------------------------- #ESNode 3 (192.168.11.146) cluster.name: zephyr node.name: "ESNode3" node.master: true node.data: true network.host: 192.168.11.146 http.port: 9200 transport.tcp.port: 9300 network.bind_host: 192.168.11.146 network.publish_host : 192.168.11.146 discovery.zen.ping.unicast.hosts: ["192.168.11.144:9300","192.168.11.145:9300","192.168.11.146:9300"] discovery.zen.minimum_master_nodes: 2 script.inline: true script.stored: true indices.query.bool.max_clause_count: 40969012 |
NOTE :
discovery.zen.ping.unicast.hosts should contain all the elasticsearch system's host ip and port which are in cluster.
Sample elasticsearch.yml file attached :
ESNode 1 | |
EsNode 2 | |
EsNode 3 |
If elastic Search is in Cluster then in ZE we have to change the "number_of_shards" and "number_of_replicas"
Navigate to the ZE installation Dir
C:\Program Files\Zephyr\tomcat\webapps\flex\WEB-INF\template\zephyr
In this file _settings.json
change the number of shards and number of replicas
...