# Can I change type of current master node and how to increase performance for my Elasticsearch cluster

**URL:** <https://discuss.elastic.co/t/can-i-change-type-of-current-master-node-and-how-to-increase-performance-for-my-elasticsearch-cluster/18892>\
**Category:** Elasticsearch\
**Created:** [July 25, 2014, 7:18am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node-and-how-to-increase-performance-for-my-elasticsearch-cluster/18892 "2014-07-25T07:18:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Warat\_Wongmaneekit](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@Warat\_Wongmaneekit](https://discuss.elastic.co/u/Warat_Wongmaneekit)\
**Post date:** [July 25, 2014, 7:18am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node-and-how-to-increase-performance-for-my-elasticsearch-cluster/18892/1 "2014-07-25T07:18:58Z")

</div>

We have 3 nodes of elastic search all nodes is mater=true and data=true.  
When we try to find the best practice almost is recommend to setup 1 node  
for master=true,data=false and another 2 nodes is master=false,data=true.  
So if we need to change it how going on with current master node. It will  
be automatic allocation? or we have to delete and insert data again?

For another question Do you have any configuration suggestion detail is  
bellow

_Hard ward for all nodes_  
CPU 3.4 8 core  
Ram 32 GB  
HDD raid 0 1TB  
Current heap size 18GB  
Elasticsearch Data 160GB | 108,190,284 records

_Our node setting_

{ "cluster\_name" : "zocialinc", "nodes" : { "WEbhsuSQQeCvYI\_s3I\_E0A" :  
{ "name" : "Host98", "transport\_address" :  
"inet[/192.99.5.98:9300]", "host" : "[ns5000258.ip-192-99-5.net](http://ns5000258.ip-192-99-5.net)",  
"ip" : "192.99.5.98", "version" : "1.2.2", "build" : "9902f08",  
"http\_address" : "inet[/192.99.5.98:9299]", "attributes" : {  
"master" : "true" }, "settings" : { "threadpool" : {  
"index" : { "type" : "fixed", "queue\_size" : "1000"  
, "size" : "50" } }, "node" : {  
"data" : "true", "master" : "true", "name" : "Host98"  
}, "index" : { "number\_of\_replicas" : "1",  
"number\_of\_shards" : "50" }, "http" : { "port" :  
"9299" }, "name" : "Host98", "path" : { "logs"  
: "/home/elasticsearch/logs", "home" : "/home/elasticsearch",  
"conf" : "/home/elasticsearch/config" }, "indices" : {  
"recovery" : { "max\_bytes\_per\_sec" : "200mb" }  
}, "cluster" : { "name" : "zocialinc" },  
"script" : { "disable\_dynamic" : "false" },  
"discovery" : { "zen" : { "minimum\_master\_nodes" : "3",  
"ping" : { "unicast" : { "hosts" : [  
"192.99.9.80", "198.27.70.88" ] }, "multicast" : {  
"enabled" : "false" }, "timeout" :  
"30s" } } }, "foreground" : "yes" },  
"os" : { "refresh\_interval\_in\_millis" : 1000,  
"available\_processors" : 8, "cpu" : { "vendor" : "Intel",  
"model" : "Xeon", "mhz" : 3800, "total\_cores" : 8,  
"total\_sockets" : 8, "cores\_per\_socket" : 16,  
"cache\_size\_in\_bytes" : 8192 }, "mem" : {  
"total\_in\_bytes" : 33705795584 }, "swap" : {  
"total\_in\_bytes" : 1071636480 } }, "process" : {  
"refresh\_interval\_in\_millis" : 1000, "id" : 27487,  
"max\_file\_descriptors" : 4096, "mlockall" : false }, "jvm"  
: { "pid" : 27487, "version" : "1.7.0\_65", "vm\_name" : "OpenJDK  
64-Bit Server VM", "vm\_version" : "24.65-b04", "vm\_vendor" : "Oracle  
Corporation", "start\_time\_in\_millis" : 1406002559510, "mem" :  
{ "heap\_init\_in\_bytes" : 19327352832, "heap\_max\_in\_bytes"  
: 19257622528, "non\_heap\_init\_in\_bytes" : 24313856,  
"non\_heap\_max\_in\_bytes" : 224395264, "direct\_max\_in\_bytes" :  
19257622528 }, "gc\_collectors" : [ "ParNew",  
"ConcurrentMarkSweep" ], "memory\_pools" : [ "Code Cache", "Par Eden  
Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ] },  
"thread\_pool" : { "generic" : { "type" : "cached",  
"keep\_alive" : "30s" }, "index" : { "type" : "fixed",  
"min" : 50, "max" : 50, "queue\_size" : "1k"  
}, "snapshot\_data" : { "type" : "scaling", "min"  
: 1, "max" : 5, "keep\_alive" : "5m" },  
"bench" : { "type" : "scaling", "min" : 1, "max"  
: 4, "keep\_alive" : "5m" }, "get" : { "type"  
: "fixed", "min" : 8, "max" : 8, "queue\_size" :  
"1k" }, "snapshot" : { "type" : "scaling",  
"min" : 1, "max" : 4, "keep\_alive" : "5m" },  
"merge" : { "type" : "scaling", "min" : 1, "max"  
: 4, "keep\_alive" : "5m" }, "suggest" : {  
"type" : "fixed", "min" : 8, "max" : 8,  
"queue\_size" : "1k" }, "bulk" : { "type" : "fixed",  
"min" : 8, "max" : 8, "queue\_size" : "50"  
}, "optimize" : { "type" : "fixed", "min" : 1,  
"max" : 1 }, "warmer" : { "type" : "scaling",  
"min" : 1, "max" : 4, "keep\_alive" : "5m" },  
"flush" : { "type" : "scaling", "min" : 1,  
"max" : 4, "keep\_alive" : "5m" }, "search" : {  
"type" : "fixed", "min" : 24, "max" : 24,  
"queue\_size" : "1k" }, "percolate" : { "type" :  
"fixed", "min" : 8, "max" : 8, "queue\_size" :  
"1k" }, "management" : { "type" : "scaling",  
"min" : 1, "max" : 5, "keep\_alive" : "5m" },  
"refresh" : { "type" : "scaling", "min" : 1,  
"max" : 4, "keep\_alive" : "5m" } }, "network" : {  
"refresh\_interval\_in\_millis" : 5000, "primary\_interface" : {  
"address" : "192.99.5.98", "name" : "eth0",  
"mac\_address" : "08:60:6E:E5:C1:CE" } }, "transport" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0:9300]",  
"publish\_address" : "inet[/192.99.5.98:9300]" }, "http" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0:9299]", "publish\_address" :  
"inet[/192.99.5.98:9299]", "max\_content\_length\_in\_bytes" : 104857600  
}, "plugins" : [ { "name" : "marvel", "version" :  
"NA", "description" : "No description found.", "url" :  
"/\_plugin/marvel/", "jvm" : false, "site" : true }, {  
"name" : "paramedic", "version" : "NA", "description" : "No  
description found.", "url" : "/\_plugin/paramedic/", "jvm" :  
false, "site" : true } ] }, "gzaTyhMMSZyuQEJZhlhR-Q" : {  
"name" : "Host80", "transport\_address" : "inet[/192.99.9.80:9300]"  
, "host" : "[ns501551.ip-192-99-9.net](http://ns501551.ip-192-99-9.net)", "ip" : "192.99.9.80",  
"version" : "1.2.2", "build" : "9902f08", "http\_address" :  
"inet[/192.99.9.80:9299]", "attributes" : { "master" : "true"  
}, "settings" : { "threadpool" : { "index" : {  
"type" : "fixed", "queue\_size" : "1000", "size"  
: "50" } }, "node" : { "data" : "true",  
"master" : "true", "name" : "Host80" }, "index"  
: { "number\_of\_replicas" : "1", "number\_of\_shards" : "50"  
}, "http" : { "port" : "9299" }, "name"  
: "Host80", "path" : { "logs" : "/home/elasticsearch/logs",  
"home" : "/home/elasticsearch" }, "indices" : {  
"recovery" : { "max\_bytes\_per\_sec" : "200mb" }  
}, "cluster" : { "name" : "zocialinc" },  
"script" : { "disable\_dynamic" : "false" },  
"discovery" : { "zen" : { "minimum\_master\_nodes" : "3",  
"ping" : { "unicast" : { "hosts" : [  
"192.99.5.98", "198.27.70.88" ] }, "multicast" : {  
"enabled" : "false" }, "timeout" :  
"30s" } } }, "foreground" : "yes" },  
"os" : { "refresh\_interval\_in\_millis" : 1000,  
"available\_processors" : 8, "cpu" : { "vendor" : "Intel",  
"model" : "Xeon", "mhz" : 3800, "total\_cores" : 8,  
"total\_sockets" : 8, "cores\_per\_socket" : 16,  
"cache\_size\_in\_bytes" : 8192 }, "mem" : {  
"total\_in\_bytes" : 33628487680 }, "swap" : {  
"total\_in\_bytes" : 1071636480 } }, "process" : {  
"refresh\_interval\_in\_millis" : 1000, "id" : 29729,  
"max\_file\_descriptors" : 4096, "mlockall" : false }, "jvm"  
: { "pid" : 29729, "version" : "1.7.0\_55", "vm\_name" : "OpenJDK  
64-Bit Server VM", "vm\_version" : "24.51-b03", "vm\_vendor" : "Oracle  
Corporation", "start\_time\_in\_millis" : 1405999092155, "mem" :  
{ "heap\_init\_in\_bytes" : 19327352832, "heap\_max\_in\_bytes"  
: 19257622528, "non\_heap\_init\_in\_bytes" : 24313856,  
"non\_heap\_max\_in\_bytes" : 224395264, "direct\_max\_in\_bytes" :  
19257622528 }, "gc\_collectors" : [ "ParNew",  
"ConcurrentMarkSweep" ], "memory\_pools" : [ "Code Cache", "Par Eden  
Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ] },  
"thread\_pool" : { "generic" : { "type" : "cached",  
"keep\_alive" : "30s" }, "index" : { "type" : "fixed",  
"min" : 50, "max" : 50, "queue\_size" : "1k"  
}, "snapshot\_data" : { "type" : "scaling", "min"  
: 1, "max" : 5, "keep\_alive" : "5m" },  
"bench" : { "type" : "scaling", "min" : 1, "max"  
: 4, "keep\_alive" : "5m" }, "get" : { "type"  
: "fixed", "min" : 8, "max" : 8, "queue\_size" :  
"1k" }, "snapshot" : { "type" : "scaling",  
"min" : 1, "max" : 4, "keep\_alive" : "5m" },  
"merge" : { "type" : "scaling", "min" : 1, "max"  
: 4, "keep\_alive" : "5m" }, "suggest" : {  
"type" : "fixed", "min" : 8, "max" : 8,  
"queue\_size" : "1k" }, "bulk" : { "type" : "fixed",  
"min" : 8, "max" : 8, "queue\_size" : "50"  
}, "optimize" : { "type" : "fixed", "min" : 1,  
"max" : 1 }, "warmer" : { "type" : "scaling",  
"min" : 1, "max" : 4, "keep\_alive" : "5m" },  
"flush" : { "type" : "scaling", "min" : 1,  
"max" : 4, "keep\_alive" : "5m" }, "search" : {  
"type" : "fixed", "min" : 24, "max" : 24,  
"queue\_size" : "1k" }, "percolate" : { "type" :  
"fixed", "min" : 8, "max" : 8, "queue\_size" :  
"1k" }, "management" : { "type" : "scaling",  
"min" : 1, "max" : 5, "keep\_alive" : "5m" },  
"refresh" : { "type" : "scaling", "min" : 1,  
"max" : 4, "keep\_alive" : "5m" } }, "network" : {  
"refresh\_interval\_in\_millis" : 5000, "primary\_interface" : {  
"address" : "192.99.9.80", "name" : "eth0",  
"mac\_address" : "70:54:D2:19:BA:B7" } }, "transport" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9300]",  
"publish\_address" : "inet[/192.99.9.80:9300]" }, "http" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9299]", "publish\_address"  
: "inet[/192.99.9.80:9299]", "max\_content\_length\_in\_bytes" :  
104857600 }, "plugins" : [ { "name" : "marvel",  
"version" : "NA", "description" : "No description found.",  
"url" : "/\_plugin/marvel/", "jvm" : false, "site" : true  
} ] }, "sQEMBQGMT1eyDrPwF-xGeA" : { "name" : "Host88",  
"transport\_address" : "inet[/198.27.70.88:9300]", "host" :  
"[ns4008677.ip-198-27-70.net](http://ns4008677.ip-198-27-70.net)", "ip" : "198.27.70.88", "version" :  
"1.1.1", "build" : "f1585f0", "http\_address" :  
"inet[/198.27.70.88:9200]", "attributes" : { "master" : "true"  
}, "settings" : { "threadpool" : { "index" : {  
"type" : "fixed", "queue\_size" : "1000",  
"size" : "50" } }, "node" : { "data" :  
"true", "master" : "true", "name" : "Host88" },  
"index" : { "number\_of\_replicas" : "1",  
"number\_of\_shards" : "50" }, "name" : "Host88",  
"pidfile" : "/var/run/elasticsearch/elasticsearch.pid", "path" : {  
"data" : "/var/lib/elasticsearch", "work" :  
"/tmp/elasticsearch", "home" : "/usr/share/elasticsearch",  
"conf" : "/etc/elasticsearch", "logs" : "/var/log/elasticsearch"  
}, "indices" : { "recovery" : {  
"max\_bytes\_per\_sec" : "200mb" } }, "cluster" : {  
"name" : "zocialinc" }, "script" : {  
"disable\_dynamic" : "false" }, "discovery" : { "zen"  
: { "minimum\_master\_nodes" : "2", "ping" : {  
"unicast" : { "hosts" : ["192.99.5.98", "192.99.9.80"]  
}, "multicast" : { "enabled" :  
"false" }, "timeout" : "30s" }  
} }, "foreground" : "yes" }, "os" : {  
"refresh\_interval\_in\_millis" : 1000, "available\_processors" : 8,  
"cpu" : { "vendor" : "Intel", "model" : "Xeon",  
"mhz" : 3392, "total\_cores" : 8, "total\_sockets" : 8,  
"cores\_per\_socket" : 16, "cache\_size\_in\_bytes" : 8192  
}, "mem" : { "total\_in\_bytes" : 33700106240 },  
"swap" : { "total\_in\_bytes" : 17177755648 } },  
"process" : { "refresh\_interval\_in\_millis" : 1000, "id" :  
2142, "max\_file\_descriptors" : 65535, "mlockall" : false  
}, "jvm" : { "pid" : 2142, "version" : "1.7.0\_25",  
"vm\_name" : "Java HotSpot(TM) 64-Bit Server VM", "vm\_version" :  
"23.25-b01", "vm\_vendor" : "Oracle Corporation",  
"start\_time\_in\_millis" : 1406231783559, "mem" : {  
"heap\_init\_in\_bytes" : 19327352832, "heap\_max\_in\_bytes" :  
19257622528, "non\_heap\_init\_in\_bytes" : 24313856,  
"non\_heap\_max\_in\_bytes" : 136314880, "direct\_max\_in\_bytes" :  
19257622528 }, "gc\_collectors" : [ "ParNew",  
"ConcurrentMarkSweep" ], "memory\_pools" : [ "Code Cache", "Par Eden  
Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ] },  
"thread\_pool" : { "generic" : { "type" : "cached",  
"keep\_alive" : "30s" }, "index" : { "type" : "fixed",  
"min" : 50, "max" : 50, "queue\_size" : "1k"  
}, "get" : { "type" : "fixed", "min" : 8,  
"max" : 8, "queue\_size" : "1k" }, "snapshot" : {  
"type" : "scaling", "min" : 1, "max" : 4,  
"keep\_alive" : "5m" }, "merge" : { "type" :  
"scaling", "min" : 1, "max" : 4, "keep\_alive" :  
"5m" }, "suggest" : { "type" : "fixed",  
"min" : 8, "max" : 8, "queue\_size" : "1k" },  
"bulk" : { "type" : "fixed", "min" : 8, "max" :  
8, "queue\_size" : "50" }, "optimize" : {  
"type" : "fixed", "min" : 1, "max" : 1 },  
"warmer" : { "type" : "scaling", "min" : 1, "max"  
: 4, "keep\_alive" : "5m" }, "flush" : {  
"type" : "scaling", "min" : 1, "max" : 4,  
"keep\_alive" : "5m" }, "search" : { "type" : "fixed",  
"min" : 24, "max" : 24, "queue\_size" : "1k"  
}, "percolate" : { "type" : "fixed", "min" : 8,  
"max" : 8, "queue\_size" : "1k" },  
"management" : { "type" : "scaling", "min" : 1,  
"max" : 5, "keep\_alive" : "5m" }, "refresh" : {  
"type" : "scaling", "min" : 1, "max" : 4,  
"keep\_alive" : "5m" } }, "network" : {  
"refresh\_interval\_in\_millis" : 5000, "primary\_interface" : {  
"address" : "198.27.70.88", "name" : "eth0",  
"mac\_address" : "70:54:D2:1A:9F:5B" } }, "transport" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9300]",  
"publish\_address" : "inet[/198.27.70.88:9300]" }, "http" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9200]",  
"publish\_address" : "inet[/198.27.70.88:9200]",  
"max\_content\_length\_in\_bytes" : 104857600 }, "plugins" : [ {  
"name" : "HQ", "version" : "NA", "description" : "No  
description found.", "url" : "/\_plugin/HQ/", "jvm" : false,  
"site" : true }, { "name" : "head", "version" : "NA"  
, "description" : "No description found.", "url" :  
"/\_plugin/head/", "jvm" : false, "site" : true } ] }  
}}

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 25, 2014, 7:34am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node-and-how-to-increase-performance-for-my-elasticsearch-cluster/18892/2 "2014-07-25T07:34:20Z")

</div>

If you can have 3 nodes, make all 3 master and data, that way you don't  
waste resources on a master only and you gain some protection against split  
brain.  
You really only want/need a master only when you start getting into the  
10-20 node count.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 25 July 2014 17:18, Warat Wongmaneekit [canopybanj@gmail.com](mailto:canopybanj@gmail.com) wrote:

> We have 3 nodes of Elasticsearch all nodes is mater=true and data=true.  
> When we try to find the best practice almost is recommend to setup 1 node  
> for master=true,data=false and another 2 nodes is master=false,data=true.  
> So if we need to change it how going on with current master node. It will  
> be automatic allocation? or we have to delete and insert data again?
> 
> For another question Do you have any configuration suggestion detail is  
> bellow
> 
> _Hard ward for all nodes_  
> CPU 3.4 8 core  
> Ram 32 GB  
> HDD raid 0 1TB  
> Current heap size 18GB  
> Elasticsearch Data 160GB | 108,190,284 records
> 
> _Our node setting_
> 
> { "cluster\_name" : "zocialinc", "nodes" : { "WEbhsuSQQeCvYI\_s3I\_E0A"  
> : { "name" : "Host98", "transport\_address" : "inet[/  
> 192.99.5.98:9300]", "host" : "[ns5000258.ip-192-99-5.net](http://ns5000258.ip-192-99-5.net)", "ip" :  
> "192.99.5.98", "version" : "1.2.2", "build" : "9902f08",  
> "http\_address" : "inet[/192.99.5.98:9299]", "attributes" : {  
> "master" : "true" }, "settings" : { "threadpool" : {  
> "index" : { "type" : "fixed", "queue\_size" :  
> "1000", "size" : "50" } }, "node" : {  
> "data" : "true", "master" : "true", "name" :  
> "Host98" }, "index" : { "number\_of\_replicas" : "1",  
> "number\_of\_shards" : "50" }, "http" : {  
> "port" : "9299" }, "name" : "Host98", "path" : {  
> "logs" : "/home/elasticsearch/logs", "home" :  
> "/home/elasticsearch", "conf" : "/home/elasticsearch/config"  
> }, "indices" : { "recovery" : {  
> "max\_bytes\_per\_sec" : "200mb" } }, "cluster" : {  
> "name" : "zocialinc" }, "script" : {  
> "disable\_dynamic" : "false" }, "discovery" : {  
> "zen" : { "minimum\_master\_nodes" : "3", "ping" : {  
> "unicast" : { "hosts" : [ "192.99.9.80",  
> "198.27.70.88" ] }, "multicast" : {  
> "enabled" : "false" }, "timeout" : "30s"  
> } } }, "foreground" : "yes" },  
> "os" : { "refresh\_interval\_in\_millis" : 1000,  
> "available\_processors" : 8, "cpu" : { "vendor" : "Intel",  
> "model" : "Xeon", "mhz" : 3800, "total\_cores" : 8  
> , "total\_sockets" : 8, "cores\_per\_socket" : 16,  
> "cache\_size\_in\_bytes" : 8192 }, "mem" : {  
> "total\_in\_bytes" : 33705795584 }, "swap" : {  
> "total\_in\_bytes" : 1071636480 } }, "process" : {  
> "refresh\_interval\_in\_millis" : 1000, "id" : 27487,  
> "max\_file\_descriptors" : 4096, "mlockall" : false },  
> "jvm" : { "pid" : 27487, "version" : "1.7.0\_65",  
> "vm\_name" : "OpenJDK 64-Bit Server VM", "vm\_version" : "24.65-b04",  
> "vm\_vendor" : "Oracle Corporation", "start\_time\_in\_millis" :  
> 1406002559510, "mem" : { "heap\_init\_in\_bytes" :  
> 19327352832, "heap\_max\_in\_bytes" : 19257622528,  
> "non\_heap\_init\_in\_bytes" : 24313856, "non\_heap\_max\_in\_bytes" :  
> 224395264, "direct\_max\_in\_bytes" : 19257622528 },  
> "gc\_collectors" : ["ParNew", "ConcurrentMarkSweep"],  
> "memory\_pools" : [ "Code Cache", "Par Eden Space", "Par Survivor Space", "CMS  
> Old Gen", "CMS Perm Gen" ] }, "thread\_pool" : { "generic"  
> : { "type" : "cached", "keep\_alive" : "30s" },  
> "index" : { "type" : "fixed", "min" : 50,  
> "max" : 50, "queue\_size" : "1k" }, "snapshot\_data"  
> : { "type" : "scaling", "min" : 1, "max" : 5,  
> "keep\_alive" : "5m" }, "bench" : { "type" :  
> "scaling", "min" : 1, "max" : 4, "keep\_alive" :  
> "5m" }, "get" : { "type" : "fixed", "min"  
> : 8, "max" : 8, "queue\_size" : "1k" },  
> "snapshot" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" }, "merge" : {  
> "type" : "scaling", "min" : 1, "max" : 4,  
> "keep\_alive" : "5m" }, "suggest" : { "type" :  
> "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> "1k" }, "bulk" : { "type" : "fixed", "min"  
> : 8, "max" : 8, "queue\_size" : "50" },  
> "optimize" : { "type" : "fixed", "min" : 1,  
> "max" : 1 }, "warmer" : { "type" : "scaling",  
> "min" : 1, "max" : 4, "keep\_alive" : "5m" },  
> "flush" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" }, "search" : {  
> "type" : "fixed", "min" : 24, "max" : 24,  
> "queue\_size" : "1k" }, "percolate" : { "type" :  
> "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> "1k" }, "management" : { "type" : "scaling",  
> "min" : 1, "max" : 5, "keep\_alive" : "5m" },  
> "refresh" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" } },  
> "network" : { "refresh\_interval\_in\_millis" : 5000,  
> "primary\_interface" : { "address" : "192.99.5.98",  
> "name" : "eth0", "mac\_address" : "08:60:6E:E5:C1:CE" }  
> }, "transport" : { "bound\_address" :  
> "inet[/0:0:0:0:0:0:0:0:9300]", "publish\_address" : "inet[/  
> 192.99.5.98:9300]" }, "http" : { "bound\_address" :  
> "inet[/0:0:0:0:0:0:0:0:9299]", "publish\_address" : "inet[/  
> 192.99.5.98:9299]", "max\_content\_length\_in\_bytes" : 104857600  
> }, "plugins" : [ { "name" : "marvel", "version" : "NA",  
> "description" : "No description found.", "url" :  
> "/\_plugin/marvel/", "jvm" : false, "site" : true }, {  
> "name" : "paramedic", "version" : "NA", "description"  
> : "No description found.", "url" : "/\_plugin/paramedic/",  
> "jvm" : false, "site" : true } ] },  
> "gzaTyhMMSZyuQEJZhlhR-Q" : { "name" : "Host80",  
> "transport\_address" : "inet[/192.99.9.80:9300]", "host" : "  
> [ns501551.ip-192-99-9.net](http://ns501551.ip-192-99-9.net)", "ip" : "192.99.9.80", "version" :  
> "1.2.2", "build" : "9902f08", "http\_address" : "inet[/  
> 192.99.9.80:9299]", "attributes" : { "master" : "true" },  
> "settings" : { "threadpool" : { "index" : {  
> "type" : "fixed", "queue\_size" : "1000", "size" :  
> "50" } }, "node" : { "data" : "true",  
> "master" : "true", "name" : "Host80" },  
> "index" : { "number\_of\_replicas" : "1",  
> "number\_of\_shards" : "50" }, "http" : { "port" :  
> "9299" }, "name" : "Host80", "path" : {  
> "logs" : "/home/elasticsearch/logs", "home" :  
> "/home/elasticsearch" }, "indices" : { "recovery" :  
> { "max\_bytes\_per\_sec" : "200mb" } },  
> "cluster" : { "name" : "zocialinc" }, "script" : {  
> "disable\_dynamic" : "false" }, "discovery" : {  
> "zen" : { "minimum\_master\_nodes" : "3", "ping" :  
> { "unicast" : { "hosts" : [ "192.99.5.98",  
> "198.27.70.88" ] }, "multicast" : {  
> "enabled" : "false" }, "timeout" : "30s"  
> } } }, "foreground" : "yes" },  
> "os" : { "refresh\_interval\_in\_millis" : 1000,  
> "available\_processors" : 8, "cpu" : { "vendor" : "Intel",  
> "model" : "Xeon", "mhz" : 3800, "total\_cores" : 8  
> , "total\_sockets" : 8, "cores\_per\_socket" : 16,  
> "cache\_size\_in\_bytes" : 8192 }, "mem" : {  
> "total\_in\_bytes" : 33628487680 }, "swap" : {  
> "total\_in\_bytes" : 1071636480 } }, "process" : {  
> "refresh\_interval\_in\_millis" : 1000, "id" : 29729,  
> "max\_file\_descriptors" : 4096, "mlockall" : false },  
> "jvm" : { "pid" : 29729, "version" : "1.7.0\_55",  
> "vm\_name" : "OpenJDK 64-Bit Server VM", "vm\_version" : "24.51-b03",  
> "vm\_vendor" : "Oracle Corporation", "start\_time\_in\_millis" :  
> 1405999092155, "mem" : { "heap\_init\_in\_bytes" :  
> 19327352832, "heap\_max\_in\_bytes" : 19257622528,  
> "non\_heap\_init\_in\_bytes" : 24313856, "non\_heap\_max\_in\_bytes" :  
> 224395264, "direct\_max\_in\_bytes" : 19257622528 },  
> "gc\_collectors" : ["ParNew", "ConcurrentMarkSweep"],  
> "memory\_pools" : [ "Code Cache", "Par Eden Space", "Par Survivor Space", "CMS  
> Old Gen", "CMS Perm Gen" ] }, "thread\_pool" : { "generic"  
> : { "type" : "cached", "keep\_alive" : "30s" },  
> "index" : { "type" : "fixed", "min" : 50,  
> "max" : 50, "queue\_size" : "1k" }, "snapshot\_data"  
> : { "type" : "scaling", "min" : 1, "max" : 5,  
> "keep\_alive" : "5m" }, "bench" : { "type" :  
> "scaling", "min" : 1, "max" : 4, "keep\_alive" :  
> "5m" }, "get" : { "type" : "fixed", "min"  
> : 8, "max" : 8, "queue\_size" : "1k" },  
> "snapshot" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" }, "merge" : {  
> "type" : "scaling", "min" : 1, "max" : 4,  
> "keep\_alive" : "5m" }, "suggest" : { "type" :  
> "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> "1k" }, "bulk" : { "type" : "fixed", "min"  
> : 8, "max" : 8, "queue\_size" : "50" },  
> "optimize" : { "type" : "fixed", "min" : 1,  
> "max" : 1 }, "warmer" : { "type" : "scaling",  
> "min" : 1, "max" : 4, "keep\_alive" : "5m" },  
> "flush" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" }, "search" : {  
> "type" : "fixed", "min" : 24, "max" : 24,  
> "queue\_size" : "1k" }, "percolate" : { "type" :  
> "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> "1k" }, "management" : { "type" : "scaling",  
> "min" : 1, "max" : 5, "keep\_alive" : "5m" },  
> "refresh" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" } },  
> "network" : { "refresh\_interval\_in\_millis" : 5000,  
> "primary\_interface" : { "address" : "192.99.9.80",  
> "name" : "eth0", "mac\_address" : "70:54:D2:19:BA:B7" }  
> }, "transport" : { "bound\_address" :  
> "inet[/0:0:0:0:0:0:0:0%0:9300]", "publish\_address" : "inet[/  
> 192.99.9.80:9300]" }, "http" : { "bound\_address" :  
> "inet[/0:0:0:0:0:0:0:0%0:9299]", "publish\_address" : "inet[/  
> 192.99.9.80:9299]", "max\_content\_length\_in\_bytes" : 104857600  
> }, "plugins" : [ { "name" : "marvel", "version" : "NA",  
> "description" : "No description found.", "url" :  
> "/\_plugin/marvel/", "jvm" : false, "site" : true } ]  
> }, "sQEMBQGMT1eyDrPwF-xGeA" : { "name" : "Host88",  
> "transport\_address" : "inet[/198.27.70.88:9300]", "host" : "  
> [ns4008677.ip-198-27-70.net](http://ns4008677.ip-198-27-70.net)", "ip" : "198.27.70.88", "version" :  
> "1.1.1", "build" : "f1585f0", "http\_address" : "inet[/  
> 198.27.70.88:9200]", "attributes" : { "master" : "true"  
> }, "settings" : { "threadpool" : { "index" : {  
> "type" : "fixed", "queue\_size" : "1000", "size"  
> : "50" } }, "node" : { "data" : "true",  
> "master" : "true", "name" : "Host88" },  
> "index" : { "number\_of\_replicas" : "1",  
> "number\_of\_shards" : "50" }, "name" : "Host88",  
> "pidfile" : "/var/run/elasticsearch/elasticsearch.pid", "path" : {  
> "data" : "/var/lib/elasticsearch", "work" :  
> "/tmp/elasticsearch", "home" : "/usr/share/elasticsearch",  
> "conf" : "/etc/elasticsearch", "logs" :  
> "/var/log/elasticsearch" }, "indices" : {  
> "recovery" : { "max\_bytes\_per\_sec" : "200mb" }  
> }, "cluster" : { "name" : "zocialinc" },  
> "script" : { "disable\_dynamic" : "false" },  
> "discovery" : { "zen" : { "minimum\_master\_nodes" : "2"  
> , "ping" : { "unicast" : { "hosts"  
> : ["192.99.5.98", "192.99.9.80"] },  
> "multicast" : { "enabled" : "false" },  
> "timeout" : "30s" } } },  
> "foreground" : "yes" }, "os" : {  
> "refresh\_interval\_in\_millis" : 1000, "available\_processors" : 8,  
> "cpu" : { "vendor" : "Intel", "model" : "Xeon",  
> "mhz" : 3392, "total\_cores" : 8, "total\_sockets"  
> : 8, "cores\_per\_socket" : 16, "cache\_size\_in\_bytes" :  
> 8192 }, "mem" : { "total\_in\_bytes" : 33700106240  
> }, "swap" : { "total\_in\_bytes" : 17177755648 }  
> }, "process" : { "refresh\_interval\_in\_millis" : 1000,  
> "id" : 2142, "max\_file\_descriptors" : 65535, "mlockall"  
> : false }, "jvm" : { "pid" : 2142, "version" :  
> "1.7.0\_25", "vm\_name" : "Java HotSpot(TM) 64-Bit Server VM",  
> "vm\_version" : "23.25-b01", "vm\_vendor" : "Oracle Corporation",  
> "start\_time\_in\_millis" : 1406231783559, "mem" : {  
> "heap\_init\_in\_bytes" : 19327352832, "heap\_max\_in\_bytes" :  
> 19257622528, "non\_heap\_init\_in\_bytes" : 24313856,  
> "non\_heap\_max\_in\_bytes" : 136314880, "direct\_max\_in\_bytes" :  
> 19257622528 }, "gc\_collectors" : [ "ParNew",  
> "ConcurrentMarkSweep" ], "memory\_pools" : [ "Code Cache", "Par  
> Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ] },  
> "thread\_pool" : { "generic" : { "type" : "cached",  
> "keep\_alive" : "30s" }, "index" : { "type" :  
> "fixed", "min" : 50, "max" : 50, "queue\_size" :  
> "1k" }, "get" : { "type" : "fixed", "min"  
> : 8, "max" : 8, "queue\_size" : "1k" },  
> "snapshot" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" }, "merge" : {  
> "type" : "scaling", "min" : 1, "max" : 4,  
> "keep\_alive" : "5m" }, "suggest" : { "type" :  
> "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> "1k" }, "bulk" : { "type" : "fixed", "min"  
> : 8, "max" : 8, "queue\_size" : "50" },  
> "optimize" : { "type" : "fixed", "min" : 1,  
> "max" : 1 }, "warmer" : { "type" : "scaling",  
> "min" : 1, "max" : 4, "keep\_alive" : "5m" },  
> "flush" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" }, "search" : {  
> "type" : "fixed", "min" : 24, "max" : 24,  
> "queue\_size" : "1k" }, "percolate" : { "type" :  
> "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> "1k" }, "management" : { "type" : "scaling",  
> "min" : 1, "max" : 5, "keep\_alive" : "5m" },  
> "refresh" : { "type" : "scaling", "min" : 1,  
> "max" : 4, "keep\_alive" : "5m" } },  
> "network" : { "refresh\_interval\_in\_millis" : 5000,  
> "primary\_interface" : { "address" : "198.27.70.88",  
> "name" : "eth0", "mac\_address" : "70:54:D2:1A:9F:5B" }  
> }, "transport" : { "bound\_address" :  
> "inet[/0:0:0:0:0:0:0:0%0:9300]", "publish\_address" : "inet[/  
> 198.27.70.88:9300]" }, "http" : { "bound\_address" :  
> "inet[/0:0:0:0:0:0:0:0%0:9200]", "publish\_address" : "inet[/  
> 198.27.70.88:9200]", "max\_content\_length\_in\_bytes" : 104857600  
> }, "plugins" : [ { "name" : "HQ", "version" : "NA",  
> "description" : "No description found.", "url" :  
> "/\_plugin/HQ/", "jvm" : false, "site" : true }, {  
> "name" : "head", "version" : "NA", "description" : "No  
> description found.", "url" : "/\_plugin/head/", "jvm" : false  
> , "site" : true } ] } }}
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624bjPkxfP-q-BivRm0T%2BkeXXQPmM1LdT%3DVZW%2Bu9Yz3D2zA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bjPkxfP-q-BivRm0T%2BkeXXQPmM1LdT%3DVZW%2Bu9Yz3D2zA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Warat\_Wongmaneekit](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@Warat\_Wongmaneekit](https://discuss.elastic.co/u/Warat_Wongmaneekit)\
**Post date:** [July 25, 2014, 7:51am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node-and-how-to-increase-performance-for-my-elasticsearch-cluster/18892/3 "2014-07-25T07:51:01Z")

</div>

Thank you so much if we have data like this how many node we have to  
provided?

On Friday, July 25, 2014 2:18:58 PM UTC+7, Warat Wongmaneekit wrote:

> We have 3 nodes of Elasticsearch all nodes is mater=true and data=true.  
> When we try to find the best practice almost is recommend to setup 1 node  
> for master=true,data=false and another 2 nodes is master=false,data=true.  
> So if we need to change it how going on with current master node. It will  
> be automatic allocation? or we have to delete and insert data again?
> 
> For another question Do you have any configuration suggestion detail is  
> bellow
> 
> _Hard ward for all nodes_  
> CPU 3.4 8 core  
> Ram 32 GB  
> HDD raid 0 1TB  
> Current heap size 18GB  
> Elasticsearch Data 160GB | 108,190,284 records
> 
> _Our node setting_
> 
> { "cluster\_name" : "zocialinc", "nodes" : { "WEbhsuSQQeCvYI\_s3I\_E0A"  
> : { "name" : "Host98", "transport\_address" : "inet[/  
> 192.99.5.98:9300]", "host" : "[ns5000258.ip-192-99-5.net](http://ns5000258.ip-192-99-5.net)", "ip" :  
> "192.99.5.98", "version" : "1.2.2", "build" : "9902f08",  
> "http\_address" : "inet[/192.99.5.98:9299]", "attributes" : {  
> "master" : "true" }, "settings" : { "threadpool" : {  
> "index" : { "type" : "fixed", "queue\_size" :  
> "1000", "size" : "50" } }, "node" : {  
> "data" : "true", "master" : "true", "name" :  
> "Host98" }, "index" : { "number\_of\_replicas" : "1",  
> "number\_of\_shards" : "50" }, "http" : {  
> "port" : "9299" }, "name" : "Host98", "path" : {  
> "logs" : "/home/elasticsearch/logs", "home" :  
> "/home/elasticsearch", "conf" : "/home/elasticsearch/config"  
> }, "indices" : { "recovery" : {  
> "max\_bytes\_per\_sec" : "200mb" } }, "cluster" : {  
> "name" : "zocialinc" }, "script" : {  
> "disable\_dynamic" : "false" }, "discovery" : {  
> "zen" : { "minimum\_master\_nodes" : "3", "ping" : {  
> "unicast" : { "hosts" : [ "192.99.9.80",  
> "198.27.70.88" ] }, "multicast" : {  
> "enabled" : "false" }, "timeout" : "30s"  
> } } }, "foreground" : "yes" },  
> "os" : { "refresh\_interval\_in\_millis" : 1000,  
> "available\_processors" : 8, "cpu" : { "vendor" : "Intel",  
> "model" : "Xeon", "mhz" : 3800, "total\_cores" :  
> 8, "total\_sockets" : 8, "cores\_per\_socket" : 16,  
> "cache\_size\_in\_bytes" : 8192  
> ...

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/fe136062-538d-44a8-bb4a-e2d75b1e6211%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fe136062-538d-44a8-bb4a-e2d75b1e6211%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [July 25, 2014, 7:51am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node-and-how-to-increase-performance-for-my-elasticsearch-cluster/18892/4 "2014-07-25T07:51:42Z")

</div>

It is not recommend to use only one master node and just two data nodes.  
This is very prone to errors and split brains.

The rule is:

- use at least one master eligible node for fault tolerance between master  
nodes: 2,3,4,...

- use more than two, but an odd number of data nodes (to fulfill the odd  
number of nodes rule for quorum): i.e. 3,5,7,...

- make sure at every time that every master node can see "at least half of  
the data nodes plus one", to guarantee consistency while writing

- add or remove replica levels (at least replica level 1) and data nodes  
for scaling as you like

You should also combine master and data nodes for simplicity of setup, this  
is Elastiscearch default.

This means that you can go on with three master/data nodes.

Only if you have large dynamic cluster states (field numbers, mappings for  
example), that are competing for large heap resources, you should consider  
to dedicate nodes being a master. This is because dedicate master node can  
process cluster state changes faster.

Jörg

On Fri, Jul 25, 2014 at 9:34 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
wrote:

> If you can have 3 nodes, make all 3 master and data, that way you don't  
> waste resources on a master only and you gain some protection against split  
> brain.  
> You really only want/need a master only when you start getting into the  
> 10-20 node count.
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 25 July 2014 17:18, Warat Wongmaneekit [canopybanj@gmail.com](mailto:canopybanj@gmail.com) wrote:
> 
> > We have 3 nodes of Elasticsearch all nodes is mater=true and data=true.  
> > When we try to find the best practice almost is recommend to setup 1 node  
> > for master=true,data=false and another 2 nodes is master=false,data=true.  
> > So if we need to change it how going on with current master node. It will  
> > be automatic allocation? or we have to delete and insert data again?
> > 
> > For another question Do you have any configuration suggestion detail is  
> > bellow
> > 
> > _Hard ward for all nodes_  
> > CPU 3.4 8 core  
> > Ram 32 GB  
> > HDD raid 0 1TB  
> > Current heap size 18GB  
> > Elasticsearch Data 160GB | 108,190,284 records
> > 
> > _Our node setting_
> > 
> > { "cluster\_name" : "zocialinc", "nodes" : {  
> > "WEbhsuSQQeCvYI\_s3I\_E0A" : { "name" : "Host98",  
> > "transport\_address" : "inet[/192.99.5.98:9300]", "host" : "  
> > [ns5000258.ip-192-99-5.net](http://ns5000258.ip-192-99-5.net)", "ip" : "192.99.5.98", "version" :  
> > "1.2.2", "build" : "9902f08", "http\_address" : "inet[/  
> > 192.99.5.98:9299]", "attributes" : { "master" : "true"  
> > }, "settings" : { "threadpool" : { "index" : {  
> > "type" : "fixed", "queue\_size" : "1000",  
> > "size" : "50" } }, "node" : { "data" :  
> > "true", "master" : "true", "name" : "Host98" },  
> > "index" : { "number\_of\_replicas" : "1",  
> > "number\_of\_shards" : "50" }, "http" : { "port" :  
> > "9299" }, "name" : "Host98", "path" : {  
> > "logs" : "/home/elasticsearch/logs", "home" :  
> > "/home/elasticsearch", "conf" : "/home/elasticsearch/config"  
> > }, "indices" : { "recovery" : {  
> > "max\_bytes\_per\_sec" : "200mb" } }, "cluster" : {  
> > "name" : "zocialinc" }, "script" : {  
> > "disable\_dynamic" : "false" }, "discovery" : {  
> > "zen" : { "minimum\_master\_nodes" : "3", "ping" : {  
> > "unicast" : { "hosts" : [ "192.99.9.80",  
> > "198.27.70.88" ] }, "multicast" : {  
> > "enabled" : "false" }, "timeout" : "30s"  
> > } } }, "foreground" : "yes" },  
> > "os" : { "refresh\_interval\_in\_millis" : 1000,  
> > "available\_processors" : 8, "cpu" : { "vendor" : "Intel",  
> > "model" : "Xeon", "mhz" : 3800, "total\_cores" :  
> > 8, "total\_sockets" : 8, "cores\_per\_socket" : 16,  
> > "cache\_size\_in\_bytes" : 8192 }, "mem" : {  
> > "total\_in\_bytes" : 33705795584 }, "swap" : {  
> > "total\_in\_bytes" : 1071636480 } }, "process" : {  
> > "refresh\_interval\_in\_millis" : 1000, "id" : 27487,  
> > "max\_file\_descriptors" : 4096, "mlockall" : false },  
> > "jvm" : { "pid" : 27487, "version" : "1.7.0\_65",  
> > "vm\_name" : "OpenJDK 64-Bit Server VM", "vm\_version" : "24.65-b04"  
> > , "vm\_vendor" : "Oracle Corporation",  
> > "start\_time\_in\_millis" : 1406002559510, "mem" : {  
> > "heap\_init\_in\_bytes" : 19327352832, "heap\_max\_in\_bytes" :  
> > 19257622528, "non\_heap\_init\_in\_bytes" : 24313856,  
> > "non\_heap\_max\_in\_bytes" : 224395264, "direct\_max\_in\_bytes" :  
> > 19257622528 }, "gc\_collectors" : [ "ParNew",  
> > "ConcurrentMarkSweep" ], "memory\_pools" : [ "Code Cache", "Par  
> > Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ]  
> > }, "thread\_pool" : { "generic" : { "type" : "cached"  
> > , "keep\_alive" : "30s" }, "index" : {  
> > "type" : "fixed", "min" : 50, "max" : 50,  
> > "queue\_size" : "1k" }, "snapshot\_data" : { "type"  
> > : "scaling", "min" : 1, "max" : 5,  
> > "keep\_alive" : "5m" }, "bench" : { "type" :  
> > "scaling", "min" : 1, "max" : 4, "keep\_alive"  
> > : "5m" }, "get" : { "type" : "fixed",  
> > "min" : 8, "max" : 8, "queue\_size" : "1k" },  
> > "snapshot" : { "type" : "scaling", "min" : 1,  
> > "max" : 4, "keep\_alive" : "5m" }, "merge" : {  
> > "type" : "scaling", "min" : 1, "max" : 4,  
> > "keep\_alive" : "5m" }, "suggest" : { "type" :  
> > "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> > "1k" }, "bulk" : { "type" : "fixed",  
> > "min" : 8, "max" : 8, "queue\_size" : "50" },  
> > "optimize" : { "type" : "fixed", "min" : 1,  
> > "max" : 1 }, "warmer" : { "type" : "scaling",  
> > "min" : 1, "max" : 4, "keep\_alive" : "5m"  
> > }, "flush" : { "type" : "scaling", "min" : 1,  
> > "max" : 4, "keep\_alive" : "5m" }, "search"  
> > : { "type" : "fixed", "min" : 24, "max" : 24,  
> > "queue\_size" : "1k" }, "percolate" : {  
> > "type" : "fixed", "min" : 8, "max" : 8,  
> > "queue\_size" : "1k" }, "management" : { "type" :  
> > "scaling", "min" : 1, "max" : 5, "keep\_alive"  
> > : "5m" }, "refresh" : { "type" : "scaling",  
> > "min" : 1, "max" : 4, "keep\_alive" : "5m" }  
> > }, "network" : { "refresh\_interval\_in\_millis" : 5000,  
> > "primary\_interface" : { "address" : "192.99.5.98",  
> > "name" : "eth0", "mac\_address" : "08:60:6E:E5:C1:CE" }  
> > }, "transport" : { "bound\_address" :  
> > "inet[/0:0:0:0:0:0:0:0:9300]", "publish\_address" : "inet[/  
> > 192.99.5.98:9300]" }, "http" : { "bound\_address" :  
> > "inet[/0:0:0:0:0:0:0:0:9299]", "publish\_address" : "inet[/  
> > 192.99.5.98:9299]", "max\_content\_length\_in\_bytes" : 104857600  
> > }, "plugins" : [ { "name" : "marvel", "version" :  
> > "NA", "description" : "No description found.", "url" :  
> > "/\_plugin/marvel/", "jvm" : false, "site" : true }, {  
> > "name" : "paramedic", "version" : "NA",  
> > "description" : "No description found.", "url" :  
> > "/\_plugin/paramedic/", "jvm" : false, "site" : true }  
> > ] }, "gzaTyhMMSZyuQEJZhlhR-Q" : { "name" : "Host80",  
> > "transport\_address" : "inet[/192.99.9.80:9300]", "host" : "  
> > [ns501551.ip-192-99-9.net](http://ns501551.ip-192-99-9.net)", "ip" : "192.99.9.80", "version" :  
> > "1.2.2", "build" : "9902f08", "http\_address" : "inet[/  
> > 192.99.9.80:9299]", "attributes" : { "master" : "true"  
> > }, "settings" : { "threadpool" : { "index" : {  
> > "type" : "fixed", "queue\_size" : "1000",  
> > "size" : "50" } }, "node" : { "data" :  
> > "true", "master" : "true", "name" : "Host80" },  
> > "index" : { "number\_of\_replicas" : "1",  
> > "number\_of\_shards" : "50" }, "http" : { "port" :  
> > "9299" }, "name" : "Host80", "path" : {  
> > "logs" : "/home/elasticsearch/logs", "home" :  
> > "/home/elasticsearch" }, "indices" : { "recovery"  
> > : { "max\_bytes\_per\_sec" : "200mb" } },  
> > "cluster" : { "name" : "zocialinc" }, "script" : {  
> > "disable\_dynamic" : "false" }, "discovery" : {  
> > "zen" : { "minimum\_master\_nodes" : "3", "ping"  
> > : { "unicast" : { "hosts" : [ "192.99.5.98",  
> > "198.27.70.88" ] }, "multicast" : {  
> > "enabled" : "false" }, "timeout" : "30s"  
> > } } }, "foreground" : "yes" },  
> > "os" : { "refresh\_interval\_in\_millis" : 1000,  
> > "available\_processors" : 8, "cpu" : { "vendor" : "Intel",  
> > "model" : "Xeon", "mhz" : 3800, "total\_cores" :  
> > 8, "total\_sockets" : 8, "cores\_per\_socket" : 16,  
> > "cache\_size\_in\_bytes" : 8192 }, "mem" : {  
> > "total\_in\_bytes" : 33628487680 }, "swap" : {  
> > "total\_in\_bytes" : 1071636480 } }, "process" : {  
> > "refresh\_interval\_in\_millis" : 1000, "id" : 29729,  
> > "max\_file\_descriptors" : 4096, "mlockall" : false },  
> > "jvm" : { "pid" : 29729, "version" : "1.7.0\_55",  
> > "vm\_name" : "OpenJDK 64-Bit Server VM", "vm\_version" : "24.51-b03"  
> > , "vm\_vendor" : "Oracle Corporation",  
> > "start\_time\_in\_millis" : 1405999092155, "mem" : {  
> > "heap\_init\_in\_bytes" : 19327352832, "heap\_max\_in\_bytes" :  
> > 19257622528, "non\_heap\_init\_in\_bytes" : 24313856,  
> > "non\_heap\_max\_in\_bytes" : 224395264, "direct\_max\_in\_bytes" :  
> > 19257622528 }, "gc\_collectors" : [ "ParNew",  
> > "ConcurrentMarkSweep" ], "memory\_pools" : [ "Code Cache", "Par  
> > Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ]  
> > }, "thread\_pool" : { "generic" : { "type" : "cached"  
> > , "keep\_alive" : "30s" }, "index" : {  
> > "type" : "fixed", "min" : 50, "max" : 50,  
> > "queue\_size" : "1k" }, "snapshot\_data" : { "type"  
> > : "scaling", "min" : 1, "max" : 5,  
> > "keep\_alive" : "5m" }, "bench" : { "type" :  
> > "scaling", "min" : 1, "max" : 4, "keep\_alive"  
> > : "5m" }, "get" : { "type" : "fixed",  
> > "min" : 8, "max" : 8, "queue\_size" : "1k" },  
> > "snapshot" : { "type" : "scaling", "min" : 1,  
> > "max" : 4, "keep\_alive" : "5m" }, "merge" : {  
> > "type" : "scaling", "min" : 1, "max" : 4,  
> > "keep\_alive" : "5m" }, "suggest" : { "type" :  
> > "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> > "1k" }, "bulk" : { "type" : "fixed",  
> > "min" : 8, "max" : 8, "queue\_size" : "50" },  
> > "optimize" : { "type" : "fixed", "min" : 1,  
> > "max" : 1 }, "warmer" : { "type" : "scaling",  
> > "min" : 1, "max" : 4, "keep\_alive" : "5m"  
> > }, "flush" : { "type" : "scaling", "min" : 1,  
> > "max" : 4, "keep\_alive" : "5m" }, "search"  
> > : { "type" : "fixed", "min" : 24, "max" : 24,  
> > "queue\_size" : "1k" }, "percolate" : {  
> > "type" : "fixed", "min" : 8, "max" : 8,  
> > "queue\_size" : "1k" }, "management" : { "type" :  
> > "scaling", "min" : 1, "max" : 5, "keep\_alive"  
> > : "5m" }, "refresh" : { "type" : "scaling",  
> > "min" : 1, "max" : 4, "keep\_alive" : "5m" }  
> > }, "network" : { "refresh\_interval\_in\_millis" : 5000,  
> > "primary\_interface" : { "address" : "192.99.9.80",  
> > "name" : "eth0", "mac\_address" : "70:54:D2:19:BA:B7" }  
> > }, "transport" : { "bound\_address" :  
> > "inet[/0:0:0:0:0:0:0:0%0:9300]", "publish\_address" : "inet[/  
> > 192.99.9.80:9300]" }, "http" : { "bound\_address" :  
> > "inet[/0:0:0:0:0:0:0:0%0:9299]", "publish\_address" : "inet[/  
> > 192.99.9.80:9299]", "max\_content\_length\_in\_bytes" : 104857600  
> > }, "plugins" : [ { "name" : "marvel", "version" :  
> > "NA", "description" : "No description found.", "url" :  
> > "/\_plugin/marvel/", "jvm" : false, "site" : true } ]  
> > }, "sQEMBQGMT1eyDrPwF-xGeA" : { "name" : "Host88",  
> > "transport\_address" : "inet[/198.27.70.88:9300]", "host" : "  
> > [ns4008677.ip-198-27-70.net](http://ns4008677.ip-198-27-70.net)", "ip" : "198.27.70.88", "version" :  
> > "1.1.1", "build" : "f1585f0", "http\_address" : "inet[/  
> > 198.27.70.88:9200]", "attributes" : { "master" : "true"  
> > }, "settings" : { "threadpool" : { "index" : {  
> > "type" : "fixed", "queue\_size" : "1000",  
> > "size" : "50" } }, "node" : { "data" :  
> > "true", "master" : "true", "name" : "Host88" },  
> > "index" : { "number\_of\_replicas" : "1",  
> > "number\_of\_shards" : "50" }, "name" : "Host88",  
> > "pidfile" : "/var/run/elasticsearch/elasticsearch.pid", "path" : {  
> > "data" : "/var/lib/elasticsearch", "work" :  
> > "/tmp/elasticsearch", "home" : "/usr/share/elasticsearch",  
> > "conf" : "/etc/elasticsearch", "logs" :  
> > "/var/log/elasticsearch" }, "indices" : {  
> > "recovery" : { "max\_bytes\_per\_sec" : "200mb" }  
> > }, "cluster" : { "name" : "zocialinc" },  
> > "script" : { "disable\_dynamic" : "false" },  
> > "discovery" : { "zen" : { "minimum\_master\_nodes" :  
> > "2", "ping" : { "unicast" : {  
> > "hosts" : ["192.99.5.98", "192.99.9.80"] },  
> > "multicast" : { "enabled" : "false" },  
> > "timeout" : "30s" } } },  
> > "foreground" : "yes" }, "os" : {  
> > "refresh\_interval\_in\_millis" : 1000, "available\_processors" : 8,  
> > "cpu" : { "vendor" : "Intel", "model" : "Xeon",  
> > "mhz" : 3392, "total\_cores" : 8, "total\_sockets"  
> > : 8, "cores\_per\_socket" : 16, "cache\_size\_in\_bytes" :  
> > 8192 }, "mem" : { "total\_in\_bytes" : 33700106240  
> > }, "swap" : { "total\_in\_bytes" : 17177755648  
> > } }, "process" : { "refresh\_interval\_in\_millis" : 1000,  
> > "id" : 2142, "max\_file\_descriptors" : 65535,  
> > "mlockall" : false }, "jvm" : { "pid" : 2142,  
> > "version" : "1.7.0\_25", "vm\_name" : "Java HotSpot(TM) 64-Bit  
> > Server VM", "vm\_version" : "23.25-b01", "vm\_vendor" : "Oracle  
> > Corporation", "start\_time\_in\_millis" : 1406231783559, "mem"  
> > : { "heap\_init\_in\_bytes" : 19327352832,  
> > "heap\_max\_in\_bytes" : 19257622528, "non\_heap\_init\_in\_bytes" :  
> > 24313856, "non\_heap\_max\_in\_bytes" : 136314880,  
> > "direct\_max\_in\_bytes" : 19257622528 }, "gc\_collectors" : [  
> > "ParNew", "ConcurrentMarkSweep" ], "memory\_pools" : [ "Code Cache"  
> > , "Par Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen" ]  
> > }, "thread\_pool" : { "generic" : { "type" :  
> > "cached", "keep\_alive" : "30s" }, "index" : {  
> > "type" : "fixed", "min" : 50, "max" : 50,  
> > "queue\_size" : "1k" }, "get" : { "type" : "fixed"  
> > , "min" : 8, "max" : 8, "queue\_size" : "1k"  
> > }, "snapshot" : { "type" : "scaling", "min"  
> > : 1, "max" : 4, "keep\_alive" : "5m" },  
> > "merge" : { "type" : "scaling", "min" : 1,  
> > "max" : 4, "keep\_alive" : "5m" }, "suggest" : {  
> > "type" : "fixed", "min" : 8, "max" : 8,  
> > "queue\_size" : "1k" }, "bulk" : { "type" :  
> > "fixed", "min" : 8, "max" : 8, "queue\_size" :  
> > "50" }, "optimize" : { "type" : "fixed",  
> > "min" : 1, "max" : 1 }, "warmer" : {  
> > "type" : "scaling", "min" : 1, "max" : 4,  
> > "keep\_alive" : "5m" }, "flush" : { "type" :  
> > "scaling", "min" : 1, "max" : 4, "keep\_alive"  
> > : "5m" }, "search" : { "type" : "fixed",  
> > "min" : 24, "max" : 24, "queue\_size" : "1k" },  
> > "percolate" : { "type" : "fixed", "min" : 8,  
> > "max" : 8, "queue\_size" : "1k" },  
> > "management" : { "type" : "scaling", "min" : 1,  
> > "max" : 5, "keep\_alive" : "5m" }, "refresh" : {  
> > "type" : "scaling", "min" : 1, "max" : 4,  
> > "keep\_alive" : "5m" } }, "network" : {  
> > "refresh\_interval\_in\_millis" : 5000, "primary\_interface" : {  
> > "address" : "198.27.70.88", "name" : "eth0",  
> > "mac\_address" : "70:54:D2:1A:9F:5B" } }, "transport" : {  
> > "bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9300]",  
> > "publish\_address" : "inet[/198.27.70.88:9300]" }, "http" : {  
> > "bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9200]",  
> > "publish\_address" : "inet[/198.27.70.88:9200]",  
> > "max\_content\_length\_in\_bytes" : 104857600 }, "plugins" : [ {  
> > "name" : "HQ", "version" : "NA", "description" : "No  
> > description found.", "url" : "/\_plugin/HQ/", "jvm" : false,  
> > "site" : true }, { "name" : "head", "version" :  
> > "NA", "description" : "No description found.", "url" :  
> > "/\_plugin/head/", "jvm" : false, "site" : true } ]  
> > } }}
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624bjPkxfP-q-BivRm0T%2BkeXXQPmM1LdT%3DVZW%2Bu9Yz3D2zA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bjPkxfP-q-BivRm0T%2BkeXXQPmM1LdT%3DVZW%2Bu9Yz3D2zA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624bjPkxfP-q-BivRm0T%2BkeXXQPmM1LdT%3DVZW%2Bu9Yz3D2zA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624bjPkxfP-q-BivRm0T%2BkeXXQPmM1LdT%3DVZW%2Bu9Yz3D2zA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEf2VLUdbk3dJgqSFCvGw42i%2BK2gnNWHkVGW5p681bazA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEf2VLUdbk3dJgqSFCvGw42i%2BK2gnNWHkVGW5p681bazA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 25, 2014, 9:33am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node-and-how-to-increase-performance-for-my-elasticsearch-cluster/18892/5 "2014-07-25T09:33:48Z")

</div>

It is not recommend to use only one master node and just two data nodes. This is very prone to errors and split brains.

Just a note: having one master eligible node only won't lead to a split brain issue but will totally block your cluster (read/write) when your master will be down.

As Jörg said, I'd recommend at least 3 master eligible nodes for production usage.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 25 juillet 2014 à 09:51:47, [joergprante@gmail.com](mailto:joergprante@gmail.com) ([joergprante@gmail.com](mailto:joergprante@gmail.com)) a écrit:

It is not recommend to use only one master node and just two data nodes. This is very prone to errors and split brains.

The rule is:

- use at least one master eligible node for fault tolerance between master nodes: 2,3,4,...

- use more than two, but an odd number of data nodes (to fulfill the odd number of nodes rule for quorum): i.e. 3,5,7,...

- make sure at every time that every master node can see "at least half of the data nodes plus one", to guarantee consistency while writing

- add or remove replica levels (at least replica level 1) and data nodes for scaling as you like

You should also combine master and data nodes for simplicity of setup, this is Elastiscearch default.

This means that you can go on with three master/data nodes.

Only if you have large dynamic cluster states (field numbers, mappings for example), that are competing for large heap resources, you should consider to dedicate nodes being a master. This is because dedicate master node can process cluster state changes faster.

Jörg

On Fri, Jul 25, 2014 at 9:34 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com) wrote:  
If you can have 3 nodes, make all 3 master and data, that way you don't waste resources on a master only and you gain some protection against split brain.  
You really only want/need a master only when you start getting into the 10-20 node count.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 25 July 2014 17:18, Warat Wongmaneekit [canopybanj@gmail.com](mailto:canopybanj@gmail.com) wrote:  
We have 3 nodes of elastic search all nodes is mater=true and data=true. When we try to find the best practice almost is recommend to setup 1 node for master=true,data=false and another 2 nodes is master=false,data=true. So if we need to change it how going on with current master node. It will be automatic allocation? or we have to delete and insert data again?

For another question Do you have any configuration suggestion detail is bellow

Hard ward for all nodes  
CPU 3.4 8 core  
Ram 32 GB  
HDD raid 0 1TB  
Current heap size 18GB  
Elasticsearch Data 160GB | 108,190,284 records

Our node setting

{  
"cluster\_name" : "zocialinc",  
"nodes" : {  
"WEbhsuSQQeCvYI\_s3I\_E0A" : {  
"name" : "Host98",  
"transport\_address" : "inet[/192.99.5.98:9300]",  
"host" : "[ns5000258.ip-192-99-5.net](http://ns5000258.ip-192-99-5.net)",  
"ip" : "192.99.5.98",  
"version" : "1.2.2",  
"build" : "9902f08",  
"http\_address" : "inet[/192.99.5.98:9299]",  
"attributes" : {  
"master" : "true"  
},  
"settings" : {  
"threadpool" : {  
"index" : {  
"type" : "fixed",  
"queue\_size" : "1000",  
"size" : "50"  
}  
},  
"node" : {  
"data" : "true",  
"master" : "true",  
"name" : "Host98"  
},  
"index" : {  
"number\_of\_replicas" : "1",  
"number\_of\_shards" : "50"  
},  
"http" : {  
"port" : "9299"  
},  
"name" : "Host98",  
"path" : {  
"logs" : "/home/elasticsearch/logs",  
"home" : "/home/elasticsearch",  
"conf" : "/home/elasticsearch/config"  
},  
"indices" : {  
"recovery" : {  
"max\_bytes\_per\_sec" : "200mb"  
}  
},  
"cluster" : {  
"name" : "zocialinc"  
},  
"script" : {  
"disable\_dynamic" : "false"  
},  
"discovery" : {  
"zen" : {  
"minimum\_master\_nodes" : "3",  
"ping" : {  
"unicast" : {  
"hosts" : ["192.99.9.80", "198.27.70.88"]  
},  
"multicast" : {  
"enabled" : "false"  
},  
"timeout" : "30s"  
}  
}  
},  
"foreground" : "yes"  
},  
"os" : {  
"refresh\_interval\_in\_millis" : 1000,  
"available\_processors" : 8,  
"cpu" : {  
"vendor" : "Intel",  
"model" : "Xeon",  
"mhz" : 3800,  
"total\_cores" : 8,  
"total\_sockets" : 8,  
"cores\_per\_socket" : 16,  
"cache\_size\_in\_bytes" : 8192  
},  
"mem" : {  
"total\_in\_bytes" : 33705795584  
},  
"swap" : {  
"total\_in\_bytes" : 1071636480  
}  
},  
"process" : {  
"refresh\_interval\_in\_millis" : 1000,  
"id" : 27487,  
"max\_file\_descriptors" : 4096,  
"mlockall" : false  
},  
"jvm" : {  
"pid" : 27487,  
"version" : "1.7.0\_65",  
"vm\_name" : "OpenJDK 64-Bit Server VM",  
"vm\_version" : "24.65-b04",  
"vm\_vendor" : "Oracle Corporation",  
"start\_time\_in\_millis" : 1406002559510,  
"mem" : {  
"heap\_init\_in\_bytes" : 19327352832,  
"heap\_max\_in\_bytes" : 19257622528,  
"non\_heap\_init\_in\_bytes" : 24313856,  
"non\_heap\_max\_in\_bytes" : 224395264,  
"direct\_max\_in\_bytes" : 19257622528  
},  
"gc\_collectors" : ["ParNew", "ConcurrentMarkSweep"],  
"memory\_pools" : ["Code Cache", "Par Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen"]  
},  
"thread\_pool" : {  
"generic" : {  
"type" : "cached",  
"keep\_alive" : "30s"  
},  
"index" : {  
"type" : "fixed",  
"min" : 50,  
"max" : 50,  
"queue\_size" : "1k"  
},  
"snapshot\_data" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 5,  
"keep\_alive" : "5m"  
},  
"bench" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"get" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"snapshot" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"merge" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"suggest" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"bulk" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "50"  
},  
"optimize" : {  
"type" : "fixed",  
"min" : 1,  
"max" : 1  
},  
"warmer" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"flush" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"search" : {  
"type" : "fixed",  
"min" : 24,  
"max" : 24,  
"queue\_size" : "1k"  
},  
"percolate" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"management" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 5,  
"keep\_alive" : "5m"  
},  
"refresh" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
}  
},  
"network" : {  
"refresh\_interval\_in\_millis" : 5000,  
"primary\_interface" : {  
"address" : "192.99.5.98",  
"name" : "eth0",  
"mac\_address" : "08:60:6E:E5:C1:CE"  
}  
},  
"transport" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0:9300]",  
"publish\_address" : "inet[/192.99.5.98:9300]"  
},  
"http" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0:9299]",  
"publish\_address" : "inet[/192.99.5.98:9299]",  
"max\_content\_length\_in\_bytes" : 104857600  
},  
"plugins" : [ {  
"name" : "marvel",  
"version" : "NA",  
"description" : "No description found.",  
"url" : "/\_plugin/marvel/",  
"jvm" : false,  
"site" : true  
}, {  
"name" : "paramedic",  
"version" : "NA",  
"description" : "No description found.",  
"url" : "/\_plugin/paramedic/",  
"jvm" : false,  
"site" : true  
} ]  
},  
"gzaTyhMMSZyuQEJZhlhR-Q" : {  
"name" : "Host80",  
"transport\_address" : "inet[/192.99.9.80:9300]",  
"host" : "[ns501551.ip-192-99-9.net](http://ns501551.ip-192-99-9.net)",  
"ip" : "192.99.9.80",  
"version" : "1.2.2",  
"build" : "9902f08",  
"http\_address" : "inet[/192.99.9.80:9299]",  
"attributes" : {  
"master" : "true"  
},  
"settings" : {  
"threadpool" : {  
"index" : {  
"type" : "fixed",  
"queue\_size" : "1000",  
"size" : "50"  
}  
},  
"node" : {  
"data" : "true",  
"master" : "true",  
"name" : "Host80"  
},  
"index" : {  
"number\_of\_replicas" : "1",  
"number\_of\_shards" : "50"  
},  
"http" : {  
"port" : "9299"  
},  
"name" : "Host80",  
"path" : {  
"logs" : "/home/elasticsearch/logs",  
"home" : "/home/elasticsearch"  
},  
"indices" : {  
"recovery" : {  
"max\_bytes\_per\_sec" : "200mb"  
}  
},  
"cluster" : {  
"name" : "zocialinc"  
},  
"script" : {  
"disable\_dynamic" : "false"  
},  
"discovery" : {  
"zen" : {  
"minimum\_master\_nodes" : "3",  
"ping" : {  
"unicast" : {  
"hosts" : ["192.99.5.98", "198.27.70.88"]  
},  
"multicast" : {  
"enabled" : "false"  
},  
"timeout" : "30s"  
}  
}  
},  
"foreground" : "yes"  
},  
"os" : {  
"refresh\_interval\_in\_millis" : 1000,  
"available\_processors" : 8,  
"cpu" : {  
"vendor" : "Intel",  
"model" : "Xeon",  
"mhz" : 3800,  
"total\_cores" : 8,  
"total\_sockets" : 8,  
"cores\_per\_socket" : 16,  
"cache\_size\_in\_bytes" : 8192  
},  
"mem" : {  
"total\_in\_bytes" : 33628487680  
},  
"swap" : {  
"total\_in\_bytes" : 1071636480  
}  
},  
"process" : {  
"refresh\_interval\_in\_millis" : 1000,  
"id" : 29729,  
"max\_file\_descriptors" : 4096,  
"mlockall" : false  
},  
"jvm" : {  
"pid" : 29729,  
"version" : "1.7.0\_55",  
"vm\_name" : "OpenJDK 64-Bit Server VM",  
"vm\_version" : "24.51-b03",  
"vm\_vendor" : "Oracle Corporation",  
"start\_time\_in\_millis" : 1405999092155,  
"mem" : {  
"heap\_init\_in\_bytes" : 19327352832,  
"heap\_max\_in\_bytes" : 19257622528,  
"non\_heap\_init\_in\_bytes" : 24313856,  
"non\_heap\_max\_in\_bytes" : 224395264,  
"direct\_max\_in\_bytes" : 19257622528  
},  
"gc\_collectors" : ["ParNew", "ConcurrentMarkSweep"],  
"memory\_pools" : ["Code Cache", "Par Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen"]  
},  
"thread\_pool" : {  
"generic" : {  
"type" : "cached",  
"keep\_alive" : "30s"  
},  
"index" : {  
"type" : "fixed",  
"min" : 50,  
"max" : 50,  
"queue\_size" : "1k"  
},  
"snapshot\_data" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 5,  
"keep\_alive" : "5m"  
},  
"bench" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"get" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"snapshot" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"merge" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"suggest" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"bulk" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "50"  
},  
"optimize" : {  
"type" : "fixed",  
"min" : 1,  
"max" : 1  
},  
"warmer" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"flush" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"search" : {  
"type" : "fixed",  
"min" : 24,  
"max" : 24,  
"queue\_size" : "1k"  
},  
"percolate" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"management" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 5,  
"keep\_alive" : "5m"  
},  
"refresh" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
}  
},  
"network" : {  
"refresh\_interval\_in\_millis" : 5000,  
"primary\_interface" : {  
"address" : "192.99.9.80",  
"name" : "eth0",  
"mac\_address" : "70:54:D2:19:BA:B7"  
}  
},  
"transport" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9300]",  
"publish\_address" : "inet[/192.99.9.80:9300]"  
},  
"http" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9299]",  
"publish\_address" : "inet[/192.99.9.80:9299]",  
"max\_content\_length\_in\_bytes" : 104857600  
},  
"plugins" : [ {  
"name" : "marvel",  
"version" : "NA",  
"description" : "No description found.",  
"url" : "/\_plugin/marvel/",  
"jvm" : false,  
"site" : true  
} ]  
},  
"sQEMBQGMT1eyDrPwF-xGeA" : {  
"name" : "Host88",  
"transport\_address" : "inet[/198.27.70.88:9300]",  
"host" : "[ns4008677.ip-198-27-70.net](http://ns4008677.ip-198-27-70.net)",  
"ip" : "198.27.70.88",  
"version" : "1.1.1",  
"build" : "f1585f0",  
"http\_address" : "inet[/198.27.70.88:9200]",  
"attributes" : {  
"master" : "true"  
},  
"settings" : {  
"threadpool" : {  
"index" : {  
"type" : "fixed",  
"queue\_size" : "1000",  
"size" : "50"  
}  
},  
"node" : {  
"data" : "true",  
"master" : "true",  
"name" : "Host88"  
},  
"index" : {  
"number\_of\_replicas" : "1",  
"number\_of\_shards" : "50"  
},  
"name" : "Host88",  
"pidfile" : "/var/run/elasticsearch/elasticsearch.pid",  
"path" : {  
"data" : "/var/lib/elasticsearch",  
"work" : "/tmp/elasticsearch",  
"home" : "/usr/share/elasticsearch",  
"conf" : "/etc/elasticsearch",  
"logs" : "/var/log/elasticsearch"  
},  
"indices" : {  
"recovery" : {  
"max\_bytes\_per\_sec" : "200mb"  
}  
},  
"cluster" : {  
"name" : "zocialinc"  
},  
"script" : {  
"disable\_dynamic" : "false"  
},  
"discovery" : {  
"zen" : {  
"minimum\_master\_nodes" : "2",  
"ping" : {  
"unicast" : {  
"hosts" : ["192.99.5.98", "192.99.9.80"]  
},  
"multicast" : {  
"enabled" : "false"  
},  
"timeout" : "30s"  
}  
}  
},  
"foreground" : "yes"  
},  
"os" : {  
"refresh\_interval\_in\_millis" : 1000,  
"available\_processors" : 8,  
"cpu" : {  
"vendor" : "Intel",  
"model" : "Xeon",  
"mhz" : 3392,  
"total\_cores" : 8,  
"total\_sockets" : 8,  
"cores\_per\_socket" : 16,  
"cache\_size\_in\_bytes" : 8192  
},  
"mem" : {  
"total\_in\_bytes" : 33700106240  
},  
"swap" : {  
"total\_in\_bytes" : 17177755648  
}  
},  
"process" : {  
"refresh\_interval\_in\_millis" : 1000,  
"id" : 2142,  
"max\_file\_descriptors" : 65535,  
"mlockall" : false  
},  
"jvm" : {  
"pid" : 2142,  
"version" : "1.7.0\_25",  
"vm\_name" : "Java HotSpot(TM) 64-Bit Server VM",  
"vm\_version" : "23.25-b01",  
"vm\_vendor" : "Oracle Corporation",  
"start\_time\_in\_millis" : 1406231783559,  
"mem" : {  
"heap\_init\_in\_bytes" : 19327352832,  
"heap\_max\_in\_bytes" : 19257622528,  
"non\_heap\_init\_in\_bytes" : 24313856,  
"non\_heap\_max\_in\_bytes" : 136314880,  
"direct\_max\_in\_bytes" : 19257622528  
},  
"gc\_collectors" : ["ParNew", "ConcurrentMarkSweep"],  
"memory\_pools" : ["Code Cache", "Par Eden Space", "Par Survivor Space", "CMS Old Gen", "CMS Perm Gen"]  
},  
"thread\_pool" : {  
"generic" : {  
"type" : "cached",  
"keep\_alive" : "30s"  
},  
"index" : {  
"type" : "fixed",  
"min" : 50,  
"max" : 50,  
"queue\_size" : "1k"  
},  
"get" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"snapshot" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"merge" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"suggest" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"bulk" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "50"  
},  
"optimize" : {  
"type" : "fixed",  
"min" : 1,  
"max" : 1  
},  
"warmer" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"flush" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
},  
"search" : {  
"type" : "fixed",  
"min" : 24,  
"max" : 24,  
"queue\_size" : "1k"  
},  
"percolate" : {  
"type" : "fixed",  
"min" : 8,  
"max" : 8,  
"queue\_size" : "1k"  
},  
"management" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 5,  
"keep\_alive" : "5m"  
},  
"refresh" : {  
"type" : "scaling",  
"min" : 1,  
"max" : 4,  
"keep\_alive" : "5m"  
}  
},  
"network" : {  
"refresh\_interval\_in\_millis" : 5000,  
"primary\_interface" : {  
"address" : "198.27.70.88",  
"name" : "eth0",  
"mac\_address" : "70:54:D2:1A:9F:5B"  
}  
},  
"transport" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9300]",  
"publish\_address" : "inet[/198.27.70.88:9300]"  
},  
"http" : {  
"bound\_address" : "inet[/0:0:0:0:0:0:0:0%0:9200]",  
"publish\_address" : "inet[/198.27.70.88:9200]",  
"max\_content\_length\_in\_bytes" : 104857600  
},  
"plugins" : [ {  
"name" : "HQ",  
"version" : "NA",  
"description" : "No description found.",  
"url" : "/\_plugin/HQ/",  
"jvm" : false,  
"site" : true  
}, {  
"name" : "head",  
"version" : "NA",  
"description" : "No description found.",  
"url" : "/\_plugin/head/",  
"jvm" : false,  
"site" : true  
} ]  
}  
}  
}

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2cf85406-e99a-48d0-8ae7-343fb27c4ee6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624bjPkxfP-q-BivRm0T%2BkeXXQPmM1LdT%3DVZW%2Bu9Yz3D2zA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bjPkxfP-q-BivRm0T%2BkeXXQPmM1LdT%3DVZW%2Bu9Yz3D2zA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEf2VLUdbk3dJgqSFCvGw42i%2BK2gnNWHkVGW5p681bazA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEf2VLUdbk3dJgqSFCvGw42i%2BK2gnNWHkVGW5p681bazA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.53d2247c.75c6c33a.13e40%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.53d2247c.75c6c33a.13e40%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:13am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node-and-how-to-increase-performance-for-my-elasticsearch-cluster/18892/6 "2017-07-06T01:13:07Z")

</div>


