# 2 nodes with the same cluster but in configured in different machines

**URL:** <https://discuss.elastic.co/t/2-nodes-with-the-same-cluster-but-in-configured-in-different-machines/42004>\
**Category:** Elasticsearch\
**Created:** [February 17, 2016, 10:29am UTC](https://discuss.elastic.co/t/2-nodes-with-the-same-cluster-but-in-configured-in-different-machines/42004 "2016-02-17T10:29:09Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![arianayay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@arianayay](https://discuss.elastic.co/u/arianayay)\
**Post date:** [February 18, 2016, 3:12am UTC](https://discuss.elastic.co/t/2-nodes-with-the-same-cluster-but-in-configured-in-different-machines/42004/8 "2016-02-18T03:12:07Z")

</div>

Hi Warkolm,

For the first node is in machine 1:  
[cluster.name](http://cluster.name): sql  
[node.name](http://node.name): engineering  
node.master: true  
node.data: true  
**network.host: 127.0.0.0**  
transport.tcp.port: 9300-9400  
http.port: 9200  
discovery.zen.ping.multicast.enabled: false  
**discovery.zen.ping.unicast.hosts: [?]**  
index.number\_of\_shards: 2  
index.number\_of\_replicas: 1  
**network.bind\_host: 127.0.0.0**  
**network.publish\_host: 127.0.0.0**

Second node is in second machine:  
[cluster.name](http://cluster.name): sql  
[node.name](http://node.name): team  
node.master: false  
node.data: true  
**network.host: 127.0.0.0**  
http.port: 9200  
transport.tcp.port: 9300-9400  
discovery.zen.ping.multicast.enabled: false  
**discovery.zen.ping.unicast.hosts: [?]**  
index.number\_of\_shards: 2  
index.number\_of\_replicas: 1  
**network.bind\_host: 127.0.0.0**  
**network.publish\_host: 127.0.0.0**

Are the changes correct for my nodes? what should I place for the discovery.zen.ping.unicast.host?

---

_[View the full topic](https://discuss.elastic.co/t/2-nodes-with-the-same-cluster-but-in-configured-in-different-machines/42004)._
