Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to change the host name, IP and domain name of a running HDP cluster?

avatar
Contributor

Dear Team,

Presently an Ambari managed HDP cluster is running perfectly alright. Due to a change of ownership of the infrastructure, there is a change in the IP ranges, hostnames and domain names of the hosts.

So, I have to apply the changes while the cluster is running as usual (or may be with a minimal outages.)

Someone might have done this exercise before. Please share any reference links and/or steps you might have documented.

Do we have any scripts already come with the installation?

Thanks in advance.

The following information may help:

Ambari version 2.4.x

HDP version 2.5

Kerberos - Not Enabled

AD integrated - Yes

SSL certificates - None

Thanks

Surya

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Surya Rao

FQDN is recommended for reasons like changing IP in the environment does not require any changes in the cluster or users does not need to have local /etc/hosts in their env to reach the cluster.

From ambari side although you can change the hostnames as mentioned in : https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-reference/content/ch_changing_ho...

ambari-server update-host-names host_names_changes.json

.

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@Surya Rao

FQDN is recommended for reasons like changing IP in the environment does not require any changes in the cluster or users does not need to have local /etc/hosts in their env to reach the cluster.

From ambari side although you can change the hostnames as mentioned in : https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-reference/content/ch_changing_ho...

ambari-server update-host-names host_names_changes.json

.

avatar
Master Mentor

@Surya Rao

Although It is strongly recommended to not change hostname/IPAddress of HDP cluster nodes. Hortonworks support / engineering assistance might be needed in such scenario as it might impact the whole cluster.

.

You also might want to refer to the following article:

https://community.hortonworks.com/content/supportkb/48815/how-to-change-ip-address-for-a-datanode.ht...