VPLEX - VPLEX Customer Procedures-Manage
VPLEX - VPLEX Customer Procedures-Manage
VPLEX - VPLEX Customer Procedures-Manage
Topic
VPLEX Customer Procedures
Selections
Procedures: Manage
Management Procedures: Migrate data from old array to new array
REPORT PROBLEMS
If you find any errors in this procedure or have comments regarding this application, send email to
[email protected]
Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell
EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be
trademarks of their respective owners.
The information in this publication is provided “as is.” Dell Inc. makes no representations or warranties of
any kind with respect to the information in this publication, and specifically disclaims implied warranties of
merchantability or fitness for a particular purpose.
Use, copying, and distribution of any software described in this publication requires an applicable
software license.
This document may contain certain words that are not consistent with Dell's current language guidelines.
Dell plans to update the document over subsequent future releases to revise these words accordingly.
This document may contain language from third party content that is not under Dell's control and is not
consistent with Dell's current guidelines for Dell's own content. When such third party content is updated
by the relevant third parties, this document will be revised accordingly.
version: 2.9.0.100
Page 1 of 16
Contents
Preliminary Activity Tasks .......................................................................................................3
Read, understand, and perform these tasks.................................................................................................3
Overview .......................................................................................................................................................4
Prerequisites .................................................................................................................................................4
Procedure .....................................................................................................................................................4
Task 1: Establish a VPlexcli session to the VPLEX management server .....................................4
Task 2: Ensure that the current metadata backup exists and is healthy.......................................5
Task 3: Check if metadata backups are on volumes that are provisioned from the old array.......5
Task 4: Schedule metadata backups if necessary........................................................................6
Task 5: Move metadata from old array to new array.....................................................................6
Task 6: Move logging volume to new array...................................................................................7
Task 7: Migrate host data from old array to new array................................................................11
Task 8: Check health status of storage volumes and virtual volumes ........................................15
Task 9: Destroy old array configuration and remove the old array from VPLEX.........................16
version: 2.9.0.100
Page 2 of 16
Preliminary Activity Tasks
This section may contain tasks that you must complete before performing this procedure.
Table 1 List of cautions, warnings, notes, and/or KB solutions related to this activity
2. This is a link to the top trending service topics. These topics may or not be related to this activity.
This is merely a proactive attempt to make you aware of any KB articles that may be associated with
this product.
Note: There may not be any top trending service topics for this product at any given time.
version: 2.9.0.100
Page 3 of 16
xxxupgrade_l2m_vs2_1
Overview
This document describes the steps that are required to move all data from one storage array to another
storage array, which allows the user to remove the original array from VPLEX. With this procedure, you
can move VPLEX related data like metavolume, logging volume, and host related data (storage volumes).
This procedure applies for both local and Metro configurations. After migration of data from the old array
to the new array, you can destroy the configuration on the old array.
Note: In this procedure, the original array is referred as the "old" array and the array to which the data is
moved, is referred as the "new" array.
Prerequisites
Ensure that:
• The system is in a healthy state.
• No rebuilds are in progress from the old array.
• System volumes are in a healthy state (metavolume and logging volume for Metro configuration).
• The storage volumes and virtual volumes are in a healthy state.
• There are no dead and degraded storage volumes.
• The new array is connected to VPLEX, following best practices.
• You have recorded the total number of storage volumes and their sizes that are provisioned from the
old array that you want to remove from VPLEX.
• You have created the exact number and size of storage volumes on the new array that will replace
the old array.
• You have exposed the storage volumes from the new array to VPLEX and they are all visible and
healthy in VPLEX.
• You have obtained an appropriate license for your configuration (for GeoSynchrony version 6.1 and
later) and install it after migrating the data. Refer VPLEX Administration Guide for more details.
Note: Complete mandatory checks like ndu pre-check, cluster status, and health-check on the cluster to
which the old array, that you want to remove, is connected. Resolve any issues (Refer to VPLEX
procedures > Troubleshooting procedures in Solve Desktop) before starting the procedure.
Procedure
Task 1: Establish a VPlexcli session to the VPLEX management server
1. [ ] On your laptop, launch PuTTY or a similar SSH utility, and establish an SSH session to the
management server in the cluster to which the old array, that you want to remove, is connected.
2. [ ] Log in with service credentials.
version: 2.9.0.100
Page 4 of 16
Notes:
• The management server runs on Linux. Therefore, all commands that you type on the
management server are case-sensitive, and you must type them exactly as shown in this
document.
• The values (especially version numbers) in any command output examples in this document might
not match with what you see on a customer system.
Note: For the list of commands, refer to the VPLEX CLI Guide. The VPLEX CLI guides are
available at VPLEX CLI Reference Guides.
3. [ ] From the management server prompt, run the following command to connect to VPlexcli:
service@ManagementServer:~> vplexcli
Task 2: Ensure that the current metadata backup exists and is healthy
Note: If you have not scheduled any metadata backups, skip Task “Check if metadata backups are on
volumes that are provisioned from the old array” and go to Task “Schedule metadata backups if
necessary”
1. [ ] Check if you have scheduled any periodic metadata backups on the existing cluster.
VPlexcli From the VPlexcli prompt, run the following command to check the metadata
backups:
VPlexcli:/> ll clusters/cluster-1/system-volumes/
Output example:
Task 3: Check if metadata backups are on volumes that are provisioned from the old array
Note: If there are no metadata backups, go to Task “Schedule metadata backups if necessary”
1. [ ] Check if backup volumes are provisioned from the old array that you want to remove from
VPLEX.
VPlexcli From the VPlexcli prompt, run the following command to check the metadata backups:
VPlexcli:/> ll clusters/cluster-1/system-volumes/backup name
2. [ ] Check both backups (two backups with different timestamp values), if the volumes are from the
old array, run the following command to destroy the backups:
meta-volume destroy backup name
version: 2.9.0.100
Page 5 of 16
Task 4: Schedule metadata backups if necessary
1. [ ] To schedule the current metadatabackups, run the following command:
configuration metadata-backup
Output example:
2. [ ] To identify the active metavolume leg that you have provisioned from the old array, run the
following command:
show-use-hierarchy meta_volume_name
3. [ ] To detach the mirror from the old array, run the following command:
VPlexcli:/clusters/cluster-1/system-volumes> meta-volume detach-mirror --
storage-volume storage_volume_name --meta-volume meta_volume_name
For example,
VPlexcli:/clusters/cluster-1/system-volumes> meta-volume detach-mirror --
storage-volume c1-80gb-symm-1161_0000 --meta-volume C1_Meta
5. [ ] To attach the new volume from the new array, which must be the same size as the volume from
the old array, run the following command:
VPlexcli:/clusters/cluster-1/system-volumes> meta-volume attach-mirror --
storage-volume storage_volume_name --meta-volume meta_volume
6. [ ] Check the rebuild status, and wait until the rebuilds complete before you go to the next task.
Output example:
version: 2.9.0.100
Page 6 of 16
If the metadata is stored in a single array
1. [ ] Login to VPLEX CLI.
2. [ ] Type this command:
VPlexcli:/> debug engineering-mode on
5. [ ] Use this command to move the in memory of meta data to newly created meta data:
VPlexcli:/> meta-volume move <new_meta_volume_name>
Note: Skip this task if the logging volume you created is not on top of volumes that you provisioned from
the old array.
2. [ ] To verify that the system has two logging volumes, run the following command:
VPlexcli:/clusters/cluster-1/system-volumes> ll
Output example:
version: 2.9.0.100
Page 7 of 16
3. [ ] Verify that distributed devices are using the old logging volume cluster_1_logging_volume_vol.
VPlexcli:/clusters/cluster-1/system-
volumes/cluster_1_logging_volume_vol/segments> ls –al
Output example:
version: 2.9.0.100
Page 8 of 16
4. [ ] Ensure that the new logging volumes are not from the old array.
To find the logical unit ID of the logging volume, run the following command and record the logical
unit ID.
For example,
VPlexcli:/clusters/cluster-1/system-volumes> show-use-hierarchy
loggingvolumename
5. [ ] Ensure that the target volume to which you are moving the logging volume is clean (written with
zeros).
For example,
VPlexcli:/clusters/cluster-1/system-
volumes/cluster_1_second_logging_volume_vol/segments> ls –al
version: 2.9.0.100
Page 9 of 16
------ -------------- ----------- ----
free-0 0 2623200 free
Note: The “free” under the “Use” column means that target volumes are clean and available
for use.
Note: The set-log command can take time to return, depending on the number of distributed
RAIDs in the system. Using the command, you can move multiple DR1s simultaneously, as
displayed in this example:
ds dd set-log –d DR1_array1_* --logging-volume <new logging volume>
2. [ ] Ensure that you have allocated the new logging volume for distributed devices.
VPlexcli:/clusters/cluster-1/system-
volumes/cluster_1_second_logging_volume_vol/segments> ls –al
Output example:
3. [ ] Ensure that the distributed devices are not using the old logging volumes:
VPlexcli:/clusters/cluster-1/system-
volumes/cluster_1_logging_volume_vol/segments> ls –al
version: 2.9.0.100
Page 10 of 16
Output example:
6. [ ]To destroy the extents of the old array logging volume, run the following command:
VPlexcli:/clusters/cluster-1/storage-elements/extents/extent_c1-10gb-symm-
0581_0000> extent destroy --extents extent_c1-10gb-symm-0581_0000
version: 2.9.0.100
Page 11 of 16
Migrate local and remote volumes
Note: If you have a local configuration system, then ignore the remote device and distributed RAID-1
device migration.
Note: Use extent migrations to migrate distributed RAID-1 extents from old array to new array. Use
extent/device migrations to migrate local and remote devices.
To start an extent or device migration, select the local and remote devices that have one leg from the old
array that you want to remove from VPLEX. Run the following steps to migrate the old array leg to the
new array:
1. [ ] Identify all virtual volumes, devices, and extents that have an underlying storage volume from the
array that you want to remove.
2. [ ] Use the show-use hierarchy command to display the components of the source (including
devices and extents) of a storage view, virtual volume, device, until the storage volume level:
3. [ ] Identify the extent or the device that the source storage array (old array) is using.
4. [ ] For extent listing, run the following command:
ll /clusters/cluster-CLUSTER_ID/storage-elements/extents
6. [ ] Identify an unused extent as destination for extent migration, and an unused device for device
migration, that you have created on the new array.
7. [ ] Browse to the correct migration context.
For extent migrations, browse to the extent-migration context:
VPlexcli:/> cd data-migrations/extent-migrations
version: 2.9.0.100
Page 12 of 16
To perform batch migrations (extent/devices), run the following commands:
Note: In the following example, the batch-migrate create-plan command creates a batch migration
to migrate all devices from cluster 1 to cluster 2.
For example:
For example:
For example:
version: 2.9.0.100
Page 13 of 16
Perform the following steps to commit the migration, before you can clean it.
1. [ ] To check the migration status, run the following command.
ls data-migrations/device-migrations/migration-name
For example,
For example,
Commit a device migration:
VPlexcli:/data-migrations/device-migrations> dm migration commit --force
--migrations migrate_012
For example,
Clean a migration
For extent migrations, cleaning destroys the source extent and unclaims the underlying storage volume if
there are no extents on it.
1. [ ] To clean migrations, run the following command:
dm migration clean --force --migrations migration-name
For example,
VPlexcli:/data-migrations/device-migrations> dm migration clean --force
--migrations migrate_012
version: 2.9.0.100
Page 14 of 16
batch-migrate clean –rename-targets –-file filename
For example:
For example,
VPlexcli:/data-migrations/device-migrations> dm migration remove --force
--migrations migrate_012
For example:
Note: For more details of data migrations, refer to VPLEX Administration Guide available at VPLEX
Administration Guides.
2. [ ] Ensure that the entire system is healthy by running ndu pre-check and health-check –full
commands.
version: 2.9.0.100
Page 15 of 16
3. [ ] Ensure that there are no errors and the system is healthy.
Note: To resolve any issues (refer to VPLEX procedures > Troubleshooting procedures in Solve
Desktop).
Task 9: Destroy old array configuration and remove the old array from VPLEX
Note: To remove an old array refer to VPLEX> VPLEX Procedures > Administration procedures >
Manage >Remove disk or array from VPLEX in Solve Desktop.
version: 2.9.0.100
Page 16 of 16