<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: how to change hostnames on all machines in ambari cluster? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-hostnames-on-all-machines-in-ambari-cluster/m-p/217985#M77264</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ambari provides an option as following to change the hostnames for various hosts:&lt;/P&gt;&lt;PRE&gt;# ambari-server update-host-names host_names_changes.json&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;In this case we will need to create a JSON file as mentioned in the doc: &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/ch_changing_host_names.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/ch_changing_host_names.html&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;{
  "cluster1" : {
      "c6400.ambari.apache.org" : "c6410.ambari.apache.org",
      "c6401.ambari.apache.org" : "c6411.ambari.apache.org",
     ....
  }
}&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: &lt;/STRONG&gt;Please make sure to not have Mixed case hostname OR Uppercase Hostname. Please keep all hostnames in Lowercase else you might encounter some issues. &lt;/P&gt;</description>
    <pubDate>Sun, 15 Apr 2018 17:26:54 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-04-15T17:26:54Z</dc:date>
    <item>
      <title>how to change hostnames on all machines in ambari cluster?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-hostnames-on-all-machines-in-ambari-cluster/m-p/217984#M77263</link>
      <description>&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;we have ambari cluster on customer site ( version 2.6.1 )&lt;/P&gt;&lt;P&gt;cluster include the following machines: &lt;STRONG&gt;master01 , master02 , &lt;/STRONG&gt;&lt;STRONG&gt;master03 , worker01-worker64 , kafka01 - kafka03&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;while customer want to change to these hostnames to the following:&lt;/P&gt;&lt;PRE&gt;master01-03       to JNserver01-03
worker01-worker64 to DNserver01-64
kafka01-03        to KBserver01-03&lt;/PRE&gt;&lt;P&gt;what is the procedure to change all these hostnames ?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 14:58:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-hostnames-on-all-machines-in-ambari-cluster/m-p/217984#M77263</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-04-15T14:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to change hostnames on all machines in ambari cluster?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-hostnames-on-all-machines-in-ambari-cluster/m-p/217985#M77264</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ambari provides an option as following to change the hostnames for various hosts:&lt;/P&gt;&lt;PRE&gt;# ambari-server update-host-names host_names_changes.json&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;In this case we will need to create a JSON file as mentioned in the doc: &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/ch_changing_host_names.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/ch_changing_host_names.html&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;{
  "cluster1" : {
      "c6400.ambari.apache.org" : "c6410.ambari.apache.org",
      "c6401.ambari.apache.org" : "c6411.ambari.apache.org",
     ....
  }
}&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: &lt;/STRONG&gt;Please make sure to not have Mixed case hostname OR Uppercase Hostname. Please keep all hostnames in Lowercase else you might encounter some issues. &lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 17:26:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-change-hostnames-on-all-machines-in-ambari-cluster/m-p/217985#M77264</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-15T17:26:54Z</dc:date>
    </item>
  </channel>
</rss>

