Transitioning the cluster from HDP 2.6.5 to CDP Private Cloud Base 7.1.4

Transition the HDP cluster managed by Ambari to CDP Private Cloud Base cluster managed by Cloudera Manager using the AM2CM tool.

Take a copy of your blueprint before transitioning your cluster. It helps you to understand the changes and differences between HDP 2.6.5 versus HDP 7.1.x versus Cloudera Manager. Use this to take the blueprint: http://<ambari_ip>:<port>/api/v1/clusters/<cluster-name>?format=blueprint. You cannot take the blueprint after transitioning the cluster.
Perform the following steps:
  1. Login to the Ambari server.
  2. In the new tab, enter the URL: http://[***ambari_ip***]:[***port***]/api/v1/clusters/[***cluster-name***]?format=blueprint_with_hosts
  3. Download the Ambari blueprint and save it in JSON format.
  4. Download the AM2CM tool from

    To find all the download links in a centralised location, see Software download matrix.

  5. Extract the am2cm- file to am2cm- folder.
  6. Set the JAVA_HOME variable. For example, $ export JAVA_HOME= [path to your installed JDK]
  7. Navigate to the am2cm- file and update Parcels, Cluster name, passwords, and JDBC URL information.
    # Cluster details<Cluster-Name> 
    # Hive JDBC settings
    # Oozie JDBC settings
    # Ranger JDBC settings
    #Knox Settings
  8. Generate the Cloudera Manager Deployment template.
    # cd am2cm-
    #chmod +x ./
    # ./  -bp PATH/TO/Amb_blueprint.json  -dt /PATH/TO/cm_deployment_template.json
  9. Check for errors in the console or in the am2cm- logs.
  10. Stop HDP services from Ambari.
  11. In Ambari UI, disable Auto Start Settings
  12. Import the template using the API through browser or the CLI.
    • Using browser:
      1. Copy the URL in the browser and enter. http://<CM_HOST>:7180/static/apidocs/ui/index.html#!/ClouderaManagerResource/updateDeployment2
      2. Navigate to Cloudera ManagerResource
      3. Copy the template in body.
      4. Click Tryit out!
    • Using CLI:
      curl --user admin:admin -k -X PUT -H "Content-Type: application/json" -d @cm_deployment_template.json 'http://<CM_HOST>:7180/api/v41/cm/deployment?deleteCurrentDeployment=false'
  13. In Cloudera Manager Parcel screen, download Cloudera Runtime and distribute the parcel. Cloudera Manager deploys the parcel to the cluster hosts. The default is 10 concurrent hosts. You can adjust this to a maximum of 50, but this must be configured before the template is applied.
  14. Enable Cloudera Manager TLS (Optional) if you want:
    • Certificate management: Creating certificates, keystores, and truststores.
    • Certificate distribution or configuration:
      • Copying keystores & truststores to servers.
      • Configuring services to reference these keystores & truststores.
      • Configuring related TLS properties for service.
    • Ensure that you compare Manual TLS and Auto TLS and then proceed. For more information, see Comparing manual TLS and Auto-TLS
    • If you select the Manual TLS option, you must manually configure TLS. For more information, see Manually configure TLS Encryption for Cloudera Manager.
    • If you select the Auto TLS option 1, Cloudera Manager handles it independent of any company certificate authority. This is basically creating a private certificate authority that only Cloudera Manager knows about.
      • If you want TLS but you do not have any of the external certificate management infrastructures then you will probably want this.
      • The benefit is you get full automation for the cluster side (management & certificate distribution and configuration) but requires client configuration to trust the private certificate authority. For more information, see Auto TLS 1
    • If you select Auto TLS option 2a, Cloudera Manager handles certificate management based on a company certificate authority. Cloudera Manager generates certificates on your behalf using the certificate authority and performs distribution and configuration for you.
      • If you want TLS and are willing to extend trust from an external certificate authority to Cloudera Manager and allow Cloudera Manager to generate certificates will want this.
      • The benefit is you get full automation for the cluster side (management & certificate distribution and configuration) but requires extending trust to Cloudera Manager. Clients need not require any additional configuration because they would already trust the global company certificate authority. For more information, see Auto TLS 2
    • If you select AutoTLS option 2b, you are only doing certificate distribution and configuration because you are doing certificate management outside of Cloudera Manager and manually loading those certificates into Cloudera Manager's certificate repository.
      • If you want TLS but are unwilling to extend trust from an external certificate authority to Cloudera Manager will want this.
      • The benefit is you get partially automated for the cluster side (certificate distribution and configuration only). Per-host or per-service certificate management done outside of Cloudera Manager and certificates manually uploaded into Cloudera Manager by an admin. For more information, see Auto TLS 2
  15. After the parcels are deployed on Cloudera Manager, activate the Cloudera Runtime 7.1.x parcels.
  16. LZO package configuration: If HDP is configured with LZO packages then follow the steps given below.
    1. Go to the Parcels/Parcel Repository & Network Settings page on Cloudera Manager user interface and add Remote Parcel Repository URLs.URL
    2. In the Parcels screen - Download, Distribute, and Activate “GPLEXTRAS”. If the HDP intermediate bits or Ambari 7.1.x.x has used LZO packages, then enable or add the packages to Cloudera Manager. For more information, see the Configuring Data Compression documentation.