Exporting the Cluster Configuration
To create a cluster template, you begin by exporting the configuration from the source cluster. The cluster must be running and managed by Cloudera Manager.
- Any host templates you have created are used to export the configuration. If you do not want to use those templates in the new cluster, delete them. In Cloudera Manager, go to Delete next to the Host Template you want to delete. and click
- Delete any Host Templates created by the Cloudera Manager Installation Wizard. They
typically have a name like
Template - 1).
- Run the following command to download the JSON configuration file to a convenient
curl -u admin_username:admin_user_password "http://Cloudera Manager URL/api/v12/clusters/Cluster name/export" > path_to_file/file_name.json
curl -u adminuser:adminpass "http://myCluster-1.myDomain.com:7180/api/v12/clusters/Cluster1/export" > myCluster1-template.json