Created on 11-25-2014 03:16 AM - edited 09-16-2022 02:14 AM
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...
Created on 09-04-2015 06:43 AM - edited 09-04-2015 06:51 AM
I found the following on this website:https://groups.google.com/a/cloudera.org/forum/#!topic/scm-users/07LXywbFolk as well as here:
$ ./cloudera-manager-installer.bin --i-agree-to-all-licenses \
--noprompt --noreadme --nooptions
Created 12-02-2014 03:39 PM
Created 12-05-2014 12:35 PM
how do you do this ? I been trying to find a way to do this also.
Created on 09-04-2015 06:43 AM - edited 09-04-2015 06:51 AM
I found the following on this website:https://groups.google.com/a/cloudera.org/forum/#!topic/scm-users/07LXywbFolk as well as here:
$ ./cloudera-manager-installer.bin --i-agree-to-all-licenses \
--noprompt --noreadme --nooptions
Created 09-04-2015 08:24 AM
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.
Created 09-04-2015 12:16 PM
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/.