Solved

iSCSI to VMWare disk conversion

Posted on 2011-09-06
9
2,884 Views
Last Modified: 2012-05-12
I use to have a physical server with a few drives that were iSCSI.  Server had problems so i cloned the physical server to a VM (VMWare ESXi 4.1), i did not clone the iSCSI drives to VMDK drives, i just reatached the iSCSI drives to the newly created VM.

I am now decomissioning the EMX AX4-5i SAN that is hosting the iSCSI drives(moving to a EMC VNXe), i need to recreate those drives on the VM server as VMDKs.  I am allowed up to 3 hours of system downtime.  What is contained on these drives are a total of around 2 TB of 1-5 KB files(spread over multiple iSCSI drives, i will not hit the 2TB VMware limit), imposible to do a full file copy this in the time frame i have.  At the end of the system down time, i do not need all the data copied, but i do need to have at least folder/directory structure and all the permissions on those folders and directorys copied over.

tools, that i have, that may be of use:  Beyond Compare, VMWare/VCenter/VMWare Conversion tool

looking for a game plan on how to get the the directory structure and permissions copied over to my new VMDK drives; with in the 3 hours, then plan on how to eventaly get the rest of the data put into the folders (i have as much time as it takes for this second part)

thanks,
Steven
0
Comment
Question by:sdmarek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +3
9 Comments
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 167 total points
ID: 36491513
I would recommend and use Robocopy, Robocopy can copy the directory structure, and you can use the mirroring features to populate the data.

http://technet.microsoft.com/en-us/library/cc733145%28WS.10%29.aspx
(robocopy is a free download).

So I would create the new Virtual Disk on the Server, and start a Robocopy job from Source to Destination server.

You could test a VMware Converter Conversion, because this can be done HOT, and then later use Robocopy just to update the copy.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 36491571
I would redo the VM with VMWAre Converter. This way it will get everything and allow you to thin provision as well.  Since VMWare Converter will the iSCSI drives as regular volumes it will not have any problems getting them over.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 36491578
On another note if the iSCSI volumes are over 2TB you may want to upgrade to vSphere 5, no more 2TB limitation

@hanccoka: I'm going for VCP5 this week..fun stuff.
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 121
ID: 36491662
@paulsolov: Good Luck! (you'll not need it though!)
0
 
LVL 14

Expert Comment

by:RickEpnet
ID: 36491896
Have you tied this. I was very impressed with the speed.

http://www.veeam.com/vmware-esxi-fastscp.html?ad=menu
0
 
LVL 23

Assisted Solution

by:Luciano Patrão
Luciano Patrão earned 167 total points
ID: 36492584
Hi

With this time of system downtime, the best is to copy/clone(using SAN Copy from EMC) between Storage LUNs.

Check here some good discussion about SAN Copy.
http://dbaspot.com/arch/255032-emc-sancopy-clone-snapshot-question.html

You can do a copy between the Storages. Then reattach the new LUNs into the VM and all the permissions will have the same from previous Storage.

Plan:

1º De-attach the from the VMware/VM
2º SAN Copy to a new LUN/Storage
3º vConverter the physical server(without the SAN disks, only local)
4º Power UP the new VM
5º Check VM
6º Power off VM
7º Reattach the New LUNs into the VMware/VM
8º Add RAW disks into the VM
9º Power on VM and check Data

Here I have a article how to convert a Windows Server. Inside is a tasks regarding De-attach and reattach the SAN disks.

http://www.experts-exchange.com/Software/VMWare/A_3639-VMware-vConverter-P2V-for-Windows-Servers.html

Since you don't any many hours to do this tasks, this is what I do if I needed to this.
Most of the tasks above you can do while the VM is still running(Storage side)

Hope this can help

Jail
0
 
LVL 7

Assisted Solution

by:lucifer82
lucifer82 earned 166 total points
ID: 36493517
Sounds like it's much easier for you to create the new storage and use the robocopy command to copy the security setting at the same time. This way you have no down time which resolves your 3 hour window.

Now as mentioned above there is an issue with limitation of 2TB. So you can either :

1. Upgrade to VMware 5 (I haven't test it myself yet)
2. Create 2 x 2TB Disks and convert them into Dynamic Disk and put them together. This way you'll have double the storage within the VM.
0
 
LVL 2

Author Comment

by:sdmarek
ID: 36505261
i think i now have enough ideas to try something out quicky in a test enviroment and than schedual the downtime for the swap.

I may not be able to do the production change for up to 10 days.  When i do, i will get back to this post.

thansk,
Steven
0
 
LVL 2

Author Closing Comment

by:sdmarek
ID: 37402417
I am mostly just closing this ticket out, it has been open for a long time.  accepted answers are ones that i was looking at using.

here is what i ended up doing, and worked great:
-upgrated to VMWAre 5.0
-i cloned the host to a VM, and attached the iSCSI to the VM
-i created a VMDK (VMWare disk) for each iSCSI disk
-converted all non-OS disk to dynamic
-for each iSCSI disk, i created a mirroed drive to the coresponding VMDK disk (no downtime), just used windows/diskmgmt.msc
-once replication finished, i removed the iSCSI disks from the RAID mirror
-finished, only down time was the 20 seconds it took me to power off the physical machine, and power on the VM.  I could of have the converter tool automaticly power off the physical as it powers on the VM and had no downtime, but i wanted to make sure the iSCSI drives did not have problems connecting to the "new" server.

thanks,
Steven
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question