content/enterprise_influxdb/v1/administration/manage/renaming.md
The following instructions allow you to rename a host within your InfluxDB Enterprise instance.
First, suspend write and query activity to the cluster.
curl localhost:8091/status. The leader field in the JSON output reports the leader meta node. We will start with the two meta nodes that are not leaders.influxd-ctl remove-meta. Once removed, confirm by running influxd-ctl show on the meta leader.influxd-ctl add-meta newmetanode:8091. Confirm with influxd-ctl showcurl localhost:8091/status.influxd-ctl show. The version must be reported on all nodes for them to be healthy.curl localhost:8091/status and that all meta nodes list the rest in the output./var/lib/influxdb/meta/client.json on all data nodes references the new meta names.show shards output lists all shards and node ownership as expected.curl localhost:8091/status. The leader field in the JSON output reports the leader meta node.hostname under /etc/influxdb/influxdb.conf.influxd-ctl update-data oldname:8088 newname:8088. Upon success you will get a message updated data node ID to newname:8088.influxd-ctl show on the meta node leader. Verify there are no errors in the logs of the updated data node and other data nodes. Restart the service on the updated data node. Verify writes, replication and queries work as expected.update-data command from the meta leader.influxd-ctl show. The version must be reported on all nodes for them to be healthy.show shards output lists all shards and node ownership as expected.Once you've performed the verification steps, resume write and query activity.