# Elastic Cluster restart with one master node

**URL:** https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278
**Category:** Elasticsearch
**Created:** [December 10, 2020, 1:20pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278 "2020-12-10T13:20:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![hiruni.insyncit.net](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@hiruni.insyncit.net](https://discuss.elastic.co/u/hiruni.insyncit.net)
#### Post date: [December 10, 2020, 1:20pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/1 "2020-12-10T13:20:19Z")

</div>

I have 6 nodes elastic cluster.  
node1 - master  
node2 - master  
node3 - data  
node4 - data  
node5 - data  
node6 - master, data

node1,2,3,4 and node5 are primary nodes  
node6 is DR node

I want to all primary nodes and start with DR node.  
I was unable to up the cluster with one node. Got error ''master not discovered or elected yet, an election requires at least 2 nodes''

is there way to up the cluster with only DR node.?

Thank You!

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [December 10, 2020, 1:54pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/2 "2020-12-10T13:54:14Z")

</div>

No that is not possible. A majority of master eligible nodes need to be available for the cluster to operate properly. See [the docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/high-availability-cluster-design.html) for further details. The arrangement you are describing will therefore not work.

---

<div class="post-metadata">

### Author: ![hiruni.insyncit.net](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@hiruni.insyncit.net](https://discuss.elastic.co/u/hiruni.insyncit.net)
#### Post date: [December 10, 2020, 2:21pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/3 "2020-12-10T14:21:07Z")

</div>

Thank You.  
Then there should be (at least) 2 master nodes(live)

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [December 10, 2020, 2:48pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/4 "2020-12-10T14:48:54Z")

</div>

There need to be a **strict majority** (not fixed count) of master nodes available, e.g. 2 out of 3, 3 out of 4 etc.

---

<div class="post-metadata">

### Author: ![hiruni.insyncit.net](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@hiruni.insyncit.net](https://discuss.elastic.co/u/hiruni.insyncit.net)
#### Post date: [December 10, 2020, 2:55pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/5 "2020-12-10T14:55:43Z")

</div>

If I want to start the elastic cluster in DR side and down all primary nodes. Then I have to setup 2 or more nodes in DR side.isn't it?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [December 10, 2020, 2:57pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/6 "2020-12-10T14:57:25Z")

</div>

No, you can only add new master nodes if the cluster has an elected master, which requires a majority of master eligible nodes are available. If you want a DR cluster I would recommend setting up 2 separate clusters and either restoring a snapshot or write to both clusters in parallel.

---

<div class="post-metadata">

### Author: ![hiruni.insyncit.net](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@hiruni.insyncit.net](https://discuss.elastic.co/u/hiruni.insyncit.net)
#### Post date: [December 10, 2020, 3:07pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/7 "2020-12-10T15:07:28Z")

</div>

is there way to setup both primary and DR nodes in the same cluster?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [December 10, 2020, 3:08pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/8 "2020-12-10T15:08:07Z")

</div>

Not that I am aware of.

---

<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: [December 10, 2020, 5:13pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/9 "2020-12-10T17:13:05Z")

</div>

There's no notion of "primary" and "DR" nodes in Elasticsearch but this is the wrong way to think about building a resilient cluster. A properly configured cluster can carry on working even if the underlying infrastructure suffers a severe outage, possibly even losing a whole zone of its nodes all at once. The reference manual has [comprehensive guidance on this subject](https://www.elastic.co/guide/en/elasticsearch/reference/current/high-availability.html).

---

<div class="post-metadata">

### Author: ![hiruni.insyncit.net](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@hiruni.insyncit.net](https://discuss.elastic.co/u/hiruni.insyncit.net)
#### Post date: [December 16, 2020, 6:47pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/10 "2020-12-16T18:47:46Z")

</div>

Thank you!

---

<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: [January 13, 2021, 6:47pm UTC](https://discuss.elastic.co/t/elastic-cluster-restart-with-one-master-node/258278/11 "2021-01-13T18:47:52Z")

</div>

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