Registering agents on Cloudera on cloud Data Lakes

Install the Cloudera Migration Assistant agent on a Data Lake or Cloudera Data Hub cluster in Cloudera on cloud, and register it with the Cloudera Migration Assistant engine by using a one-time token.

  • Cloudera Migration Assistant is running, and you have its landing page URL, https://[***INSTANCE***]-gateway.[***CLUSTER-DOMAIN***].
  • You have a registration token for the agent. See Generating registration tokens.
  • You have Cloudera Manager administrator access to the Data Lake or Cloudera Data Hub cluster, and shell access to its Cloudera Manager Server host.
  • You have a Cloudera Control Plane access key, with its access key ID and private key, for a user who can list and access the environment. For how to create one, see Generating an access key in the Cloudera on cloud documentation.
  • You know the regional Cloudera Control Plane API URL and the name of the environment.
  • The host that runs the agent has JDK 17 or later, and can reach Cloudera Migration Assistant and Anywhere Cloud. See Network requirements.

The agent runs as the CMA Agent on Cloud service of the cluster. It registers with Cloudera Migration Assistant by using a registration token, like an agent on a Cloudera Base on premises cluster, and it uses a Cloudera Control Plane access key to call the Cloudera on cloud services that it migrates, such as Cloudera Data Engineering.

  1. Install the CMA Agent on Cloud CSD and the CMA parcel on the cluster, as in steps 1 through 9 of Installing and registering agents on Cloudera Base on premises clusters.
    The CSD file is CMA_AGENT_ON_CLOUD-[***VERSION***].jar. Download it from https://archive.cloudera.com/awc-cma/2.0.0. Use this file instead of the CSD file in the referenced steps.
  2. From the host that runs the agent, check that it can reach Cloudera Migration Assistant:
    curl -s https://[***INSTANCE***]-gateway.[***CLUSTER-DOMAIN***]/api/agent/config
    The command returns the connection settings of Cloudera Migration Assistant in JSON format.
  3. In Cloudera Manager, open the actions menu of the cluster, and click Add Service.
  4. Select CMA Agent on Cloud, and click Continue.
  5. If the wizard asks for a dependency on a CMA Master service, select none.
  6. Assign the Agent on Cloud Server role to the host that runs the agent.
  7. Enter the agent settings:
    1. In CMA Gateway URL, enter the landing page URL of Cloudera Migration Assistant.
    2. In CMA Agent Registration Token, enter the registration token.
    3. In Control Plane API URL, enter the regional Cloudera Control Plane API URL, for example https://api.us-west-1.cdp.cloudera.com.
    4. In CDP Access Key ID and CDP Private Key, enter the access key.
    5. In CDP Environment Name, enter the name of the environment, exactly as it is displayed in the Cloudera Control Plane.
    6. In Database Password, enter the password of the database of the agent, whatever the database type. The agent uses an embedded H2 database by default. Use PostgreSQL whenever possible.
    7. If a private CA signed the certificates of Anywhere Cloud, in Agent CA Certificate File, enter the path to the PEM file of the CA on the agent host.
  8. Leave CMA Agent OAuth2 Client Secret (Deprecated) empty.
  9. Click Continue, and complete the wizard.
    Cloudera Manager starts the CMA Agent on Cloud service. On its first start, the agent registers with Cloudera Migration Assistant.
  10. In Cloudera Migration Assistant, go to Agents, and click the Registration tab.
    The status of the agent is Active.
The agent is registered and connected to Cloudera Migration Assistant.

Register the services that the agent serves in the web interface of the agent. See Registering Cloudera Data Engineering services.