CLI Guide

Table Of Contents
batch-migrate commit
batch-migrate create-plan
batch-migrate pause
batch-migrate remove
batch-migrate resume
batch-migrate start
batch-migrate summary
batch-migrate check-plan
Checks a batch migration plan.
Contexts
All contexts.
Syntax
batch-migrate check-plan
[-f|--file] pathname
Arguments
Required arguments
[-f|--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.
Description
Checks the following conditions:
Block-size of source and target extents is equal (4 K bytes)
Capacity of target extent is equal to, or larger than the source extent's capacity
Device migrations:
Target device has no volumes on it
Source device has volumes on it
Extent migrations:
Target extent is claimed and ready for use
Source extent is in use
Check all migration plans before beginning execution.
Examples
In the following example, a migration plan fails the check.
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.
40
Commands