# How to make primary master node

**URL:** <https://discuss.elastic.co/t/how-to-make-primary-master-node/133018>\
**Category:** Elasticsearch\
**Created:** [May 23, 2018, 3:36pm UTC](https://discuss.elastic.co/t/how-to-make-primary-master-node/133018 "2018-05-23T15:36:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuragh](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anuragh](https://discuss.elastic.co/u/anuragh)\
**Post date:** [May 23, 2018, 3:36pm UTC](https://discuss.elastic.co/t/how-to-make-primary-master-node/133018/1 "2018-05-23T15:36:05Z")

</div>

Hi,  
We have installed ElasticSearch on 10nodes.  
1 master,2 master+data,7 data nodes  
But now 10.186.193.59(102) act as primary.How to make 10.186.193.58 (ddlplels101) as primary

ddlplels101 should be primary master and ddlplels102/103 should be secondary master + data node and remaining 7 nodes should be data nodes.  
node.name: ddlplels101  
node.master: true  
node.data: false

node.name: ddlplels102  
node.master: true  
node.data: true

node.name: ddlplels103  
node.master: true  
node.data: true

ip heap.percent ram.percent cpu load\_1m load\_5m load\_15m node.role master name  
10.186.193.64 1 63 0 0.03 0.06 0.06 di - ddlplels107  
10.186.193.67 2 63 0 0.00 0.01 0.05 di - ddlplels110  
10.186.193.65 2 63 0 0.01 0.02 0.05 di - ddlplels108  
10.186.193.63 2 63 0 0.01 0.05 0.06 di - ddlplels106  
10.186.193.58 6 98 0 0.00 0.03 0.05 mi - ddlplels101  
10.186.193.61 2 62 0 0.00 0.01 0.05 di - ddlplels104  
10.186.193.59 2 62 0 0.00 0.01 0.05 mdi \* ddlplels102  
10.186.193.60 1 62 0 0.00 0.01 0.05 mdi - ddlplels103  
10.186.193.62 2 63 0 0.00 0.01 0.05 di - ddlplels105  
10.186.193.66 2 62 0 0.02 0.02 0.05 di - ddlplels109

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [May 23, 2018, 8:52pm UTC](https://discuss.elastic.co/t/how-to-make-primary-master-node/133018/2 "2018-05-23T20:52:31Z")

</div>

Elasticsearch doesn't have the concept of a "primary" master. All master-eligible nodes are equally capable and likely to become the master. They are all equivalent.

Generally, people designate three nodes as master-eligible only, and do not allow them to host data. So you should make `ddlplels102` and `ddlplels103` master-only like `ddlplels10`.

---

<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:** [June 20, 2018, 8:52pm UTC](https://discuss.elastic.co/t/how-to-make-primary-master-node/133018/3 "2018-06-20T20:52:33Z")

</div>

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