Solved

iSCSI to VMWare disk conversion

Posted on 2011-09-06
9
2,902 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

623 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