# Cant make cluster work

**URL:** <https://discuss.elastic.co/t/cant-make-cluster-work/191655>\
**Category:** Elasticsearch\
**Tags:** ccs-cross-cluster-search\
**Created:** [July 22, 2019, 2:05pm UTC](https://discuss.elastic.co/t/cant-make-cluster-work/191655 "2019-07-22T14:05:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamirh2019](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@tamirh2019](https://discuss.elastic.co/u/tamirh2019)\
**Post date:** [July 22, 2019, 2:05pm UTC](https://discuss.elastic.co/t/cant-make-cluster-work/191655/1 "2019-07-22T14:05:56Z")

</div>

hi,  
i cant make the clustering work, ive staticly defined:  
_cluster.name: elasti-flow_  
_node.name: node-1_ on one of the nodes,  
and _node.name: node-2_ on the other.  
_discovery.seed\_hosts: ["10.60.35.252", "10.60.35.253"]_ on both of them  
_cluster.initial\_master\_nodes: ["node-1", "node-2"]_ on both of them  
these are the logs on node-1:

> [2019-07-22T16:57:08,039][WARN][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet: have discovered [{node-2}{3--epaJ6QcaO0wM6V1SBeQ}{PDnjc5kARJOkQL7MVEPFoQ}{10.60.35.253}{10.60.35.253:9300}{ml.machine\_memory=67334033408, ml.max\_open\_jobs=20, xpack.installed=true}]; discovery will continue using [10.60.35.253:9300] from hosts providers and [{node-1}{u7vVY0q2TnCTYMxRtcqI5w}{mc2LrDRCQaqH-vmSPa9Apg}{10.60.35.252}{10.60.35.252:9300}{ml.machine\_memory=67334029312, xpack.installed=true, ml.max\_open\_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

and the log on node-2:

> [2019-07-22T17:04:07,306][WARN][o.e.c.c.ClusterFormationFailureHelper] [node-2] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [node-1, node-2] to bootstrap a cluster: have discovered ; discovery will continue using [10.60.35.252:9300] from hosts providers and [{node-2}{3--epaJ6QcaO0wM6V1SBeQ}{PDnjc5kARJOkQL7MVEPFoQ}{10.60.35.253}{10.60.35.253:9300}{ml.machine\_memory=67334033408, xpack.installed=true, ml.max\_open\_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

i have connectivity between them, i can curl port 9200 to each other.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [July 22, 2019, 3:00pm UTC](https://discuss.elastic.co/t/cant-make-cluster-work/191655/2 "2019-07-22T15:00:35Z")

</div>

`node-1` is not master-eligible (i.e. has `node.master: false`) but it is listed in `cluster.initial_master_nodes`. Either make it master-eligible or remove it from `cluster.initial_master_nodes`.

---

<div class="post-metadata">

**Author:** ![tamirh2019](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@tamirh2019](https://discuss.elastic.co/u/tamirh2019)\
**Post date:** [July 22, 2019, 3:14pm UTC](https://discuss.elastic.co/t/cant-make-cluster-work/191655/3 "2019-07-22T15:14:06Z")

</div>

now its working 🙂  
many thanks

---

<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:** [August 19, 2019, 3:14pm UTC](https://discuss.elastic.co/t/cant-make-cluster-work/191655/4 "2019-08-19T15:14:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
