Switch Master Nodes (ES 1.5.2)

Hi there,

current setup: two master only nodes with 6 data nodes.
new setup: three master only nodes with 6 data nodes.
I use discovery.zen.ping.unicast.hosts and discovery.zen.ping.multicast.enabled: false.
Besides this: upgrading to a newer version of es is currently not an option.

I want to change the master nodes completely. For me this would mean, shutdown the whole cluster. Change the elasticsearch.yml of the data only nodes (6) to the new three masternodes. Start the master nodes and then start all data nodes. The old master remain shutdown.

Does this work as expected? I cannot find any clear information from the documentation.

I appreciate you help,

Kind regards
pyloor

You are better off adding the new master and letting it take control, then removing the old ones and then replacing them.

How do I add a new master? As far as I understand it, I have to setup a master only node and change the settings of the datanodes (adding the third master to the discovery.zen.ping.unicast.hosts setting. Is this correct?

Ok it seems i was a blockhead. I had to add the old master by the discovery.zen.ping.unicast.hosts. Now they are added to the cluster. Thanks for you advice, now I see clear.