CLI Guide

Table Of Contents
[-f|--sources] local-
devices
* List of local-devices to migrate virtual volumes from. May contain wildcards.
[-t|--targets] local-
devices
* List of local-devices to migrate the source virtual volumes to. May contain wildcards.
--file pathname * Directory and filename of migration plan file. Relative paths can be used. If no directory is
specified, the default directory is /var/log/VPlex/cli on the management server.
Optional arguments
--force
Forces an existing plan file with the same name to be overwritten.
* - argument is positional.
Description
The following rules apply to the batch-migrate create-plan command:
The source and target extents must be typed as a comma-separated list, where each element is allowed to contain
wildcards.
If this is an extent migration, the source and target cluster must be the same.
If this is a device migration, the source and target clusters can be different.
The source and target can be either local-devices or extents. Mixed migrations from local-device to extent and vice versa
are not allowed.
The command attempts to create a valid migration plan from the source devices/extents to the target devices/extents.
If there are source devices/extents that cannot be included in the plan, the command prints a warning to the console, but
still creates the plan.
Review the plan and make any necessary changes before starting the batch migration.
Examples
Example: perform a batch migration
1. Create a migration plan.
Use the batch-migrate create-plan command to create a plan to migrate the volumes on all the devices at cluster-1
to the storage at cluster-2:
VPlexcli:/> batch-migrate create-plan migrate.txt --sources /clusters/cluster-1/
devices/* --targets /clusters/cluster-2/devices/*
2. Use the batch-migrate check-plan command to check the plan:
VPlexcli:/> batch-migrate check-plan migrate.txt
If problems are found, correct the errors and re-run the command until the plan-check passes.
3. Use the batch-migrate start command to start the migration:
VPlexcli:/> batch-migrate start migrate.txt
4. Wait for the migration to finish:
Use the batch-migrate summary command to monitor the status of the migration:
VPlexcli:/> batch-migrate summary migrate.txt
Processed 10 migrations from batch migration BR0:
committed: 0
complete: 10
in-progress: 0
paused: 0
error: 0
44
Commands