EMC VNX – LUN MIGRATION
This post is a result of having to migrate Cisco UCS Blade boot LUNs between Raid Groups. Both the source and destination were Classic LUNs – RAID Group LUN (FLARE […]
Virtualization & Storage
This post is a result of having to migrate Cisco UCS Blade boot LUNs between Raid Groups. Both the source and destination were Classic LUNs – RAID Group LUN (FLARE […]
This post is a result of having to migrate Cisco UCS Blade boot LUNs between Raid Groups. Both the source and destination were Classic LUNs – RAID Group LUN (FLARE LUN/FLU). The migration occurred across two DAE’s, with each DAE populated with one Raid Group. This is the ideal scenario for best migration performance – having the load spread across different RG’s and also spread across backend ports. The Rates have an incremental effect on the Storage Processor utilization. We used the ASAP migration rate which was acceptable as the system was not in production and would not therefore impact performance of other workloads. Also note that two ASAP migrations can be performed simultaneously per Storage Processor.
For migration of a LUN within a VNX array the following rates can be used in the calculation:
Priority Rate (MB/s)
Low 1.4 MB/s
Medium 13 MB/s
High 44 MB/s
ASAP 85 MB/s
Calculation for the Migration of a LUN is as follows:
Time = (Source LUN Capacity * (1/Migration Rate)) + ((Destination LUN Capacity – Source LUN Capacity) * (1/Initialization Rate))
Calculation for the migration of a 20Gig BOOT LUN between Raid Groups at ASAP SPEED (85MB/s):
Source LUN = 20000MB
Destination LUN = 20000MB
Migration Rate is 85MB/s = 306000 MB/Hour
Initialization Rate = 306000 MB/Hour
(20000 * (1hour / 306000)) + ((20000 – 20000) * (1hour / 306000))
= .0653 hrs
= 3.9 Minutes Per BOOT LUN
The following command can be used if CLI is your preferred option:
naviseccli migrate -start -source 15 -dest 16 -rate asap
Where the source LUN ID is 15 and the destination is 16 with priority ASAP
Check Percentage Complete:
naviseccli -h x.x.x.x migrate -list -source 15 -percentcomplete
Check Time Remaining:
naviseccli -h x.x.x.x migrate -list -source 15 -timeremaining
Note: The LUN Migration feature can also be used to migrate to a larger LUN size, thus increasing capacity of the source LUN. The whole process can be completed online and non-disruptively (transparent to VMware ESXi hosts) and does not require any post configuration. Once the migration completes then the original source LUN is deleted off the array and the new LUN takes the source LUN WWN and LUN ID.
Ramblings by Keith Lee
Discussions about all things VxRail.
Random Technology thoughts from an Irish Virtualization Geek (who enjoys saving the world in his spare time).
Musings of a VMware Cloud Geek
Converged and Hyper Converged Infrastructure
'Scamallach' - Gaelic for 'Cloudy' ...
Storing data and be awesome
Best Practices et alia
Every Cloud Has a Tin Lining.
Great post! What is the initialisation rate and is it a constant per VNX/VNX Model? Thanks
V.Good Point Victor. Yes the rates are applicable to all VNX as far as I am aware. The important thing to be aware of is that in smaller systems the higher rates will have more of an impact on utilization. Best to start on a lower rate and monitor via analyzer. Thanks
Good stuff Dave -> covered some of this functionality in a WP a while back. It’s CX generation, but the theory still applies-> http://uk.emc.com/collateral/software/white-papers/h8063-data-migration-vsphere-wp.pdf
Thanks Steve. There is excellent info in this WP. Will definitely be leveraging.
It’s a feature that I have always liked and advocated but not all customers are aware of it. Plus it’s available without extra cost. Very useful functionality!
I wish I has stumbled on to this article last month – I have just migrated 10 TB (in about 150 LUNs) from traditional RAID groups to tiered storage pools – it would have been nice to add these calculations to my migration spreadsheet.
Is it better to migrate to a Lun that has been assigned to the same SP as the source or a different SP Owner
The key is to keep the LUNs balanced across both SPs
This is a great post. I always do the migrations basically for pool re-balancing with in the same VNX. After reading this article, Out of curiosity I have just calculated and verified. It was very precise that a 100 GB LUN migrated in around 40 mins at ‘High’ Priority rate!! Great to learn 🙂
Thanks a lot Dave. I wish more power to you and make us learn the stuff in a simple way.
Hi David,
Nice article. Appreciate the efforts.
In my set up we have many LUNs having dead space (thin provisioned) and we are planning to reclaim the dead space through LUN migration.
I understand that, if we encounter into any performance issues during LUN migration,we can cancel the LUN migration.
Once the LUN migration is cancelled and restarted will we get the free blocks upto the point where it was running?