The
batch-migrate create-plan command creates a migration plan using the specified sources and targets.
About this task
In the following example, the
batch-migrate create-plan command creates a batch migration named ‘MigDev-test.txt’ to:
Migrate two devices at cluster-1 to two devices at cluster-2.
Overwrite an existing plan with the same name.
VPlexcli:/> batch-migrate create-plan --file MigDev-test.txt --sources /clusters/cluster-1/devices/base0,/clusters/cluster-1/devices/base1 --targets /clusters/cluster-2/devices/dev1723_618, /clusters/cluster-2/devices/dev1723_61C --force
Extents matching source pattern: base0, base1
Extents matching target pattern: dev1723_61C, dev1723_618
Creating file /var/log/VPlex/cli/MigDev-test.txt as migration plan file.
Wrote file /var/log/VPlex/cli/MigDev-test.txt. Please review and edit this file, and run this command in the check-plan phase afterward.
In the following example, the
batch-migrate create-plan command creates a batch migration to migrate all devices at cluster-1 to cluster-2.