Download cluster blueprints without hosts
Ensure you download the cluster blueprints before you begin the upgrade. The blueprint of your old cluster is used as the template of the new cluster after you transition to Cloudera Manager.
To download the cluster blueprints without hosts, do the following:
curl ${securecurl} -H "X-Requested-By: ambari" -X GET -u ${ambariuser}:${ambaripwd} ${ambariprotocol}://${ambariserver}:${ambariport}/api/v1/clusters/${clustername}?format=blueprint > "${backupdir}"/${clustername}_blueprint_without_hosts_"$(date +"%Y%m%d%H%M%S")".json
where,
securecurl = -k for https
ambariuser = Ambari User Name
ambaripwd = Ambari Password
ambariprotocol = http or https
ambariserver = Ambari Server Name
ambariport = Ambari Port
clustername = The Name of the cluster
backupdir = The folder to download the blueprint