Creating On Premises Clusters with CDP CLI
Create and manage Cloudera on premises clusters in the Cloudera on cloud environment using CDP CLI. On Premises clusters are all clusters that are running in private data centers.
- Create On Premises clusters in Cloudera on cloud.
- Register Cloudera on premises clusters.
- Get general details about the On Premises clusters and give the capability to have Hybrid Control Plane setup.
-
Generate the Jumpgate agent configurations:
The command generates a ZIP file with all the required configuration and install scripts that you can use to set up the jumpgate agent on the private environment.cdp onpremises generate-cluster-connectivity-agent-config --cli-input-json '{ "datacenterName": "test-data-center-1", "clusterType": "CDPDC", "cmUrl": "http://testcloud-1.testuser.root.comops.site:7180" }' --no-parameter-expansionDownloaded file saved as 'cluster_connectivity_setup_files.zip'. -
Describe the partially registered cluster.
Use the
describe-partially-registered-clusterAPI to get the details about partially registered clusters.
The command returns the general information about the cluster as shown in the following example:cdp onpremises describe-partially-registered-cluster --datacenter-name "test-data-center-1"{ "partiallyRegisteredClusterData": { "id": 112130, "clusterCrn": "crn:cdp:classicclusters:us-west-1:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58:cluster:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58", "datacenterName": "test-data-center-1", "ipAddress": "testcloud-1.testuser.root.comops.site", "port": 7180, "clusterType": "CDPDC", "isSecure": false, "clusterConnectivityState": "KEYS_DOWNLOADED", "createdBy": "crn:altus:iam:us-west-1:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58:user:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58", "createdAt": "2026-11-04T12:10:53.576000+00:00", "updatedAt": "2026-11-04T12:11:12.539000+00:00", "registrationStatus": "REGISTRATION_IN_PROGRESS", "agentCrn": "Optional[crn:cdp:ccmv2:us-west-1:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58:agent:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58]" } } -
Get the ClusterConnectivityAgent package URL.
This API is used to obtain the URL of Jumpgate RPM.
Ensure that you use the correct type of Operating System (OS) in
--kind.
The command returns the Jumpgate Agent URL:cdp onpremises get-cluster-connectivity-agent-package-url --kind JUMPGATE_RPM_STANDARD{ "agentUrl": "https://archive.cloudera.com/ccm/3.13.0/jumpgate-agent.rpm" } - Download the Jumgate agent RPM from the returned URL.
-
Copy the required files to the Cloudera Manager host.
-
Copy the Jumpgate agent RPM:
scp jumpgate-agent.rpm root@${CM_IP}:/<dir>/ -
Copy the cluster connectivity setup files:
scp cluster_connectivity_setup_files.zip root@${CM_IP}:/<dir>/
-
Copy the Jumpgate agent RPM:
-
Install and start the Jumpgate agent.
Ensure that you have the required permissions to the
install.shscript. Usingls -l install.shcommand, the correct permission isrwx.
The command returns a similar response as shown in the following example:ssh root@${Cloudera Manager / host IP address} yum --nogpgcheck localinstall jumpgate-agent.rpm unzip cluster_connectivity_setup_files.zip ./install.sh jumpgate-agent statusJumpgate Agent is running since Tue 2026-01-06 13:05:05 UTC; 9s ago -
Check the On Premises Cluster connectivity to verify whether connectivity is
established between the Cloudera platform and Cloudera Manager:
cdp onpremises check-cluster-connectivity \ --cluster-crn "crn:cdp:classicclusters:us-west-1:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58:cluster:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58" -
Extract the cluster detailsby using authenticated access to the
cluster-manager.
Provide the Cloudera Manager username and password to authenticate.
The command returns the clusters details as shown in the following example:cdp onpremises extract-clusters --no-verify-tls --cli-input-json '{ "managerUri": "http://testcloud-1.testuser.root.comops.site:7180", "username": "admin", "password": "******", "clusterCrn": "crn:cdp:classicclusters:us-west-1:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58:cluster:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58" }' --no-parameter-expansion{"clusters":[{"name":"Cluster 1"}]} -
Register the On Premises cluster to the Cloudera environment on cloud.
cdp onpremises register-cluster --no-verify-tls --cli-input-json '{ "datacenterName": "test-data-center-1", "description": "test-data-center", "locationId": 2901, "managerUri": "http://testcloud-1.testuser.root.comops.site:7180", "name": "Cluster 1", "password": "**redacted**", "tags": [], "username": "admin" }' --no-parameter-expansion -
Sync the Cluster to ensure that the On Premises Cluster data is in sync with
the latest cluster service details.
cdp onpremises sync-cluster-data --cluster-crn crn:cdp:classicclusters:us-west-1:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58:cluster:9cf0acd8-73fa-4c8a-b4fa-9ec2fc46eb58
