# Setup Elasticsearch Cluster over Oracle Virtualbox

**URL:** <https://discuss.elastic.co/t/setup-elasticsearch-cluster-over-oracle-virtualbox/13071>\
**Category:** Elasticsearch\
**Created:** [August 5, 2013, 11:49am UTC](https://discuss.elastic.co/t/setup-elasticsearch-cluster-over-oracle-virtualbox/13071 "2013-08-05T11:49:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjunaiddar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mjunaiddar/32/96338_2.png) [@mjunaiddar](https://discuss.elastic.co/u/mjunaiddar)\
**Post date:** [August 5, 2013, 11:49am UTC](https://discuss.elastic.co/t/setup-elasticsearch-cluster-over-oracle-virtualbox/13071/1 "2013-08-05T11:49:22Z")

</div>

Hello,

I am learning ES fro a while now, the standalone version is working without any issue but now I want to built a Cluster over Virtualbox and am failing again and again. This is what I have done up to now:

Oracle Virtual box on Windows 7 Host  
Guest =\> CentOS 6.2 minimal, with ElasticSearch installed, SSH installed and different VMs are able to ping  
on guest 2 network interfaces are configured: NAT and Host Only.

I want to use the 2nd interface (host only) for the cluster, it has DHCP enabled and my machines have IP addresses 192.168.56.102, 103, 104 and so on.

If I run the ES with default settings it works on eth0 i.e. 10.0.0.15 for all default by VBox. So i changed the "network.publish\_host" to "_eth1:ipv4_" and getting the 2nd interface properly. But, the problem is that still all the VMs are working separately and not in a cluster.

[http://localhost:9200/\_nodes](http://localhost:9200/_nodes) gives me  
transport\_address : inet[/192.168.56.102:9300] and  
http\_address : inet[/192.168.56.102:9200]

transport\_address : inet[/192.168.56.103:9300] and  
http\_address : inet[/192.168.56.103:9200]

transport\_address : inet[/192.168.56.104:9300] and  
http\_address : inet[/192.168.56.104:9200]

for each machine

[http://localhost:9200/\_cluster/health](http://localhost:9200/_cluster/health) shows

status: yellow  
no of nodes : 1

All machines can ping each other and I have tested the file transfer via scp too all is working

What am i missing?

Regards  
Junaid

---

<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 6, 2017, 2:22am UTC](https://discuss.elastic.co/t/setup-elasticsearch-cluster-over-oracle-virtualbox/13071/2 "2017-07-06T02:22:56Z")

</div>


