Hi,
Procedure for changing IP addresses in Energy Logserver 7.6.0 cluster:
Preparation:
- Backup: /usr/share/elasticsearch/utils/configuration-backup.shon all nodes
- Set minimum_master_nodes to 3 (if not already set)
Edit on each node** /etc/elasticsearch/elasticsearch.yml:
network.host: ["_local_", "new_IP"]
discovery.zen.ping.unicast.hosts: ["IP1:9300", "IP2:9300", "IP3:9300", "IP4:9300", "IP5:9300"]
Sequence:
- Stop: data nodes → master nodes (systemctl stop elasticsearch)
- Change IP at OS level
- Start: master nodes → data nodes (systemctl restart elasticsearch)
- Check: curl -XGET '127.0.0.1:9200/_cat/nodes?v'
If using SSL/TLS:
- Regenerate certificates via tlstool.sh(old IPs in SAN won't work)
- Update paths in config