# Docker configuration to allow multicast across machines

**URL:** https://discuss.elastic.co/t/docker-configuration-to-allow-multicast-across-machines/20784
**Category:** Elasticsearch
**Created:** [November 17, 2014, 12:16pm UTC](https://discuss.elastic.co/t/docker-configuration-to-allow-multicast-across-machines/20784 "2014-11-17T12:16:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Robin\_Clarke](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@Robin\_Clarke](https://discuss.elastic.co/u/Robin_Clarke)
#### Post date: [November 17, 2014, 12:16pm UTC](https://discuss.elastic.co/t/docker-configuration-to-allow-multicast-across-machines/20784/1 "2014-11-17T12:16:28Z")

</div>

We are putting together a new cluster of 10 machines. Each machine has  
132GB memory, so we want to put two Elasticsearch nodes (each with 30GB) on  
each machine, each node in its own docker container - that should result in  
20 nodes on 10 machines.  
We have got docker to allow the two nodes on each machine to multicast  
discover each other, but have not been able to get the nodes to communicate  
with ES nodes on other machines.  
I know it would be rather easy to do using Unicast, but I would rather keep  
our cluster more flexible to grow/shrink in the future, so would prefer not  
to have another configuration to maintain...

Does anyone have an example recipe for Docker and Elasticsearch in this or  
similar configuration using Multicast?

Cheers!  
-Robin-

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e9c8c7d7-1785-46a5-9cba-57cb4c7480fa%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e9c8c7d7-1785-46a5-9cba-57cb4c7480fa%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Michael\_Delaney](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_delaney/32/1095_2.png) [@Michael\_Delaney](https://discuss.elastic.co/u/Michael_Delaney)
#### Post date: [November 18, 2014, 10:02am UTC](https://discuss.elastic.co/t/docker-configuration-to-allow-multicast-across-machines/20784/2 "2014-11-18T10:02:51Z")

</div>

you may not be able to do this, but using CoreOS & etcd i've setup a  
cluster using multicast.  
roughly following this:  
[http://mattupstate.com/coreos/devops/2014/06/26/running-an-elasticsearch-cluster-on-coreos.html](http://mattupstate.com/coreos/devops/2014/06/26/running-an-elasticsearch-cluster-on-coreos.html)

On Monday, 17 November 2014 12:16:28 UTC, Robin Clarke wrote:

> We are putting together a new cluster of 10 machines. Each machine has  
> 132GB memory, so we want to put two Elasticsearch nodes (each with 30GB) on  
> each machine, each node in its own docker container - that should result in  
> 20 nodes on 10 machines.  
> We have got docker to allow the two nodes on each machine to multicast  
> discover each other, but have not been able to get the nodes to communicate  
> with ES nodes on other machines.  
> I know it would be rather easy to do using Unicast, but I would rather  
> keep our cluster more flexible to grow/shrink in the future, so would  
> prefer not to have another configuration to maintain...
> 
> Does anyone have an example recipe for Docker and Elasticsearch in this or  
> similar configuration using Multicast?
> 
> Cheers!  
> -Robin-

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8f1752c9-98f8-4c58-b057-46c5f36b0249%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8f1752c9-98f8-4c58-b057-46c5f36b0249%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:49am UTC](https://discuss.elastic.co/t/docker-configuration-to-allow-multicast-across-machines/20784/3 "2017-07-06T00:49:17Z")

</div>


