S SO OP P V VL LU UN N M Mi ig gr ra at ti io on n
Author Gayathri Nakka Version 1.0 Date of Creation December 29, 2010 Wipro Email gayathri.n72@wipro.com
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 2 of 20
Change History:
Revision Date Author Comments 1.0 December 29,2010 Gayathri Nakka This technical note provides an in-depth look at the Virtual LUN technology feature for Symmetrix VMAX enterprise storage arrays and explains the VLUN migration with examples using SYMCLI. 1.1 1.2 1.3 1.4
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 3 of 20
1. Introduction
Virtual LUN technology, enhanced with Enginuity 5874 for the Symmetrix VMAX Series, enables transparent, nondisruptive data mobility among storage tiers within the same array and between RAID protection schemes without impacting local or remote replication.
In each case, the migration provides users the ability to move data between high - performance drives and high-capacity drives, or to populate newly added drives, with full inter-RAID flexibility.
Symmetrix Virtual LUN technology is an important tool to ad dress this requirement by providing the essential ability to migrate data throughout the array easily and without downtime, thereby effectively merging storage consolidation with tiered storage.
Virtual LUN Technology: Virtual LUN can be used to populate newly added drives or move devices between high performance and high capacity drives, thereby delivering tiered storage capabilities within a single Symmetrix array. Migrations are performed while providing constant data availability and protection.
Virtual LUN can be used to migrate standard Symmetrix devices and metadevices of any emulation FBA, CKD, and iSeries.
Migrations can be performed between all drive types including high -performance enterprise Flash drives, Fibre Channel drives, and large capa city SATA drives.
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 4 of 20
Virtual LUN migrations can be managed via the Symmetrix Management Console (SMC) graphical interface, or the Solutions Enabler Command Line Interface (SYMCLI). To perform a Virtual LUN migration, the following are required: Symmetrix VMAX Enginuity 5874 Solutions Enabler 7.0 Symmetrix Management Console 7.0 (optional) Symmetrix Optimization license key
Solutions Enabler 7.0 introduces a new SYMCLI command, symmigrate, which can be used to perform and monitor Virtual LUN migrations.
Source criteria The source devices for the Virtual LUN migration can be specified in one of four ways: A device group A source group A source file (SYMCLI) 1. A single column of the devices to be migrated, or 2. Two columns of devices pairing the source and tar get device(s)
Manual selection (SMC) 1. Manual selection of source devices, or 2. Manual selection of exact source and target device pairs
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 5 of 20
1.Migration to Unconfigured Space : When migrating to unconfigured space the target storage is specified by the physic al disk group, along with the desired RAID protection type. In the case of the migration to unconfigured space, a target RAID group is created from the free pool in the array and migrated to. When complete, the original RAID group is deleted and the storage returned to the free pool.
Unconfigured space To list all physical drives, and the free space on each drive, grouped by physical disk group, in the array, run: root@pbtsmdby:/home/nex6dwc> symdisk -sid 1234 list -by_diskgroup
Symmetrix ID : 000192601234 Disks Selected : 540
Disk Group : 0 Disk Group Name : DISK_GROUP_000 Technology : N/A Speed (RPM) : N/A
Capacity(MB) Ident Symb Int TID Vendor Type Hypr Total Free Actual ------ ---- --- --- ---------- ---------- ---- ---------- ---------- ---------- DF-9A 09A C 8 SEAGATE HUC3015 0 0 0 279140 DF-11A 11A C 8 SEAGATE HUC3015 0 0 0 279140 DF-5B 05B C 7 SEAGATE HUC3015 0 0 0 279140
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 6 of 20
Disk Group : 1 Disk Group Name : DISK_GROUP_001 Technology : EFD Speed (RPM) : 0
Capacity(MB) Ident Symb Int TID Vendor Type Hypr Total Free Actual ------ ---- --- --- ---------- ---------- ---- ---------- ---------- ---------- DF-7A 07A C 10 STEC STC0400 128 381470 1480 381470 DF-9A 09A C 10 STEC STC0400 128 381470 1480 381470 DF-8C 08C D 10 STEC STC0400 128 381470 148 0 381470
Disk Group : 2 Disk Group Name : DISK_GROUP_002 Technology : FC Speed (RPM) : 15000
Capacity(MB) Ident Symb Int TID Vendor Type Hypr Total Free Actual ------ ---- --- --- ---------- ---------- ---- ---------- ---------- ---------- DF-5A 05A C 8 SEAGATE HUC3015 16 279140 29 279140 DF-5A 05A C A SEAGATE HUC3015 16 279140 29 279140 DF-5A 05A C C SEAGATE HUC3015 16 279140 29 279140 DF-5A 05A D 9 SEAGATE HUC3015 16 279140 29 279140 DF-5A 05A D B SEAGATE HUC3015 16 2791 40 29 279140 DF-6A 06A C 9 SEAGATE HUC3015 16 279140 29 279140 SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 7 of 20 DF-6A 06A C B SEAGATE HUC3015 16 279140 29 279140
To list all physical drives in a particular disk group on the array, r un:
root@pbtsmdby:/home/nex6dwc> symdisk -sid 1234 list -disk_group 1
Symmetrix ID : 00019260 1234 Disks Selected : 4 Disk Group : 1 Disk Group Name : DISK_GROUP_001 Technology : EFD Speed (RPM) : 0
Capacity(MB) Ident Symb Int TID Vendor Type Hypr Total Free Actual ------ ---- --- --- ---------- ---------- ---- ---------- ---------- ---------- DF-7A 07A C 10 STEC STC0400 128 381470 1480 381470 DF-9A 09A C 10 STEC STC0400 128 381470 1480 381470 DF-8C 08C D 10 STEC STC0400 128 381470 1480 381470 DF-10C 10C D 10 STEC STC0400 128 381470 1480 381470 ---------- ---------- ---------- Total 1525879 5919 1525879
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 8 of 20
2.Migration to Configured Space:
When migrating to configured space, an existing, but unused, Symmetrix device is specified as a target and the source device migrated to the physical storage occupied by the target device. This target device can either be specified by the user or automatically selected by the Symmetrix. Following the migration, the device specified as the target will occupy the storage originally associated with the device being migrated.
Note: In the case of migrating to configured space, the targ et device specified must be of the same size and configuration as the source device being migrated. If migrating a metadevice, a metadevice of the same size and configuration must be specified, or a number of individual devices equal in size and quantity of the metamembers being migrated.
Solutions Enabler 7.0 introduces a new filtering option, -migr_tgt, to the symdev list command to display all potential target devices of the required RAID protection type, capacity, and in the correct disk group.
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 9 of 20
To display all unallocated devices in a particular disk group, run: root@pbtsmdby:/home/nex6dwc> symdev -sid 1234 list -disk_group 1 -migr_tgt
Symmetrix ID: 000192601234
Device Name Directors Device --------------------------- ------------- ------------------------------------- Cap Sym Physical SA :P DA :IT Config Attribute Sts (MB) --------------------------- ------------- -------------------------------------
0282 Not Visible ???:? 09A:C10 RAID-5 N/Grp'd RW 8766 0283 Not Visible ???:? 07A:C10 RAID-5 N/Grp'd RW 8766 0284 Not Visible ???:? 10C:D10 RAID-5 N/Grp'd RW 8766 0285 Not Visible ???:? 08C:D10 RAID-5 N/Grp'd RW 8766 0286 Not Visible ???:? 09A:C10 RAID-5 N/Grp'd RW 8766 0287 Not Visible ???:? 07A:C10 RAID-5 N/Grp'd RW 8766
To display all unallocated devices of a particular RAID protection type in the same disk group, and that are 8631 MB in size, run: symdev list sid 1234 disk_group1 raid5 protection 7+1 cap 18045 migr_tgt
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 10 of 20 Migrations are submitted and managed as sessions a session name is specified when establishing the migration. Symmetrix supports up to 16 concurrent active and passive sessions. An active session is defined as a migration that has been established but has not yet completed. A passive session is a migration that has completed, but has not yet been terminated. The Symmetrix supports up to four concurrent active Virtual LUN migrations, although only one migration can be submitted at a given time. Once a migration has been established another migration can then be submitted.
Each migration session can have up to a maximum of 128 Symmetrix devices per Symmetrix VMAX Engine. A total of 128 devices per Symmetrix VMAX Engine can be part of active migration sessions on the Symmet rix at any given time.
Migration states There are six possible migration states:
CreateInProg Indicates that the migration has been submitted to the Symmetrix and the initial configuration change creating or moving the destination RAID group is in progress.
SyncInProg The data transfer from source RAID group to target is underway.
Synchronized The data transfer process has completed.
MigrInProg The second configuration change is being performed to promote the target RAID group to primary and repurpose the original storage.
Migrated The data has been migrated and all configuration changes have completed. From this state the migration can be terminated.
Failed The Symmetrix-based script responsible for managing the migration has failed and is no longer executing. In this state, customers should contact EMC support personnel for further assistance.
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 11 of 20
VMAX LUN Migration:
Example using configured space :LUN migration from RAID5 device to 2 -way mirrir device
1A8F - RAID-5 19A3 - 2-Way Mir
LUN Migration from Raid-5 to 2-WAY: 1) Create Device Pair: Creating the device pair file testpair.txt with the Source devices and the Target devices. testpair.txt 1A8F 19A3
2) Validate: There are two uses for the symmigrate validate command. The first use is the ability to perform a positive/negative test to determine whether a migration will succeed. Secondly, the command can be used to generate a device file containing exact pairings of source and target devices that can be used with the symmigrate est ablish command when performing a migration to configured space. The target volumes included in the output file are automatically selected by Enginuity as being the most suitable targets for the source volumes to be migrated to.
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 12 of 20
root@pbtsmdby:/home/nex6dwc> symmigrate -name test -sid 1234 -f testpair.txt validate -v
Execute 'Validate' operation execution for the device list in device file 'testpair.txt' (y/[n]) ?y
'Validate' operation execution is in progress for the device list in device file 'test pair.txt'. Please wait...
'Validate' operation successfully executed for the device list in device file 'testpair.txt'.
Note: The file output is only a listing of what the system chose to do at the time the validate command was run. To guarantee that the exact pairs that were returned are used, run the symmigrate establish command with the file that was output by the validate command.
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 13 of 20 3) Establish the Migration Session:
symmigrate -name test -sid 1234 -f testpair.txt establish -v
root@pbtsmdby:/home/nex6dwc> symmigrate -name test -sid 1234 -f testpair.txt establish -v
Execute 'Establish' operation execution for the device list in device file 'testpair.txt' (y/[n]) ?y
'Establish' operation execution is in pro gress for the device list in device file 'testpair.txt'. Please wait...
'Establish' operation successfully executed for the device list in device file 'testpair.txt'.
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 14 of 20
4) Query the session: symmigrate -name test -sid 1234 query -i 10 -c 100 The symmigrate query command returns information on all the devices being migrated within a specified migration session. The command can be ru n with the detail option to provide more information about the migration, including target disk group and target RAID protection. The command can also be used with the optional i (interval) flag to specify a repeat interval, in seconds, at which to run the query automatically.
Invalid Status Done Src Tgt Tracks SRC => TGT (%) Session Name ---- ---- -------- ------------ ---- ---------------- 1A8F 19A3 0 Migrated 100 test
Total -------- Tracks 0 MB(s) 0.0 SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 17 of 20 Done(%) 100 output:
root@pbtsmdby:/home/nex6dwc> symdev -sid 1234 show 1A8F
Device Physical Name : Not Visible
Device Symmetrix Name : 1A8F Device Serial ID : N/A Symmetrix ID : 00019260 1234
Number of RAID Groups : 1
Attached BCV Device : N/A
Attached VDEV TGT Device : N/A
Vendor ID : EMC Product ID : SYMMETRIX Product Revision : 5874 Device WWN : 6000097000019260 1234533031413846 Device Emulation Type : FBA Device Defined Label Type: N/A Device Defined Label : N/A Device Sub System Id : 0x0019 Cache Partition Name : DEFAULT_PARTITION
Device Block Size : 512 SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 18 of 20
5) Terminate: symmigrate -name test -sid 1234 terminate The symmigrate terminate command is used to acknowledge the successful completion of the migration, and to clear the session information from the Symmetrix. The terminate action can only be performed when all devices in the session are in a Migrated state.
root@pbtsmdby:/home/nex6dwc> symmigrate -name test -sid 1234 terminate Execute 'Terminate' operation execution for the session named 'test' (y/[n]) ? y 'Terminate' operation execution is in progress for the session named 'test'. Please wait...
'Terminate' operation successfully executed for the session named 'test'. SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 19 of 20
Limitations
The following considerations apply to Virtual LUN migrations: Once submitted, a LUN migration cannot be canceled or aborted; however the migration can be effectively paused (see the following Performance section). Migration of Virtual Provisioning devices (Data or Thin devices) is not supported. Migration of TimeFinder/Snap devices (VDEV or SAVE devices) is not supported. Migration of SAVE devices for SRDF/A Delta Set Extension is not supported. Migration of internal devices such as SFS or Vault devices is not supported. The control host for the migration must be locally connected to the Symmetrix on which the migration is being performed. When migrating to configured space there must be sufficient unmapped/unmasked devices of the desired RAID protection type to complete the migration. When migrating to unconfigured space there must be sufficient unallocated space available to create the hypers of the desired RAID protection type. CKD striped metadevices can only migrate to other CKD striped metadevices, and that target protection type is restricted to RAID 1.
SOP Virtual LUN Migration December 29, 2010 Wipro Confidential Page 20 of 20
Reference: Go to powerlink.emc.com 1.Best Practices for Nondisruptive Tiering via EMC Symme trix Virtual LUN. 2. EMC Symmetrix Optimizer and Fully Automated Storage Tiering for Symmetrix DMX Series Arrays. 3. EMC Solutions Enabler Symmetrix CLI Version 7.1.1 Quick Reference .