Deploying and registering agents

Agents run the scans and migration steps of Cloudera Migration Assistant next to the clusters that they serve. Each agent connects to one Cloudera Migration Assistant engine instance, which sends it commands and collects the results.

The Cloudera Migration Assistant engine holds your plans and tracks their progress. The agents do the work on the source side: they connect to the services of the source clusters, such as Cloudera Manager or the API of a Cloudera Data Engineering service, run scans, run migration steps, and work with the built-in Git server. You register source clusters and add connections in the web interface of the agent that serves them. See Registering source clusters.

Kinds of agents

Table 1. Kinds of Cloudera Migration Assistant agents
Kind Where it runs How it connects to Cloudera Migration Assistant What you need
Cloudera Migration Assistant Agent engine In its own namespace on the Anywhere Cloud cluster of the Cloudera Migration Assistant engine Through the service mesh. Anywhere Cloud identifies the agent, so the agent does not register and needs no token. Nothing extra for the agent that the blueprint deploys. You can deploy more. See Deploying agents on Anywhere Cloud.
Agent on a Cloudera Base on premises cluster On a host of the Cloudera Base on premises cluster, as a Cloudera Manager service Registers once with a one-time registration token. After that, it connects over HTTPS with its own credentials. The CMA parcel and the CMA Agent CSD, a registration token, and network access to Cloudera Migration Assistant and Anywhere Cloud. See Installing and registering agents on Cloudera Base on premises clusters.
Agent on a Cloudera on cloud Data Lake On a host of a Data Lake in Cloudera on cloud, as a Cloudera Manager service Registers once with a one-time registration token. After that, it connects over HTTPS with its own credentials. The CMA parcel and the CMA Agent on Cloud CSD, a registration token, a Cloudera Control Plane access key, and network access to Cloudera Migration Assistant and Anywhere Cloud. See Registering agents on Cloudera on cloud Data Lakes.

How agents outside Anywhere Cloud cluster register

  1. An administrator generates a one-time registration token on the Registration tab of the Agent Overview page. Only users with the cma-admin role see this tab. See Generating registration tokens.
  2. You give the token to the agent when you install it.
  3. When the agent starts for the first time, it registers with Cloudera Migration Assistant, and Cloudera Migration Assistant issues credentials for this agent only. The token works for a single registration, and it stops working at the end of its validity period, used or not.
  4. The agent connects to Cloudera Migration Assistant with its own credentials from then on. An administrator can revoke the agent at any time. See Revoking agents.

Agents on the Anywhere Cloud cluster do not register, so they are not displayed on the Registration tab.

Agents on Agent Overview page

The Agent Overview page of Cloudera Migration Assistant has two tabs:

  • Instances – Every agent that connects to Cloudera Migration Assistant, with its connection status. See Checking agent health.
  • Registration – The registration tokens and the registered agents outside the cluster, for administrators only. See Generating registration tokens.

You can connect several agents to one Cloudera Migration Assistant engine instance. See Running several agents against one Cloudera Migration Assistant engine.