Support for configuration-for-3-node-cluster


(Nuwan Vithanage) #1

Hi,
I have want to configure 3 node elasticsearch Cuter . I want to know what would be the best configuration of elasticsearch.

Elastic01 172.24.32.209 ( Elasticsearch, Kibana, Logstash installed)
Elastic02 172.24.32.217 ( Elasticsearch, Kibana, Logstash installed)
Elastic 03 172.24.32.218 ( Elasticsearch, Kibana, Logstash installed)

Change settings on all Nodes like follows

cluster.name: Production
node.name: ${HOSTNAME}
path.data: /data/elkdata
path.logs: /data/elklogs
network.host: 0.0.0.0
discovery.zen.ping.unicast.hosts: ["172.24.32.209", "172.24.32.217", "172.24.32.218"]
discovery.zen.minimum_master_nodes: 3

systemctl restart elasticsearch on all 3 nodes after that elasticsearch always fails to start .

appreciate your support to resolve this issue


Configuration-for-3-node-cluster
(Mark Walkom) #2

Please show the logs with the failure.


(Nuwan Vithanage) #3

Hi Wakolm,

Actually My requirement is setup 3 node cluster with X-pack security . I obtained platinum license
too.

please let me know my /etc/elasticsearch/elasticsearch.yml configuration is correct or not ? If it's wrong how can I configure /etc/elasticsearch/elasticsearch.yml please provide me some sample .

Thank you


(Nuwan Vithanage) #4

es-master: CentOS 7.2 64bit, IP: 192.168.2.61
es-data: CentOS 7.2 64bit, IP: 192.168.2.62
es-client: CentOS 7.2 64bit, IP: 192.168.2.60

elasticsearch.yml file on Master node and modify the following lines:

cluster.name: newfrontierdata-cluster
node.name: es-master
node.master: true
node.data: false
network.host: ["es-master", "localhost"]
discovery.zen.ping.unicast.hosts: ["es-master", "es-data", "es-client"]

Edit elasticsearch.yml file on Data node and modify the following lines:
cluster.name: es-tuxfixer-cluster
node.name: es-data
node.master: false
node.data: true
network.host: ["es-data", "localhost"]
discovery.zen.ping.unicast.hosts: ["es-master", "es-data", "es-client"]

Edit elasticsearch.yml file on Client node and modify the following lines:

cluster.name: es-tuxfixer-cluster
node.name: es-client
node.master: false
node.data: false
network.host: ["es-client", "localhost"]
discovery.zen.ping.unicast.hosts: ["es-master", "es-data", "es-client"]


(Mark Walkom) #5

The best place to start would be https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html.

If you have problems then you can raise a support request with your engineers for assistance, they are available 24/7 for you at http://support.elastic.co/.


(Nuwan Vithanage) #6

Appreciate if you can let me know elasticsearch.yml configuration OK for configure 3 node cluster .I used official document to Installed X-pack .


(system) #7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.