Deploying agents on Anywhere Cloud

Deploy another agent for Cloudera Migration Assistant through the Anywhere Cloud Console on the cluster that runs your Cloudera Migration Assistant engine, for example, to keep the migration work for different source clusters separate. The blueprint deploys one agent by default.

You deploy the Cloudera Migration Assistant blueprint from the Anywhere Cloud Marketplace again, on the cluster that runs your Cloudera Migration Assistant engine. The blueprint packages the following engines into a single deployable unit:

  • Cloudera Migration Assistant – Provides the web interface, the Cloudera Migration Assistant server, the authorization service, the built-in Git server, and a PostgreSQL database for your migrations. In this deployment, you reuse your existing instance.
  • Cloudera Migration Assistant Agent – Provides scans and migration steps for the source clusters that it serves. In this deployment, you provision a new instance.

Each agent runs in its own namespace, never in the namespace of the Cloudera Migration Assistant engine or of another agent. Anywhere Cloud connects the agent to the Cloudera Migration Assistant engine instance that you select, so the agent does not need a registration token.

  • The status of the Cloudera Migration Assistant engine instance on the Engine instances tab of the Apps page must be Running. An agent cannot start until the Cloudera Migration Assistant engine instance is running.
  • The cluster must have enough capacity for the agent. This deployment adds no nodes to the cluster. For more information, see Cluster sizing.
  • You must have an S3 bucket in a storage service (Admin Center > Storage) for the agent logs. You can use the same bucket as the Cloudera Migration Assistant engine.
  • If you plan to turn on Enable AWC Secret Manager, your administrator must set up Secret Service with an external vault. For more information, see Using Anywhere Cloud Secret Service and Vault for agent secrets.
  1. Access the Anywhere Cloud Console.
  2. Sign in using your enterprise identity provider.
  3. In the left navigation pane, go to Admin Center > Marketplace.
  4. Go to the Cloudera Migration Assistant tile and click Deploy.
  5. In the Package Content section, review the blueprint package content.
  6. In the Hardware Requirements Tiers section, select the hardware tier for your migration workload, and review the minimum infrastructure requirements per worker node, such as vCPU, RAM, and storage.
    Cloudera Migration Assistant has four hardware tiers: Small, Medium, Large, and Extra Large. For more information, see Cluster sizing.
  7. Click Deploy Blueprint.
  8. In the Data Service Configuration section, specify blueprint deployment options.
    1. Select the Blueprint Version of your Cloudera Migration Assistant engine.
    2. Specify the Blueprint Instance Name to identify the agent deployment within your environment.
      This name must be unique among blueprint deployments in your environment. Use a maximum of 45 characters. Use only lowercase letters, numbers, and hyphens. The name must start and end with a letter or number.
      This name is included in the name and the URL of the new agent instance.
    3. Select a Performance Tier to set the minimum hardware requirements for all node groups.
      Select default, the only tier.
    4. For Cluster Deployment, select Use Existing Cluster.
      Use Existing Cluster deploys on a cluster that is already running. The Cluster Configuration section contains the cluster selection.
  9. In the Cluster Configuration section, select the cluster that runs your Cloudera Migration Assistant engine from the Existing Cluster drop-down list.
    Eligible clusters require active status. Ineligible clusters are shown but cannot be selected. You must select a cluster before you can configure engines.
  10. In the Required Engine Configuration section, for the Cloudera Migration Assistant Agent engine, select Provision New Instance and click Configure to open the engine configuration side panel.
    If the cluster already runs an agent, the console reuses it by default and deploys no new agent. Select Provision New Instance to add an agent.
    1. Optional: On the Engine Settings tab, configure the following fields:
      • Enable AWC Secret Manager – Stores the connection credentials of the agent in Anywhere Cloud Secret Service. Turn it on only if the Secret Service uses an external vault.
      • Internal Keystore Password – The password of the internal TLS keystore of the agent. If you leave it empty, Cloudera Migration Assistant generates it.

      For details, see Agent engine settings.

    2. On the Storage tab, set up the bucket for the agent logs:
      1. Select the storage service and the S3 bucket for the logs.
      2. In Bucket access, select Write for the bucket, and clear Read and List. A new bucket starts with read and list permissions. The logs purpose allows only write permission, and the console does not deploy an engine whose bucket has a permission that none of its purposes allow.
      3. In the purpose table, select the bucket as the destination bucket for logs.
    3. On the Telemetry tab, in Default Storage Path, select the storage service and select the same bucket as the Default Storage Bucket.
    4. Click Save Changes.
  11. In the Reference Dependency Engines section, for the Cloudera Migration Assistant engine, select Reuse Existing Instance.
    Reuse your Cloudera Migration Assistant engine instance so that the new agent connects to it. Anywhere Cloud does not deploy another Cloudera Migration Assistant engine.
    1. Select your Cloudera Migration Assistant engine instance from the drop-down list and view its details.
      If the cluster runs one Cloudera Migration Assistant engine instance, the console selects it for you.
  12. In the Network Configuration section, check the internal IP Address Range of the cluster.
  13. Click Validate and Deploy.
    The system checks whether required fields are complete and required resources are available. If validation is successful, deployment begins automatically and you are redirected to the Engine instances tab of the Apps page to monitor progress. The Apps page lists all engine instances and blueprints.
  14. Wait until the status of the new Cloudera Migration Assistant Agent engine instance is Running.
  15. In Cloudera Migration Assistant, in the navigation pane, click Agents.
    The Instances tab lists the new agent.

When the deployment process is completed, the new agent is connected to your Cloudera Migration Assistant engine instance. Anywhere Cloud configures the agent automatically as follows:

  • Agent URL – The web interface of the agent is at https://[***INSTANCE***].[***CLUSTER-DOMAIN***], where [***INSTANCE***] is the name of the agent instance. You cannot change it.
  • Storage – The agent uses the Use Shared Storage setting of the Cloudera Migration Assistant engine instance, as it was when the agent was created. An existing agent keeps its storage setting.
  • Anywhere Cloud Console URL – Anywhere Cloud gives the agent the URL of the Anywhere Cloud Console. You do not set it, for example, with an advanced configuration snippet.
  • Built-in admin user – Each agent has its own built-in admin user. Cloudera Migration Assistant generates its password and stores it in the [***INSTANCE***]-agent-admin Secret in the namespace of the agent. This account belongs to the agent only. It is not an account for the Cloudera Migration Assistant web interface. See How secrets are stored.

Register the source clusters that the agent serves in the web interface of the agent. See Registering source clusters.