CLI Guide

Table Of Contents
batch-migrate remove
batch-migrate create-plan
Creates a batch migration plan file.
Contexts
All contexts.
Syntax
batch-migrate create-plan
[-f|--sources] local-devices
[-t|--targets] local-devices
[--file] pathname
[--force]
Arguments
Required arguments
[-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.
44
Commands