<?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: Unattended/Fully automated deployment of a cluster with a Json file in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57261#M49094</link>
    <description>Thanks for your quick response mbigelow. I will try your suggestions and I will come back with my results .</description>
    <pubDate>Wed, 12 Jul 2017 07:23:19 GMT</pubDate>
    <dc:creator>dportok</dc:creator>
    <dc:date>2017-07-12T07:23:19Z</dc:date>
    <item>
      <title>Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57247#M49092</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently&amp;nbsp;I am trying to fully automate a deployment of a trivial cluster (one node cluster) by using Ansible. I found out that I have to use the cloudera-manager-installer binary and pass to it the following arguments :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--i-agree-to-all-licenses&amp;nbsp;&lt;BR /&gt;--noprompt&lt;/P&gt;&lt;P&gt;--noreadme&lt;/P&gt;&lt;P&gt;--nooptions&lt;/P&gt;&lt;P&gt;Actually it is the same like installing the following packages :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- cloudera-manager-daemons&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;-&amp;nbsp;&lt;/SPAN&gt;cloudera-manager-server&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;-&amp;nbsp;&lt;/SPAN&gt;cloudera-manager-server-db-2&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;From that point when you open your browser on port 7180, you will have to login and then follow an initial wizard. My question is how I can skip or automate the steps on this wizard and finally import a json file in order to deploy my cluster. Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 19:06:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57247#M49092</guid>
      <dc:creator>dportok</dc:creator>
      <dc:date>2017-07-11T19:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57254#M49093</link>
      <description>The CM Api is available at that point. Try the /cm/importClusterTemplate node. You may need to create a empty cluster first with /clusters. To go through the wizard try : /api/v12/clusters/{clusterName}/commands/firstRun.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://cloudera.github.io/cm_api/apidocs/v12/" target="_blank"&gt;https://cloudera.github.io/cm_api/apidocs/v12/&lt;/A&gt;</description>
      <pubDate>Wed, 12 Jul 2017 02:14:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57254#M49093</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-07-12T02:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57261#M49094</link>
      <description>Thanks for your quick response mbigelow. I will try your suggestions and I will come back with my results .</description>
      <pubDate>Wed, 12 Jul 2017 07:23:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57261#M49094</guid>
      <dc:creator>dportok</dc:creator>
      <dc:date>2017-07-12T07:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57333#M49095</link>
      <description>&lt;P&gt;I am close to achieve what I wanted (will make a post about the steps). I was wondering what is the difference between importing a cluster template and doing a full deployment by using :&amp;nbsp;&lt;A href="https://cloudera.github.io/cm_api/api/v12/cm/deployment" target="_blank"&gt;/api/v12/cm/deployment&lt;/A&gt;. From my understanding the cluster template is the blueprint of the cluster and then from that point you can apply different deployments on this blueprint?&amp;nbsp;Briefly what I did so far :&lt;/P&gt;&lt;P&gt;1) Start the Cloudera-scm-server-db&lt;/P&gt;&lt;P&gt;2) Start the Cloudera-scm-server&lt;/P&gt;&lt;P&gt;3) Start the Cloudera-scm-agent&lt;/P&gt;&lt;P&gt;4) Import a Template from a newly built cluster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I wanted to know if its better to make the configuration changes that I want on my cluster and then instead of importing the cluster template to use the deployment API Call. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 14:00:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57333#M49095</guid>
      <dc:creator>dportok</dc:creator>
      <dc:date>2017-07-13T14:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57337#M49096</link>
      <description>&lt;P&gt;I don't know if I can say for certain without testing them out. &amp;nbsp;I feel like /cm/deployment has always been there while the importClusterTemplate was added when they added blueprints. &amp;nbsp;Both sound like they will take in a json object that describes a fully cluster. &amp;nbsp;The deployment node will fail if any portion of it exists and rollback all changes. &amp;nbsp;I don't know if the templates are more flexible or contain conditions.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 15:03:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57337#M49096</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-07-13T15:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57338#M49097</link>
      <description>Thanks for your quick reply. I will try it and let you know about the results.</description>
      <pubDate>Thu, 13 Jul 2017 15:09:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57338#M49097</guid>
      <dc:creator>dportok</dc:creator>
      <dc:date>2017-07-13T15:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57357#M49098</link>
      <description>Does anybody know how I can add the cloudera management services through an API call? Is it possible?</description>
      <pubDate>Thu, 13 Jul 2017 18:13:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57357#M49098</guid>
      <dc:creator>dportok</dc:creator>
      <dc:date>2017-07-13T18:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57505#M49099</link>
      <description>&lt;P&gt;I finally managed to fully automate the deployment of a Cluster by using just API calls. Below you can find the steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Enable CDM and CDH repository&lt;/P&gt;&lt;P&gt;2) Install Java&lt;/P&gt;&lt;P&gt;3) Install the following packages :&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- cloudera-manager-agent&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- cloudera-manager-daemons&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- cloudera-manager-server&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- cloudera-manager-server-db-2&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;4) If you want to install the cluster through parcels you don't need to install anything else. I have chosen to go with packages, so I had to install :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- hadoop&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- hadoop-hdfs&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- hadoop-libhdfs&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- hadoop-yarn&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- hadoop-mapreduce&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- hadoop-client&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- openssl&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;5) Start the Cloudera database&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;6) Start the Cloudera Server&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;7) Start the Cloudera agent&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Enable the trial version of the Enterprise Hub edition. This version gives you the ability to import templates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;9) Import the template of the cluster&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;The question is how does someone can know how its template should look. The answer in this question is to build a testing cluster manually, configure it as you want and then export its configuration. I hope this helps. Thanks again for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 14:56:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/57505#M49099</guid>
      <dc:creator>dportok</dc:creator>
      <dc:date>2017-07-17T14:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unattended/Fully automated deployment of a cluster with a Json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/284798#M211439</link>
      <description>&lt;P&gt;Do you have a documentation for this&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 16:35:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unattended-Fully-automated-deployment-of-a-cluster-with-a/m-p/284798#M211439</guid>
      <dc:creator>ABHIMAN</dc:creator>
      <dc:date>2019-12-04T16:35:00Z</dc:date>
    </item>
  </channel>
</rss>

