<?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: cloudera director fonctionalities in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-fonctionalities/m-p/22926#M4188</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hey Alina.&amp;nbsp; After discussing this with my colleagues, I wanted to add that there's another option you have for flexible cluster creation.&amp;nbsp; You can utilize the API console.&amp;nbsp; Look under clusters for the POST /api/v1/environments/{&lt;/SPAN&gt;&lt;SPAN&gt;environment}/deployments/{&lt;/SPAN&gt;&lt;SPAN&gt;deployment}/clusters endpoint:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG width="438" src="https://ip1.i.lithium.com/a281e9f86501aa85588121d2b4dc8ce1a0ed5128/687474703a2f2f692e696d6775722e636f6d2f77477838556d362e706e6722" height="75" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will allow you to create a JSON structure that describes a cluster in the way that you desire.&amp;nbsp; It's not as well documented and will require a bit more experimentation to create a cluster correctly. &amp;nbsp;You can get an example JSON by creating a cluster and then&amp;nbsp;navigating to to the&amp;nbsp;/api/v1/environments/{environment}/deployments/{deployment}/clusters/{cluster}/template endpoint. &amp;nbsp;For example, I made an environment called "test-env", a deployment called "test-cm", and a cluster called "test-cluster". &amp;nbsp;By navigating to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/api/v1/environments/test-env/deployments/test-cm/clusters/test-cluster/template&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I get the following output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG width="438" src="https://ip1.i.lithium.com/3bf8f02dab34923f2dd88f7160a95a4b91076bc0/687474703a2f2f692e696d6775722e636f6d2f6c7137617152442e706e67" height="230" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which I can then use as a reference to build a template out of.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use either method, the API console or the command line interface, but both will accomplish what you'd like. &amp;nbsp;I just wanted to make sure you had both options!&lt;/P&gt;</description>
    <pubDate>Sat, 20 Dec 2014 02:18:21 GMT</pubDate>
    <dc:creator>Mike Wilson</dc:creator>
    <dc:date>2014-12-20T02:18:21Z</dc:date>
    <item>
      <title>cloudera director fonctionalities</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-fonctionalities/m-p/22841#M4186</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We wanted to deploy a cluster with Cloudera Director with 2 master nodes and 4 slaves nodes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, we are having some problems:&lt;/P&gt;&lt;P&gt;- we cannot add more than 1 master in cloudera director&lt;/P&gt;&lt;P&gt;- we cannot make the cluster without a gateway node&lt;/P&gt;&lt;P&gt;- we cannot choose a custom service package (we wanted a package with Impala+HBase but without spark/solr)&lt;/P&gt;&lt;P&gt;- we cannot change the admin password/make another user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, can you indicate a documentation that can help us with this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any feature list documentation for cloudera director?&lt;/P&gt;&lt;P&gt;What are the benefits of using Cloudera Director insteaed &amp;nbsp;of Cloduera Manager for deployment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:16:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-fonctionalities/m-p/22841#M4186</guid>
      <dc:creator>AlinaGHERMAN</dc:creator>
      <dc:date>2022-09-16T09:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera director fonctionalities</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-fonctionalities/m-p/22873#M4187</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Alina!&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We're working on exposing this functionality via the user interface at present.&amp;nbsp; This functionality does exist within Director at present, though currently&amp;nbsp;less than optimal.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;First, I'll pick the easy to answer question.&amp;nbsp; For documentation as to features as well as cluster setup instructions, you can refer to the documentation here:&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera/en/documentation/cloudera-director/latest/PDF/cloudera-director.pdf"&gt;http://www.cloudera.com/content/cloudera/en/documentation/cloudera-director/latest/PDF/cloudera-director.pdf&lt;/A&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For user management, including addition of users and changing the admin password, you'll need to access the API console.&amp;nbsp; You can do this by clicking on the question mark at the top right of the screen and selecting "API console" from the drop down list.&amp;nbsp; This can also be accessed by navigating to the&amp;nbsp;/api-console/ endpoint of your Cloudera Director server.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;IMG alt="API console" border="0" height="119" width="158" title="API console" src="https://ip1.i.lithium.com/040e95f78c005636ac1c9c7138945ed27ca7d28f/687474703a2f2f692e696d6775722e636f6d2f7a5576443131622e706e67" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;From here, you'll have access to all of the user management functionality currently within Director.&amp;nbsp; All of the relevant operations will be under the "users" group of operations.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For adding a new user, you'll want to look at the POST /api/v1/users endpoint.&amp;nbsp; You'll need to create a JSON like structure to describe the new user being created.&amp;nbsp; As an example:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG alt="Cloudera Director user creation" border="0" height="198" width="263" title="Cloudera Director user creation" src="https://ip1.i.lithium.com/b47849d6fe6de7927d60850ad1b62f3a93a2cf16/687474703a2f2f692e696d6775722e636f6d2f48696d5a4350362e706e67" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="a6S"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "enabled": true,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "password": "a-password",&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "roles": ["ROLE_ADMIN", "ROLE_READONLY"],&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "username": "test-user"&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When you're ready to create a user, click "Try it out" at the bottom of the window.&amp;nbsp; On success, the response code should be "201."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG alt="Cloudera Director user creation response" border="0" height="247" width="253" title="Cloudera Director user creation response" src="https://ip1.i.lithium.com/9cfeb228df1a6ac496bf8dccba87447e0ffe78c7/687474703a2f2f692e696d6775722e636f6d2f3846784b4442742e706e67" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;​&lt;/DIV&gt;&lt;DIV&gt;Note: There are only two roles that are supported at present: ROLE_ADMIN and ROLE_READONLY.&amp;nbsp; READONLY will only allow read access to Director, while ADMIN will allow cluster creation.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;For updating the admin password, you'll want to look at the /api/v1/users/{username}/password endpoint.&amp;nbsp; You'll need to create a JSON structure to describe the password change.&amp;nbsp; As an example:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG alt="Cloudera Director password change" border="0" height="196" width="238" title="Cloudera Director password change" src="https://ip1.i.lithium.com/e082c73a49af012eec9484a0ac09c3338b06c48e/687474703a2f2f692e696d6775722e636f6d2f6b305776687a762e706e67" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "oldPassword": "admin",&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "newPassword": "a-new-test-password"&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Like creating a user, you'll need to click "Try it out!" at the bottom of the page to change the password.&amp;nbsp; A response code of "202" here indicates success.&lt;/DIV&gt;​&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In regards to more flexible cluster creation: at present, this can only be done via the command line interface (CLI), which can be downloaded and installed via our repositories.&amp;nbsp; The package name is cloudera-director-client.&amp;nbsp; This should be used in conjunction with the Cloudera Director server.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Once you've installed this, you should be able to find a README and relevant sample files within /usr/lib64/cloudera-director/client.&amp;nbsp; Of particular interest will be aws.reference.conf, which lists and documents all of the functionality that the Cloudera Director client provides.&amp;nbsp; Once you've configured your conf file as expected, you'll want to use the bootstrap-remote command like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;cloudera-director custom-deployment.conf --lp.remote.hostAndPort=director-host:7189 --lp.remote.username=admin&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This should prompt you for a password prior to bootstrapping your deployments and clusters.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As far as using Director vs. Manager for deployment, they're really intended as complementary services.&amp;nbsp; Director can eliminate the need to provision and configure instances, which would be necessary when using Cloudera Manager on its own.&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Dec 2014 18:04:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-fonctionalities/m-p/22873#M4187</guid>
      <dc:creator>Mike Wilson</dc:creator>
      <dc:date>2014-12-18T18:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera director fonctionalities</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-fonctionalities/m-p/22926#M4188</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey Alina.&amp;nbsp; After discussing this with my colleagues, I wanted to add that there's another option you have for flexible cluster creation.&amp;nbsp; You can utilize the API console.&amp;nbsp; Look under clusters for the POST /api/v1/environments/{&lt;/SPAN&gt;&lt;SPAN&gt;environment}/deployments/{&lt;/SPAN&gt;&lt;SPAN&gt;deployment}/clusters endpoint:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG width="438" src="https://ip1.i.lithium.com/a281e9f86501aa85588121d2b4dc8ce1a0ed5128/687474703a2f2f692e696d6775722e636f6d2f77477838556d362e706e6722" height="75" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will allow you to create a JSON structure that describes a cluster in the way that you desire.&amp;nbsp; It's not as well documented and will require a bit more experimentation to create a cluster correctly. &amp;nbsp;You can get an example JSON by creating a cluster and then&amp;nbsp;navigating to to the&amp;nbsp;/api/v1/environments/{environment}/deployments/{deployment}/clusters/{cluster}/template endpoint. &amp;nbsp;For example, I made an environment called "test-env", a deployment called "test-cm", and a cluster called "test-cluster". &amp;nbsp;By navigating to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/api/v1/environments/test-env/deployments/test-cm/clusters/test-cluster/template&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I get the following output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG width="438" src="https://ip1.i.lithium.com/3bf8f02dab34923f2dd88f7160a95a4b91076bc0/687474703a2f2f692e696d6775722e636f6d2f6c7137617152442e706e67" height="230" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which I can then use as a reference to build a template out of.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use either method, the API console or the command line interface, but both will accomplish what you'd like. &amp;nbsp;I just wanted to make sure you had both options!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Dec 2014 02:18:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-fonctionalities/m-p/22926#M4188</guid>
      <dc:creator>Mike Wilson</dc:creator>
      <dc:date>2014-12-20T02:18:21Z</dc:date>
    </item>
  </channel>
</rss>

