Comments on: How to Install ElasticSearch (Multi Node) Cluster on CentOS/RHEL, Ubuntu & Debian https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/ How to guide for System Administrator's and Developers Fri, 26 Apr 2019 15:16:51 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Akshay Hegde https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/#comment-40617 Fri, 26 Apr 2019 15:16:51 +0000 https://tecadmin.net/?p=6819#comment-40617 Hi Rahul sir,
i had a doubt about the first step ,assigning the ip addresses to the nodes,
should we add the following ip to hosts file in etc/hosts directory??
Can you please help me on this.
Thank you in advance

]]>
By: techmechanik https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/#comment-2985 Thu, 04 Aug 2016 05:09:45 +0000 https://tecadmin.net/?p=6819#comment-2985 Great write up! Thank you very much! Going build this; I shall provide an update once completed.
Do you also have a logtash and kibana write up to above article?

]]>
By: yakup https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/#comment-2810 Sun, 26 Jun 2016 23:08:44 +0000 https://tecadmin.net/?p=6819#comment-2810 Hi ı wonder the performance of 3 or more nodes ?

]]>
By: Atul https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/#comment-980 Thu, 02 Jul 2015 06:22:19 +0000 https://tecadmin.net/?p=6819#comment-980 Hi Rahul,

One QQ .. How can we setup ES cluster to get access to it with a single URL instead of node specific URL?
Note – If current master fails this URL should be able to automatically re-point to newly elected master.

Regards,
Atul

]]>
By: Sunil https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/#comment-979 Mon, 29 Jun 2015 08:27:50 +0000 https://tecadmin.net/?p=6819#comment-979 Hi Rahul,
I have started cluster with one master node and 2 data nodes.
However when I do curl http://localhost:9200/_nodes/process?pretty, It shows only a master node and 1 data node. It doesn’t show second data node as below. Why so?

{
“cluster_name” : “presit-elasticsearch”,
“nodes” : {
“bC83hVbgRaiHuPrOn133dA” : {
“name” : “presit-data-node-1”,
“transport_address” : “inet[/xx.xxx.xx.xx:9300]”,
“host” : “hostname1”,
“ip” : “xx.xxx.xx.xx”,
“version” : “1.5.2”,
“build” : “62ff986”,
“http_address” : “inet[/xx.xxx.xx.xx:9200]”,
“attributes” : {
“master” : “false”
},
“process” : {
“refresh_interval_in_millis” : 1000,
“id” : 10278,
“max_file_descriptors” : 65535,
“mlockall” : false
}
},
“zjPvIyRpSYGUrRg1-ZX5nw” : {
“name” : “presit-master-Node”,
“transport_address” : “inet[/xx.xxx.xx.xx:9300]”,
“host” : “hostname1”,
“ip” : “xx.xxx.xx.xx”,
“version” : “1.5.2”,
“build” : “62ff986”,
“http_address” : “inet[/xx.xxx.xx.xx:9200]”,
“attributes” : {
“data” : “false”,
“master” : “true”
},
“process” : {
“refresh_interval_in_millis” : 1000,
“id” : 22738,
“max_file_descriptors” : 65535,
“mlockall” : false
}
}
}

]]>
By: Sunil Chaudhari https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/#comment-978 Fri, 26 Jun 2015 10:19:56 +0000 https://tecadmin.net/?p=6819#comment-978 Hi Rahul,
Thanks for quick reply.
I have single host ready for environment set up.
1) Can I create 2 data nodes and 1 master node n single host?
2) How much ES instaces I need to run? If more than 1 instance is required
then how can I run those?
I use command [user@xxx bin] $ sudo service elasticsearch start
3) Do I need to create more elasticsearch.yml example elasticsearch.0.yml, elasticsearch.1.yml and so on?

Also please share steps to secure ES behind nginx.

thanks,
Sunil

]]>
By: Rahul https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/#comment-977 Fri, 26 Jun 2015 09:36:14 +0000 https://tecadmin.net/?p=6819#comment-977 Hi Sunil,

ES automatically works on cluster environments. You just need to keep cluster.name same on all nodes you want to replicate. When ES started, it automatically searches for all nodes with same cluster.name on local network and start replication automatically.

]]>
By: Sunil https://tecadmin.net/install-elasticsearch-multi-node-cluster-on-linux/#comment-976 Fri, 26 Jun 2015 08:36:45 +0000 https://tecadmin.net/?p=6819#comment-976 Hi Rahul,
I have one doubt in this tutorial.
Where is the relation in between all these three nodes?
.yml files are different. ES runs on different host:port and how come data inserted on one host be available to others? Please specify the setting which ensures the relation/connection between these 3 nodes. I think that is missing.

br,
Sunil

]]>