# Joining instances to form cluster

**URL:** https://discuss.elastic.co/t/joining-instances-to-form-cluster/328860
**Category:** Elasticsearch
**Created:** [March 29, 2023, 8:15pm UTC](https://discuss.elastic.co/t/joining-instances-to-form-cluster/328860 "2023-03-29T20:15:08Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![DRW-ATCA](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@DRW-ATCA](https://discuss.elastic.co/u/DRW-ATCA)
#### Post date: [March 30, 2023, 6:23pm UTC](https://discuss.elastic.co/t/joining-instances-to-form-cluster/328860/6 "2023-03-30T18:23:46Z")

</div>

ref [ERROR: Failed to determine the health of the cluster - #11 by Christian\_Dahlqvist](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/328746/11)

Aligning some parameters in the yml files and deleting some files on the data1 node solved the issue of the nodes not creating a single cluster.

Misalignment of definitions in the yml files caused the nodes to form independent clusters.  
Deleting files specified in the data1 logs (below), aligning definitions and restarting solved the issue.

> "Note that the cluster UUID persists across restarts and can only be changed by deleting the contents of the node's data path [/var/lib/elasticsearch] which will also remove any data held by this node."

---

_[View the full topic](https://discuss.elastic.co/t/joining-instances-to-form-cluster/328860)._
