We have a 7 node ES cluster (v7.17.5) and we need to change the hostnames of all nodes. I know how to do it on Linux, but, is there anything I need to change on Elasticsearch?
My elasticsearch.yml uses ip address (not hostnames), and we are not changing ips. For example:
/usr/share/elasticsearch/bin/elasticsearch-keystore list
keystore.seed
But I'm not worried about that parameter, what I'm asking if I need to change something in the Elastic Cluster when I'm changing the system hostname...
The system hostname is only used if you do not set the node.name in elasticsearch.yml, if you have set it, then it is irrelevant what is the hostname.
Also, the node name is just a human-readable identifier of the node, to know which node is which the uuid generated when started the node for the first time is used.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.