Administrator Guide

Table Of Contents
2. バッチ移行計ファイルのテストをbatch-migrate check-plan コマンドを使用)
前提
バッチ移行では、前提たす必要があります。
ソースとターゲットはどちらもデバイスであること。
ローカル デバイスはターゲット アレイ構成することデバイス移行)
ターゲットの構造はソースの構造じであること。
バッチ移行計作成
batch-migrate create-plan コマンドは、指定されたソースとターゲットを使用して移行計作成します。
このタスクについて
では、batch-migrate create-plan コマンドは、MigDev-test.txt」という名前のバッチ移行のように作成します。
クラスター 1 にある 2 のデバイスを、クラスター 2 にある 2 のデバイスに移行します。
名前上書きします。
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.
では、batch-migrate create-plan コマンドは、クラスター 1 のすべてのデバイスをクラスター 2 移行するバッチ
作成します。
VPlexcli:/> batch-migrate create-plan migrate.txt --sources /clusters/cluster-1/devices/* --
targets /clusters/cluster-2/devices/*
バッチ移行計のチェック
batch-migrate check-plan コマンドでは、指定したバッチ移行計について、すチェックをうことができます。
このタスクについて
デバイス移行:
ターゲット デバイスにボリュームがありません
ソース デバイスにボリュームが存在します
移行計にエラーがまれている場合は、エラーの表示され、チェックは失敗します。例:
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.
バッチ移行ファイルの」でされている手順使用して、修正します。
バッチ移行計チェックに合格するまで、チェックと修正のプロセスをします。例:
VPlexcli:/> batch-migrate check-plan --file migrate.txt
Checking migration plan file /temp/migration_plans/migrate.txt.
Plan-check passed.
データ移行 51