Installing and registering agents on Cloudera Base on premises clusters
Install the Cloudera Migration Assistant agent on a Cloudera Base on premises cluster by using a parcel and a CSD in Cloudera Manager, 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***]. See Network requirements. - You have a registration token for the agent. See Generating registration tokens.
- You have Cloudera Manager administrator access to the cluster, and shell access to the Cloudera Manager Server host.
- You have the user name and password of a Cloudera Manager user with the Admin role, for the agent to use.
- The host that runs the agent has JDK 17 or later.
- The host that runs the agent can reach the landing page URL, the agent connection URL, the built-in Git server URL, the Anywhere Cloud Console, and the Anywhere Cloud authentication service over HTTPS. See Network requirements.
- If a private certificate authority (CA) signed the certificates of Anywhere Cloud, the host that runs the agent has a PEM file with the full certificate chain of the CA.
The agent runs as the CMA Agent service of the cluster. You do not install the Cloudera Migration Assistant engine or a CMA Master service on the cluster, because the Cloudera Migration Assistant engine runs on Anywhere Cloud.
You deploy the agent with two Cloudera Manager artifacts:
- CMA Agent CSD – A custom service descriptor (CSD) file that adds the CMA Agent service type to Cloudera Manager. You download it to the Cloudera Manager Server host and restart Cloudera Manager, so that you can add the service.
- CMA parcel – The package that contains the agent software. A parcel is a packaging format that Cloudera Manager uses to install and upgrade software on the hosts of a cluster. You add the remote parcel repository of Cloudera Migration Assistant, and then download, distribute, and activate the parcel from the Parcels page. To upgrade the agent later, you repeat these steps with the parcel of the higher version.
For more information about parcels, see Introduction to Parcels in the Cloudera Base on premises documentation.
The agent is registered and connected to Cloudera Migration Assistant. Cloudera Manager passes the registration token to the agent when the agent starts, and does not write it to a configuration file. After the first start, the agent uses the credentials that it stored.
If the agent does not connect, see Agent does not connect to master, Agent registration token is rejected or expired, Agent port conflict on Cloudera Base on premises hosts, CMA_AGENT service type is not available in Cloudera Manager, or Agent starts but cluster does not appear.
Register the source cluster in the web interface of the agent. See Registering source clusters.
