<?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 Adding Host to a Cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157112#M119519</link>
    <description>&lt;P&gt;Hello. 
I have 2 PCs which has the same sandbox image on their VMs. I want to add one of them to other one's cluster so that I can use two CPUs at a time (if I get the idea correct) when I submit Hive queries to my Hive tables.

I have read thisdocument:
&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_Monitoring_Hadoop_Book/content/monitor-chap2-4b_2x.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_Monitoring_Hadoop_Book/content/monitor-chap2-4b_2x.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but what I'm facing is, since two VMs has the same image, they both have the same hostname, actually they are same in everyway. 
I need a detailed documentation about changing the sandbox's hostname with all the necessary steps so that the change can be applied to all other components such as DBs etc.&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_Monitoring_Hadoop_Book/content/monitor-chap2-4b_2x.html"&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2016 18:40:42 GMT</pubDate>
    <dc:creator>tuterbatuhan</dc:creator>
    <dc:date>2016-07-29T18:40:42Z</dc:date>
    <item>
      <title>Adding Host to a Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157112#M119519</link>
      <description>&lt;P&gt;Hello. 
I have 2 PCs which has the same sandbox image on their VMs. I want to add one of them to other one's cluster so that I can use two CPUs at a time (if I get the idea correct) when I submit Hive queries to my Hive tables.

I have read thisdocument:
&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_Monitoring_Hadoop_Book/content/monitor-chap2-4b_2x.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_Monitoring_Hadoop_Book/content/monitor-chap2-4b_2x.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but what I'm facing is, since two VMs has the same image, they both have the same hostname, actually they are same in everyway. 
I need a detailed documentation about changing the sandbox's hostname with all the necessary steps so that the change can be applied to all other components such as DBs etc.&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_Monitoring_Hadoop_Book/content/monitor-chap2-4b_2x.html"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 18:40:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157112#M119519</guid>
      <dc:creator>tuterbatuhan</dc:creator>
      <dc:date>2016-07-29T18:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Host to a Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157113#M119520</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12184/tuterbatuhan.html" nodeid="12184"&gt;@Batuhan Tüter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That may be too complex and error prone because changing hostname would involve updating the configs of the services, DBs etc. to point to the new hostname. &lt;/P&gt;&lt;P&gt;Two options:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start afresh: Try a vagrant based setup of two VMs where you can create a cluster with only the necessary services and number of hosts. Below link has the information:https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+Guide   This may be easier to maintain in the long run.&lt;/LI&gt;&lt;LI&gt;Instead of second Sandbox, setup a fresh VM (depending on the Hypervisor you use) and add that as a host to the first Sanbox VM cluster&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Also check this post which gives some information on hostname changes: &lt;A href="https://community.hortonworks.com/questions/20185/what-is-the-recommended-method-for-changing-hostna.html" target="_blank"&gt;https://community.hortonworks.com/questions/20185/what-is-the-recommended-method-for-changing-hostna.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Vivek&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 19:06:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157113#M119520</guid>
      <dc:creator>vsharma</dc:creator>
      <dc:date>2016-07-29T19:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Host to a Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157114#M119521</link>
      <description>&lt;P&gt;Thx, I will look into them&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 19:28:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157114#M119521</guid>
      <dc:creator>tuterbatuhan</dc:creator>
      <dc:date>2016-07-29T19:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Host to a Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157115#M119522</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/390/vsharma.html" nodeid="390" target="_blank"&gt;@vsharma&lt;/A&gt;

As you suggested, I chose the first option and installed a Vagrant image to one of my computers but the other computer still has sandbox image running inside. What I tried to do is to add the vagrant one as a host to sandbox one but it failed. 
&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6249-capture.png" style="width: 1158px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20874i239886362CD58804/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6249-capture.png" alt="6249-capture.png" /&gt;&lt;/span&gt;


I have two questions now. 
First-
On the previous page, Install Options, it asks for "your SSH Private Key". Which Private Key when it means "your", vagrant  one (c6401) or the one that I'm trying to add a host (sandbox). &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Second-
When I use the ping command from C6401 by typing the IP adress of Sandbox I get this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6250-screenshot-from-2016-08-02-11-40-49.png" style="width: 606px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20875i9452C1C4D1F768F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6250-screenshot-from-2016-08-02-11-40-49.png" alt="6250-screenshot-from-2016-08-02-11-40-49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;which shows no error. But when I do the same from sandbox to c6401 I get 100% packet loss, with no connection.

I assume that I cannot add c6401 to sandbox for now and I should have both computers to run similar vagrant images but just asking for if there is any other method?&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:18:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157115#M119522</guid>
      <dc:creator>tuterbatuhan</dc:creator>
      <dc:date>2019-08-18T12:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Host to a Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157116#M119523</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12184/tuterbatuhan.html" nodeid="12184"&gt;@Batuhan Tüter&lt;/A&gt; &lt;/P&gt;&lt;P&gt;For #1, the key should be the private key you use to ssh from sandbox (ambari-server host) to vagrant VM. In case its not yet setup, you may use "ssh-keygen -t rsa" to setup a keypair for ssh login&lt;/P&gt;&lt;P&gt;For #2, from sandbox see if firewall is running (service iptables status). If yes, stop and retry the ping check. The other option would be to check the virtual networking on the two VMs - are they pointing to the same Virtual switch etc.?&lt;/P&gt;&lt;P&gt;-Vivek&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 18:19:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Adding-Host-to-a-Cluster/m-p/157116#M119523</guid>
      <dc:creator>vsharma</dc:creator>
      <dc:date>2016-08-02T18:19:37Z</dc:date>
    </item>
  </channel>
</rss>

