Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Automating cloudera manager install

Solved Go to solution

Automating cloudera manager install

Context

I'm working on setting up a Hadoop cluster consisting of multiple VMs (for testing and development purposes) on a local desktop machine. I have a proof of concept working, where I installed Cloudera Manager manually and then setup the cluster. But now I'd like to automate it.

 

Problem

To automate this process, I need to be able to script the installation of Cloudera Manager, so that it works without manual intervention. Using Cloudera Director doesn't seem to be an option for this use case, because we're not running the cluster on any cloud provider (AWS, Azure, etc.). Is there any way to automate the Cloudera Manager installation for a local desktop?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Automating cloudera manager install

Cloudera Employee

To get started, you can install CM using path C: https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_ig_install_path_c.html#concept_fbv...

 

In Cloudera, our internal framework is built on top of the python cm-api. Here is a tutorial to interact with the python bindings: https://cloudera.github.io/cm_api/docs/python-client/. This will help you further in automating security, HA, etc.

 

 

3 REPLIES 3

Re: Automating cloudera manager install

New Contributor

Simple bash script would work. place all the rpms , jdk  in a directory and you can write simple shell script to build the yum repo, install and set the java path and complete the installation CM server. 

Re: Automating cloudera manager install

Thanks for the reply. I have tried something similar, but when I run the installer binary (./cloudera-manager-installer.bin), it gives an interactive prompt:

 

Screen Shot 2018-01-18 at 11.08.09 AM (2).png

 

 

 

 

 

 

Is there any way to get this installer to run without user input?

 

 

Highlighted

Re: Automating cloudera manager install

Cloudera Employee

To get started, you can install CM using path C: https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_ig_install_path_c.html#concept_fbv...

 

In Cloudera, our internal framework is built on top of the python cm-api. Here is a tutorial to interact with the python bindings: https://cloudera.github.io/cm_api/docs/python-client/. This will help you further in automating security, HA, etc.