How Cloudera Migration Assistant runs on Anywhere Cloud
Cloudera Migration Assistant runs on Anywhere Cloud as one engine and one or more Agent engines. Each engine runs in its own namespace, and Anywhere Cloud authenticates every request to them.
Cloudera Migration Assistant engine
An instance of the Cloudera Migration Assistant engine contains these components:
- Web interface
- Shows the pages where you register clusters, create plans, run executions, and manage agents and settings.
- Cloudera Migration Assistant server
- Provides the REST API, schedules work, sends commands to the agents, and tracks the state of plans, executions, and commands.
- Authorization service
- Resolves your roles and issues the one-time tokens that agents use to register.
- Code Migrator
- Refactors Spark and Airflow code with a large language model (LLM). It is deployed when the LLM is turned on.
- Documentation search service
- Lets Code Migrator search the migration documentation of the target frameworks inside the cluster. It is deployed when the LLM is turned on.
- Built-in Git server
- Stores Git repositories for refactored code and for migration artifacts, such as exported Airflow DAGs.
- PostgreSQL
- Stores the data of the Cloudera Migration Assistant server, the authorization service, and the built-in Git server. The engine provisions its own PostgreSQL instance.
The PostgreSQL instance of the engine holds three databases: cma-master
for the Cloudera Migration Assistant server, cma-auth for the authorization service,
and gitea for the built-in Git server. Code Migrator uses the cma-master database.
Each namespace can hold one Cloudera Migration Assistant engine instance.
Cloudera Migration Assistant Agent engines
An instance of the Cloudera Migration Assistant Agent engine contains the agent server and its own
PostgreSQL database, cma-agent. Each agent runs in its own namespace, never
in the namespace of the Cloudera Migration Assistant engine. Any number of agents can connect to one
Cloudera Migration Assistant engine.
Agents can also run outside Anywhere Cloud, for example on a Cloudera Base on premises cluster. See Deploying and registering agents.
How requests reach Cloudera Migration Assistant
- Users – Your browser connects to the landing page URL. Anywhere Cloud checks your identity before the request reaches Cloudera Migration Assistant, and passes your user name and roles with the request. Cloudera Migration Assistant uses this identity and has no login of its own. See How sign-in and access work.
- Agents on the cluster – Agents that run on the Anywhere Cloud cluster connect to the Cloudera Migration Assistant engine through the service mesh, which encrypts and authenticates the connection with mutual TLS.
- Agents outside the cluster – An agent outside the cluster registers once with a one-time token. After that, it connects to the agent connection URL over HTTPS with an Anywhere Cloud token. See Generating registration tokens.
- AI features – Code Migrator sends requests to the LLM endpoint that an administrator configures.
- Logs – The Cloudera Migration Assistant components write their logs to standard output. Anywhere Cloud collects the logs and writes them to the S3 bucket that you bind for logs. Logs of agents that run outside the cluster stay on the hosts where those agents run. See Telemetry and audit logging.
Managed by Anywhere Cloud
Anywhere Cloud manages the engines and their Kubernetes resources. It reverts changes that you make directly to those resources, for example to a ConfigMap with kubectl. Change the engine configuration in the Anywhere Cloud Console instead.
