Checking a batch migration plan
The
batch-migrate check-plan command checks the specified batch migration plan for the following:
About this task
- Device migrations:
- Target device has no volumes on it
- Source device has volumes on it
If the migration plan contains errors, a description of the errors is displayed, and the plan check fails. For example:
VPlexcli:/> batch-migrate check-plan --file MigDev-test.txt
Checking migration plan file /var/log/VPlex/cli/MigDev-test.txt.
Target device '/clusters/cluster-2/devices/dev1723_61C' has a volume.
Target device '/clusters/cluster-2/devices/dev1723_618' has a volume.
Plan-check failed, 2 problems.
Use the steps described in
Modifying a batch migration file to correct the plan.
Repeat the process of check and modify until the batch migration plan passes the plan check. For example:
VPlexcli:/> batch-migrate check-plan --file migrate.txt
Checking migration plan file /temp/migration_plans/migrate.txt.
Plan-check passed.