tdubb123

updated

15 years ago

T

tdubb123

2 Intern

•

470 Posts

0

10611

April 18th, 2012 14:00

migrating rdm lun to different lun

how do I migrate a rdm lun on a vm from a cx380 to a cx340?

  • Storagesavvy

    474 Posts

    9141

    0

    Posted April 18th, 2012 20:00

    As others have mentioned, Storage vMotion can move VMDKs between datastores on the same or different array, however this does not work with Physical Mode RDMs (which is most likely the type of RDM used).  You will need to either create a new RDM on the second array and migrate the data within the VM to the new disk, or migrate the LUN itself to the new array, and then remap it to the host.  In either case you will have some sort of downtime for the VM that is using the RDM.

    If you migrate within the VM, you just attach the new RDM to the VM, partition/format, then use whatever tools are available within the Guest OS/Filesystem to move the data and redirect the application.

    If you have SANCopy, you could push the LUN from the source array to the target array, then take a brief outage of the VM, during which you would perform an updated copy with SANCopy to get any changes, then remove the old RDM from the VM, add the new RDM to the VM and start up the VM.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    5897

    0

    Posted April 18th, 2012 15:00

  • AnkitMehta

    4 Apprentice

    •

    1365 Posts

    5897

    0

    Posted April 18th, 2012 15:00

    I'm not sure if I got the question right here...but let me try and re-phrase: You want to migrate a LUN and you are using RDMs on a VM, am I correct?

    If yes, Navisphere Manager Admin Guide describes all the steps for the same. Refer Page No.:271-272.

    1 Attachment

  • tdubb123

    2 Intern

    •

    470 Posts

    5897

    0

    Posted April 18th, 2012 15:00

    yes I need to do some san maintenance on a cx380 where the current rdm is on. I need to move this rdm to a cx340

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    5897

    0

    Posted April 18th, 2012 15:00

    LUN Migrator between two arrays ? News to me

  • tdubb123

    2 Intern

    •

    470 Posts

    5897

    0

    Posted April 18th, 2012 16:00

    svmotion will convert it to a vmdk. or it will only move the mapping file. the actual rdm still is on the cx380. vmware said I need to move the rdm on the san side. how to move it?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    5915

    0

    Posted April 18th, 2012 16:00

    we are talking about storage vmotion here, RDM in virtual mode can be migrated  using that.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    5914

    0

    Posted April 18th, 2012 16:00

    physical or virtual mode RDM ?

  • AnkitMehta

    4 Apprentice

    •

    1365 Posts

    5914

    0

    Posted April 18th, 2012 16:00

    vMotion does not support migration between 2 arrays. vMotion just moves VM to another ESX Host and doesn't migrate RDM LUN to the new array.

    I reckon RDM is or should be visible on the target ESX Host as well.So this could be the procedure:

    - Migrate the source LUN to the target array.

    - Remove the RDM off the VM and re-create the RDM with new LUNs on target ESX Host.

    You may refer to ESXi Configuration Guide for reference.

  • AnkitMehta

    4 Apprentice

    •

    1365 Posts

    4021

    0

    Posted April 18th, 2012 17:00

    Refer: Storage vMotion  & vSphere Virtual Machine Administration Guide Page: 41, Procedure Step: 4

    This is as far as my understanding and search goes for VMWare.

    JFYI: You may find other useful documents here