I need to change IP of one of the nodes in a cluster from public to private. On that node, will I be able to shut down elasticsearch service, change IP in the elasticsearch.yml, and restart elasticsearch service and join the cluster without any complications?
Yes, all of the nodes can reach each other via private IP.
Actually, I wanted to change all of the nodes to use private IP, so I want to modify both 1) network.host: and 2)discovery.zen.ping.unicast.hosts: to use private IP's of itself and other nodes in the cluster.
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.