Upgrade the control plane and workers in NetApp Data Migrator
You can upgrade a control plane, Linux worker, or Windows worker in NetApp Data Migrator.
-
Stop all job runs and make all jobs inactive.
-
Download the upgrade bundle (tar.gz file) from the NetApp Support Site and save it in your local directory.
-
Verify that the workers that are in use are online. Workers that are offline during an upgrade are not upgraded.
Step 1: Upload the upgrade bundle
Upload the upgrade bundle from your local directory.
-
Log in to the NetApp Data Migrator UI, then navigate to the home page.
-
Select the help icon in the top right corner.
-
Select the Upgrade tab.
-
Select Select file, then select the upgrade bundle tar.gz file.
-
Select Upload after selecting the file.
Wait for the message to appear that confirms that the upload and validation are complete.
-
Optionally, start the process again by selecting Start Over to upload a different file.
Step 2: Upgrade the control plane and workers
Upgrade the control plane followed by the Linux worker or Windows worker.
-
Select Upgrade. The system starts upgrading the control plane. This takes approximately five to ten minutes.
During the upgrade, the UI might become temporarily unavailable because the application is restarting with the new version. Log back in to the UI when it becomes accessible again.
-
After the upgrade completes, return to the Upgrade page.
-
Verify that the upgrade status is Success.
-
After a successful control plane upgrade, the worker upgrade starts automatically for all online workers.
The online workers automatically install and restart with the new version. Offline workers are not upgraded. -
If a worker upgrade doesn't start automatically, use SSH to connect to the worker and start the upgrade:
Linux workersudo /opt/datamigrator/staging/<version>/upgrade.sh <version>Windows workerExecutionPolicy Bypass -File C:\datamigrator\staging\<version>\upgrade.ps1 -Version <version>
Step 3: View logs and troubleshoot
View the virtual machine logs to support troubleshooting issues that you encounter during the upgrade.
-
Connect to the control plane VM using SSH and run the following command to view logs:
tail -f /upgrade/upgrade-<version>.log -
Connect to the Linux worker or Windows worker VM using SSH and view the logs by using the following path:
Linux worker/opt/datamigrator/upgrade.logWindows workerC:\datamigrator\upgrade.log -
If the upgrade fails, the system automatically rolls back to the previous version and the UI shows the upgrade status as Failed.
Review the Ansible logs, then contact NetApp support and attach the Ansible logs to your communication.