01-17-2018 03:07 PM
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.
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?
01-18-2018 12:53 AM
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.
01-18-2018 11:12 AM
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:
Is there any way to get this installer to run without user input?
01-19-2018 04:10 PM
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.