# Problem occured with same name of cluster in different machines

**URL:** <https://discuss.elastic.co/t/problem-occured-with-same-name-of-cluster-in-different-machines/1500>\
**Category:** Elasticsearch\
**Created:** [May 28, 2015, 5:13pm UTC](https://discuss.elastic.co/t/problem-occured-with-same-name-of-cluster-in-different-machines/1500 "2015-05-28T17:13:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehmet\_Ozer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehmet_ozer/32/81567_2.png) [@Mehmet\_Ozer](https://discuss.elastic.co/u/Mehmet_Ozer)\
**Post date:** [May 28, 2015, 5:13pm UTC](https://discuss.elastic.co/t/problem-occured-with-same-name-of-cluster-in-different-machines/1500/1 "2015-05-28T17:13:48Z")

</div>

Hello,

I have a weird issue today and it gives me lots of problem. I had two cluster different but unfortunatelly I gave them the same names by mistake;

lets say;  
test\_cluster

both cluster have had totaly different machines ( it was working well its been one month)  
today I added a machine in one of the cluster and I saw that all the machines were in the same cluster physically (it was not the case before adding the machine)  
I have chacked the unicast list; there were no machine in common  
So someone can explain me how I had this problem and how I can seperate them ?

Thank you

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 29, 2015, 2:39am UTC](https://discuss.elastic.co/t/problem-occured-with-same-name-of-cluster-in-different-machines/1500/2 "2015-05-29T02:39:22Z")

</div>

This is why - [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#multicast](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#multicast)

Your best option is to use [https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-allocation.html#shard-allocation-filtering](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-allocation.html#shard-allocation-filtering) and then move indices to their correct node, then shutdown one cluster and change the cluster name.

---

<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:11am UTC](https://discuss.elastic.co/t/problem-occured-with-same-name-of-cluster-in-different-machines/1500/3 "2017-07-06T00:11:03Z")

</div>


