Change cluster name in elastic search

Amogh Banta picture Amogh Banta · Jan 21, 2016 · Viewed 9.2k times · Source

How to rename the current cluster in elasticsearch config?

i want to rename the cluster without it going down if possible.

Answer

Pandiyan Cool picture Pandiyan Cool · Jan 21, 2016

If you are having multi nodes cluster means, you can try updating cluster names in config file & directory name (if replicas enabled) one by one nodes; which is similar to rolling upgrade of the Elasticsearch.

if you are using single node cluster means, you can attempt changing the cluster name in config file but restart of cluster will be needed to take effect change.