Settings and environment variables you can use
You change Cloudera Migration Assistant settings through the engine configuration and the Feature Flags tab. Anywhere Cloud manages all other settings, and reverts changes that you make to them in another way.
Where to change settings
| What you want to change | Where to change it |
|---|---|
| The LLM connection | The engine configuration of the Cloudera Migration Assistant engine: Enable LLM, LLM Base URL, LLM API Key, and LLM Model Name. See Configuring LLM connection. |
| The machine user | The engine configuration of the Cloudera Migration Assistant engine: Machine User Name and Machine User Password. |
| Passwords and keys | The engine configuration of the engine instance. See Rotating LLM API key and Gitea password. |
| The size of the volume for Cloudera Data Engineering resources | CMA Resource Storage Size in the engine configuration of the Cloudera Migration Assistant engine. You can only increase it. |
| Shared storage | You cannot change Use Shared Storage after the instance is created. Deploy a new instance. |
| Where an agent in the cluster stores connection credentials | Enable AWC Secret Manager in the engine configuration of the agent. |
| Optional migration features | in the Cloudera Migration Assistant web interface. See Turning features on and off. |
| The registration of an agent outside the cluster | The CMA Agent Registration Token parameter of the agent in Cloudera Manager. See Environment variable for agents outside Anywhere Cloud cluster. |
Settings that Anywhere Cloud sets for you
Anywhere Cloud generates these settings from the engine configuration and the cluster. Do not set them yourself:
- The LLM provider, base URL, model, and API key of Code Migrator. Anywhere Cloud takes them from the LLM fields of the engine configuration.
- Whether Code Migrator is available. Anywhere Cloud turns on Code Migrator when Enable LLM is on.
- The connection to the built-in Git server, and its users and tokens.
- The sign-in settings. Cloudera Migration Assistant always uses Anywhere Cloud managed authentication.
- The database connection of each engine.
- The Anywhere Cloud Console URL of the agents in the cluster.
Environment variable for agents outside Anywhere Cloud cluster
An agent that runs on a source cluster outside Anywhere Cloud uses one variable that you supply:
| Variable | Where you set it | Description |
|---|---|---|
CMA_AGENT_REGISTRATION_TOKEN |
The CMA Agent Registration Token parameter of the agent in Cloudera Manager | A one-time token that registers the agent with the Cloudera Migration Assistant engine. An administrator issues the token on the tab of the Cloudera Migration Assistant web interface. The agent uses the token only on its first start, or when you register it again. After that, the agent uses its stored registration. Cloudera Manager passes the token to the agent as an environment variable, and does not write it to a configuration file. |
See Generating registration tokens.
