Announcement Banner
UNSOLVED

rsh3ll1

updated

12 years ago

R

rsh3ll1

3 Posts

0

1351

June 20th, 2014 16:00

New Deduplicated LUN creation and Owner Changes

Hello,

We have a VNX5200 in which we are wanting to add two Deduplicated LUNs. In doing so, I have ran across a few items I am unsure on relating to the LUN creation as well as allocation ownership. I am fairly new to EMC products, so I will do my best to explain how we believe this process should be done.

Our goal is to create two Deduplicated LUNS in a storage pool. Currently, this pool has two non-deduped LUNs each owned by different SP's respectively (Allocation, Default, and Current).

Current.PNG.png

As I understand, we will want to ensure Deduplicated LUNs are owned by one SP and Non-Deduplicated LUNs on the opposing SP. Therefore, I would imagine for load balancing we would need to change the SP owners of one of the Non-Depuplicated LUNs to match the other Non-Deduplicated LUN in preparation for the creation 2 Deduped LUNs (ie. Tier 2 LUN to SP B).

SP Change.PNG.png

This is where I get a little bit confused:

  • In changing the SP owner of Tier 2 LUN 1, we can change the current owner and default owner, but the Allocation owner will stay the same. As I understand, this not how we will want it setup because the Allocation Owner is still SP A whereas the default owner and current owner is SP B . Thus, we would need to change the allocation owner as well?
    • To change the allocation owner I believe we would need to migrate the LUN 1 data to a new LUN that we create on SP B, so the Allocation owner is SP B.
  • In doing this, is the best way to migrate the data LUN Migration in Unisphere as opposed to Storage vMotion?
    • If LUN Migration, will the owners change to the new LUN owner information? (ie. Allocation Owner SP B)
      • Are there any manual process needed to be done in VMware to the datastore after the migration or is this seemless?

Our last step in the process would be to create the two Deduplicated LUNS on SP A, to satisfy best practices for Deduplication with the Deduplication Container.

Final.PNG.png

Thanks for any direction you can provide!

  • sk_

    1 Rookie

    •

    104 Posts

    781

    0

    Posted June 21st, 2014 00:00

    Do you have new data going for the DeDupe LUNS? Or if using current data, you could just enable DeDuplication on one of the existing LUNs, that would create the dedup container, then just add LUNs where needed.

    And yes, you can't change allocation owner, need to do migrations for that, for VMware that is invisible.

    sk

  • rsh3ll1

    3 Posts

    781

    0

    Posted June 23rd, 2014 07:00

    It will be new data that will populate the DeDuped LUN. In that case, everything looks correct in the process explained?

  • sk_

    1 Rookie

    •

    104 Posts

    781

    0

    Posted June 23rd, 2014 10:00

    Yes, looks good.

    sk

  • rsh3ll1

    3 Posts

    781

    0

    Posted June 23rd, 2014 14:00

    Additionally, when I create the new destination LUN for migration would I first need to assign the LUN to a storage group? Or is this step not needed as the destination LUN assumes the source LUNs properties?

  • sk_

    1 Rookie

    •

    104 Posts

    781

    0

    Posted June 23rd, 2014 22:00

    That is not needed, it will totally take the place of the original LUN, including name, number and associations.

  • rzero

    58 Posts

    781

    0

    Posted June 24th, 2014 08:00

    Hi,

    I wanted to provide you some information and comment on some things.

    Most importantly - what version of Flare are you on?  If you are on .051, do not enable dedupe with ESX.  Upgrade to .052 first.  There is a bug with .051, dedupe, and ESX that can cause LUNs to go offline.

    Here is a blog post I wrote on dedupe: VNX, Dedupe, and You | raid-zero.com

    And here is the EMC documentation on it - well worth a few reads before you enable it: http://www.emc.com/collateral/white-papers/h12209-vnx-deduplication-compression-wp.pdf

    First you talk about allocation owner and LUN migrations. You never want to change the default owner manually on a storage pool LUN in order to move to another SP.  This will cause performance problems.  The proper procedure is:

    1. Create a new LUN of the same size on the opposite SP.  It does not need to be in a storage group.
    2. LUN migrate original LUN to new LUN (the new LUN will "become" the old LUN at the end of the migration including name and LUN ID)
    3. Look at LUN properties - the allocation owner will be the new SP but the default and current owner will be the old SP.  Change the default owner to the new SP (this is the only time this is acceptable) and then trespass the LUN (which will correct the current owner).
    4. Check LUN properties again and all ownership should match to the new SP

    Just LUN migrating to a new SP is not enough - you need to correct the default owner and trespass afterwards.

    Second I wanted to mention that you can also enable dedupe on an existing LUN and wanted to talk about this because it will probably be relevant to you at some point.  You are correct about the SP ownership, however this is done automatically when a LUN is deduplicated.  The first LUN selected for dedupe will be LUN migrated automatically into the invisible dedupe container on whatever SP it happens to be on.  So in your example, you are choosing the LUN on SP A for dedupe first.  This means that so long as something is deduped in that pool, every deduped LUN will be owned (not should be owned) by SP A.

    If you enable dedupe on a 2nd LUN which is currently owned by SP B, it will also be LUN migrated into the dedupe container on SP A!  Once this process completes, the LUN will be in the state it would have been after step #2 above, so you will need to go in and adjust ownership via step #3 and check it via step #4, just as if you would have done a LUN migration yourself.

    Finally, you could use sVmotion to affect LUN ownership, but in this case you would need to create a usable datastore on the other SP add to storage group, attach in vSphere, sVmotion, detach the original LUN safely, remove it from the storage group, and destroy it.  Much easier to just LUN migrate, and as Sami says it is never noticed by vSphere.

    You may know most or all of this, but wanted to provide you this info since you say you are new to EMC.  Welcome aboard!