Skip to main content
NetApp Data Migrator

Deploy the control plane and Linux worker VMs for NetApp Data Migrator

Contributors netapp-pcarriga

Deploy the control plane virtual machine (VM) and Linux worker VM for NetApp Data Migrator using AWS, Azure, or Google Cloud services or Open Virtual Appliance (OVA) templates. The Linux worker supports NFS data migrations.

Before you begin

Download the NetApp Data Migrator images from the NetApp support site:

  1. Select NetApp Data Migrator.

  2. Follow the instructions on the NetApp Data Migrator downloads page to access the NetApp Data Migrator images.

About this task

Choose the AWS, Azure, Google Cloud tab, or OVA tab depending on your deploy option.

AWS

Repeat the following steps for the control plane and Linux worker Amazon Machine Images (AMIs).

Steps
  1. Use the AMI IDs provided to locate the AMIs in your AWS account under EC2 > AMIs > Private images.

  2. Copy the AMIs into your account:

    1. Select the AMI, then select Actions > Copy AMI

    2. Choose the target region (if needed).

    3. Enable encryption and select your own KMS key.

    4. Wait for the AMI status to show Available.

Azure

Repeat the following steps for the control plane and Linux worker VHDs.

Steps
  1. Copy the VHD files to Azure Blob Storage:

    az storage blob copy start \
      --source-uri "<PROVIDED_SAS_URL>" \
      --destination-blob "<VHD_FILE_NAME>.vhd" \
    Group 1065216673, Grouped object  --destination-container <YOUR_CONTAINER_NAME> \
      --account-name <YOUR_STORAGE_ACCOUNT> \
      --account-key <YOUR_STORAGE_ACCOUNT_KEY>
  2. Create a new Azure image from the copied VHD file:

    az image create \
      --resource-group <YOUR_RESOURCE_GROUP> \
      --name <YOUR_IMAGE_NAME> \
      --source https://<YOUR_STORAGE_ACCOUNT>.blob.core.windows.net/<YOUR_CONTAINER_NAME>/<VHD_FILE_NAME>.vhd \
      --os-type linux \
      --location <YOUR_AZURE_REGION>
Google Cloud
Steps
  1. Verify that the Google Cloud APIs required to import images and deploy the control plane and worker VMs are enabled. For more information, refer to the Google Cloud documentation.

  2. Create a Google Cloud Storage bucket if one does not already exist. This bucket is used to store the image archives (.tar.gz) during the import operation.

  3. Set up the IAM roles and permissions. This ensures that the VM migration API has the required access permissions and the VM migration service can access the Google Cloud Storage bucket and create images.

    1. Assign the service account objectViewer access to your destination Cloud Storage bucket:

      gcloud storage buckets add-iam-policy-binding gs://<GCS_BUCKET> \
        --member=serviceAccount:service-<PROJECT_NUMBER>@gcp-sa-vmmigration.iam.gserviceaccount.com \
        --role=roles/storage.objectViewer

      The service account needs roles/storage.objectViewer permission to read the VM image files from your Cloud Storage bucket during the migration process.

      When the VM Migration API is enabled, Google Cloud automatically provisions a service account with the following format:

      service-<PROJECT_NUMBER>@gcp-sa-vmmigration.iam.gserviceaccount.com

      • ++ gcp-sa is the Google Cloud service account

      • vmmigration is the VM Migration service identifier

      • iam.gserviceaccount.com is the standard domain for Google Cloud service accounts

    2. Make yourself an admin user on the vmmigration service:

      gcloud projects add-iam-policy-binding <PROJECT_ID> \
        --member=user:<YOUR_EMAIL> \
        --role=roles/vmmigration.admin

      This gives you VM migration administrative permissions at the project level.

  4. Obtain and upload the image files:

    1. Download the control plane .tar.gz image file and the Linux worker .tar.gz image file from the NetApp Support site.

    2. Upload the .tar.gz files to your Google Cloud Storage bucket.

  5. After the image archives are uploaded to Google Cloud Storage, create VM images using the VM Migration Service by running the following command for each image (control plane and Linux worker).

    --source-file=gs://<GCS_BUCKET>/<IMAGE_NAME>.tar.gz \
      --image-name=<IMAGE_NAME> \
      --location=<REGION> \
      --target-project=projects/<PROJECT_ID>/locations/global/targetProjects/<PROJECT_ID> \
      --project=<PROJECT_ID>

    This command creates a new Google Cloud Platform VM image from the provided archive in the specified region.

  6. List image import operations and confirm completion:

    gcloud migration vms image-imports list --location=<REGION> --project=<PROJECT_ID>
OVA
Step

Download the control plane .ova image file and the Linux worker .ova image file from the NetApp Support site.

What's next?

After learning about deploying a control plane VM and Linux worker VM, you can create the control plane and worker VMs.