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.

Cloudera supports the following CDP CLI commands for On Premises Cluster operations that allows you to:
  • 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.
Use the latest version of the beta CDP CLI. For more information, see the Installing beta CDP CLI documentation.
  1. Generate the Jumpgate agent configurations:
    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-expansion
    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.
    Downloaded file saved as 'cluster_connectivity_setup_files.zip'.
  2. Describe the partially registered cluster.
    Use the describe-partially-registered-cluster API to get the details about partially registered clusters.
    cdp onpremises describe-partially-registered-cluster --datacenter-name "test-data-center-1"
    The command returns the general information about the cluster as shown in the following example:
    {
        "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]"
        }
    }
  3. 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.

    cdp onpremises get-cluster-connectivity-agent-package-url --kind JUMPGATE_RPM_STANDARD
    The command returns the Jumpgate Agent URL:
    {
        "agentUrl": "https://archive.cloudera.com/ccm/3.13.0/jumpgate-agent.rpm"
    }
  4. Download the Jumgate agent RPM from the returned URL.
  5. Copy the required files to the Cloudera Manager host.
    1. Copy the Jumpgate agent RPM:
      scp jumpgate-agent.rpm root@${CM_IP}:/<dir>/
    2. Copy the cluster connectivity setup files:
      scp cluster_connectivity_setup_files.zip root@${CM_IP}:/<dir>/
  6. Install and start the Jumpgate agent.
    Ensure that you have the required permissions to the install.sh script. Using ls -l install.sh command, the correct permission is rwx.
    ssh root@${Cloudera Manager / host IP address}
    yum --nogpgcheck localinstall  jumpgate-agent.rpm
    unzip cluster_connectivity_setup_files.zip
    ./install.sh
    jumpgate-agent status
    The command returns a similar response as shown in the following example:
    Jumpgate Agent is running since Tue 2026-01-06 13:05:05 UTC; 9s ago
  7. 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"
  8. Extract the cluster detailsby using authenticated access to the cluster-manager.
    Provide the Cloudera Manager username and password to authenticate.
    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
    The command returns the clusters details as shown in the following example:
    ​​{"clusters":[{"name":"Cluster 1"}]}
  9. 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
  10. 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