Support Questions

Find answers, ask questions, and share your expertise

silent installation of a cdh cluster

avatar
New Contributor

Hi,

 

is it possible to install a cluster via Cloudera Manager in silent mode, and maybe define the configuration in a blueprint and provide it to CM at installation time?

 

thanks in advance...

1 ACCEPTED SOLUTION

avatar
Explorer

I found the following on this website:https://groups.google.com/a/cloudera.org/forum/#!topic/scm-users/07LXywbFolk as well as here: 

https://community.cloudera.com/t5/Cloudera-Manager-Installation/Automate-CM-Express-Wizard-installat...

 

$ ./cloudera-manager-installer.bin --i-agree-to-all-licenses \
--noprompt --noreadme --nooptions

 

View solution in original post

5 REPLIES 5

avatar
Expert Contributor
Yes.

avatar
Explorer

how do you do this ? I been trying to find a way to do this also.

avatar
Explorer

I found the following on this website:https://groups.google.com/a/cloudera.org/forum/#!topic/scm-users/07LXywbFolk as well as here: 

https://community.cloudera.com/t5/Cloudera-Manager-Installation/Automate-CM-Express-Wizard-installat...

 

$ ./cloudera-manager-installer.bin --i-agree-to-all-licenses \
--noprompt --noreadme --nooptions

 

avatar
Explorer

That only installs CM and it's using the binary installer which uses embedded databases etc. which is not recommended for production. It also does not install CDH on cluster machines.

 

CM itself is easy to install silently using DEBs or RPMs.

 

To deploy CDH itself using CM would require you to use the CM REST API. I believe this is how Cloudera Director works as well because that basically does exactly what you're asking for.

 

http://cloudera.github.io/cm_api/apidocs/v10/index.html

 

I've seen people use the API in Ansible/Chef/Puppet scripts.

avatar
Explorer

Thanks for the tip on the CM API, wasn't aware it had one. Knowing that little bit I was able to find an example that uses Ansible: https://github.com/ymc-geko/ansible-cdh-cluster. There's an article discussing it here as well: http://blog.cloudera.com/blog/2013/08/how-to-install-cloudera-manager-and-search-with-ansible/.