Created 02-06-2019 03:09 AM
I found it necessary to troubleshoot a problem enabling kerberos to modify the ambari server and cluster boxes /etc/hostname from name.example.com to name.corp.example.com
I also edited the /etc/hosts on all to reflect accordingly.
I also ran ambari-server setup-security and option 1 to DISABLE the https.
How do I remove current host which are still named without *.corp.* and remake my cluster please? thanks!
Created 02-06-2019 03:28 AM
You can refer to this doc to know a way to rename the Hostnames to new Hostnames in your cluster:
Changing Host Names : https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/ch_changin...
.
HCC article: https://community.hortonworks.com/articles/137820/adopting-hostname-changes-through-ambari.html
Created 02-06-2019 03:34 AM
Similarly in order to permantly delete OLD unwanted hosts from Ambari DB please check the following article:
.
But before manipulating the Ambari DB manually better to take a fresh Ambari DB dump so that you have back to revert back.
Created 02-06-2019 04:57 PM
ambari-db-admin.pngIs there a default passwd for ambari sql? we use backend postgre but I do nto know what the passwd is for the DB.
Created 02-06-2019 05:49 PM
referencing your first link....
seems outdated from UI ....there is no Ambari Web ...Background Services as far as I can tell it is done with Host menu Actionshost-rename-issue1.pdf.... I cannot stop components, see attached.
Created 02-06-2019 09:22 PM
# ambari-server update-host-names host_names_changes.json Using python /usr/bin/python Updating host names Please, confirm Ambari services are stopped [y/n] (n)? y Please, confirm there are no pending commands on cluster [y/n] (n)? y Please, confirm you have made backup of the Ambari db [y/n] (n)? y ERROR: Error executing update host names, please check the server logs. ERROR: Exiting with exit code 1. REASON: Host names update failed.
Host name change failed using this method.
Created 02-07-2019 01:02 AM
Please share the "host_names_changes.json" file and "ambari-server.log" so that we can check if the JSOn file is correct and to know what error exactly appeared inside the ambari logs.