I have two Red Hat installed ES 7.9.1 nodes (build type: tar) in my environment, joined to same cluster.
Suppose one of the Red Hat nodes should only have private IP 10.121.0.2, somehow there is another private IP 10.121.0.12 within the same network interface, and it should be removed.
I checked the connection with lsof, and found out that 10.121.0.12 is being used by Elastic Search, I called the api to check _cluster/state, found out the node transport address is using 10.121.0.12:9200, I want to change it back to 10.121.0.2 and remove the IP on OS level. How do I update the transport address? Or I can just remove the IP on OS level and Elastic Search will automatically use 10.121.0.2 to resume the connection in cluster?
In the elasticsearch.yml, network.host: 0.0.0.0, http.port:9200, transport.tcp.port:9700
Thank you