Deploy the control plane and Linux worker VMs for NetApp Data Migrator
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.
Download the NetApp Data Migrator images from the NetApp support site:
-
Select NetApp Data Migrator.
-
Follow the instructions on the NetApp Data Migrator downloads page to access the NetApp Data Migrator images.
Choose the AWS, Azure, Google Cloud tab, or OVA tab depending on your deploy option.
Repeat the following steps for the control plane and Linux worker Amazon Machine Images (AMIs).
-
Use the AMI IDs provided to locate the AMIs in your AWS account under EC2 > AMIs > Private images.
-
Copy the AMIs into your account:
-
Select the AMI, then select Actions > Copy AMI
-
Choose the target region (if needed).
-
Enable encryption and select your own KMS key.
-
Wait for the AMI status to show Available.
-
Repeat the following steps for the control plane and Linux worker VHDs.
-
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> -
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>
-
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.
-
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.
Learn how to create a Google Cloud Storage bucket.
-
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.
-
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.objectViewerThe 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-sais the Google Cloud service account -
vmmigrationis the VM Migration service identifier -
iam.gserviceaccount.comis the standard domain for Google Cloud service accounts
-
-
Make yourself an admin user on the
vmmigrationservice:gcloud projects add-iam-policy-binding <PROJECT_ID> \ --member=user:<YOUR_EMAIL> \ --role=roles/vmmigration.adminThis gives you VM migration administrative permissions at the project level.
-
-
Obtain and upload the image files:
-
Download the control plane
.tar.gzimage file and the Linux worker.tar.gzimage file from the NetApp Support site. -
Upload the
.tar.gzfiles to your Google Cloud Storage bucket.
-
-
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.
-
List image import operations and confirm completion:
gcloud migration vms image-imports list --location=<REGION> --project=<PROJECT_ID>
Download the control plane .ova image file and the Linux worker .ova image file from the NetApp Support site.
After learning about deploying a control plane VM and Linux worker VM, you can create the control plane and worker VMs.