# Installed and configured ElasticSearch (Multi Node) Cluster on CentOS

**URL:** <https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410>\
**Category:** Elasticsearch\
**Created:** [October 30, 2015, 7:21pm UTC](https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410 "2015-10-30T19:21:41Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 4, 2015, 7:32pm UTC](https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410/22 "2015-11-04T19:32:11Z")

</div>

> Is that possible to see both data in single search of kibana dashboard.

Again: Yes, that's how ES and Kibana work out of the box. If the cluster is in good shape this will just work. Which node stores which logs does not matter.

Make sure your index pattern in Kibana covers the indexes in both nodes. For example, if your index name pattern is "logstash-\*" you'll be fine if all of your indexes match that pattern but if renamed your indexes at some point so that e.g. the old indexes are called logs-2015.11.04 or whatever things won't work until you adjust your index template to cover all indexes.

But I still don't understand your problem, or indeed if you even have a problem.

---

<div class="post-metadata">

**Author:** ![ananthanaidu](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@ananthanaidu](https://discuss.elastic.co/u/ananthanaidu)\
**Post date:** [November 9, 2015, 6:07pm UTC](https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410/23 "2015-11-09T18:07:16Z")

</div>

Is there a possibility to stop replication between two nodes in same cluster without removing them from cluster.?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 9, 2015, 6:51pm UTC](https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410/24 "2015-11-09T18:51:22Z")

</div>

The answer depends on why you're asking that question. What problem are you trying to solve, and what, _exactly_, do you mean with "replication"? I don't think that's a well-defined term in Elasticsearch.

---

<div class="post-metadata">

**Author:** ![ananthanaidu](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@ananthanaidu](https://discuss.elastic.co/u/ananthanaidu)\
**Post date:** [November 9, 2015, 11:31pm UTC](https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410/25 "2015-11-09T23:31:42Z")

</div>

I mean to say "stop replication" that has been commented below line in Node2 in elasticsearch.yml file,

cluster.name: ELKTEST  
node.name: "node2"  
network.host: 192.168.44.130

```
#transport.tcp.port: 9300
#discovery.zen.ping.unicast.hosts: ["192.168.44.130", "192.168.44.129:9300"]

```

If i do this above changes both the Node1 and Node2 communication has been stopped.

Now i see the cluster health shows yellow it has only one **Node1**

{  
"cluster\_name" : "ELKTEST",  
"status" : "yellow",  
"timed\_out" : false,  
"number\_of\_nodes" : 1,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 41,  
"active\_shards" : 41,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 41  
}

So this my scenario of my current setup with both nodes.

Node1 has New logs **(Replica/Communication Stopped between Nodes and imported New logs in Node1)**  
Node2 has Old logs

Is that possible to see both data in single search of kibana dashboard using the above configuration.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 10, 2015, 6:45am UTC](https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410/26 "2015-11-10T06:45:16Z")

</div>

Sorry, this discussion is just going in circles. As I've said, the behavior you want is the default behavior that one gets with Elasticsearch and Kibana, so you've either managed to screw things up (but nothing points in that direction) or you're somehow not understanding what your actual situation is and therefore thinking you have a problem when there is none. Over and out.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:39pm UTC](https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410/27 "2017-07-05T23:39:33Z")

</div>



[Previous page](https://discuss.elastic.co/t/installed-and-configured-elasticsearch-multi-node-cluster-on-centos/33410.md?page=1)
