How to make primary master node


(anuragh) #1

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


(Zachary Tong) #2

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.


(system) #3

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